# Get file content
Use this method to get a content of the file.
# HTTP Request:
GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/file-managers/file?path={your path name}&filename={your file name}
# Curl Request example:
curl --request GET \
--url "https://api.serveravatar.com/organizations/5/servers/15/applications/92/file-managers/file?path=public_html&filename=api.php" \
--header 'content-type: application/json' \
--header 'Authorization: <YOUR API TOKEN>'
# Response:
# Get File Content:
- 200 (Ok)
{
"{ Your File Content }"
}
# Invalid Request
- 500 (Internal Server Error)
{
"message": "Invalid Request!"
}
# Organization Not Found
- 404 (Not Found)
{
"message": "Organization not found!"
}
# Server Not Found
- 404 (Not Found)
{
"message": "Server not found!"
}
# Application Not Found
- 404 (Not Found)
{
"message": "Application not found!"
}
# Server Error
- 500 (Internal Server Error)
{
"message": "Something went really wrong!"
}