getFile

POST {{app_url}}/getFile

Display content of a configuration file.

Request Body

{"token"=>"{{config-read-token}}", "path"=>"/scalyr/alerts"}

RESPONSES

status: OK

{"path":"/scalyr/alerts","modDate":1634745303928,"stalenessSlop":5000,"version":6981642464,"content":"{\n  // Address to which alert e-mails are sent.\n  alertAddress: \"\",\n  alerts: [\n  ]\n}","status":"success","createDate":1632870285667}