# Status

Get a status of the application staging area.

# HTTP Request:

GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/status

# Curl Request example:

curl --request GET \
  --url "https://api.serveravatar.com/organizations/5/servers/15/applications/88/status" \
  --header 'content-type: application/json' \
  --header 'Authorization: <YOUR API TOKEN>'

# Response:

# Site Migration Status

  • 200 (Ok)
{
    "configurationInPercentage": 0,
    "displayText": "Staging area failed",
    "siteMigration": {
        "id": 42,
        "server_id": 15,
        "migration_server_id": 15,
        "application_id": 88,
        "database_id": 48,
        "migration_application_id": 89,
        "migration_database_id": null,
        "site_type": "staging_area",
        "type": "application",
        "size": 0,
        "key": "gpG8WerMOMy0lQpUjcTjCjkduEvBUzCf",
        "status": "staging_area_failed",
        "created_at": "2023-02-28 23:09:33",
        "updated_at": "2023-02-28 23:09:35"
    }
}

# Permission Error

  • 404 (Not Found)
{
    "message": "You can not perform this action!"
}

# Organization Not Found

  • 404 (Not Found)
{
    "message": "Organization not found!"
}

# Application Not Found

  • 404 (Not Found)
{
    "message": "Application not found!"
}

# Server Not Found

  • 404 (Not Found)
{
    "message": "Server not found!"
}

# Server Error

  • 500 (Internal Server Error)
{
    "message": "Something went really wrong!"
}
Last Updated: 3/1/2023, 1:57:58 PM