Admin API

David Ebbo edited this page Apr 20, 2018 · 3 revisions

Since this API is exposed by the runtime, the base URL is: https://<functionappname>.azurewebsites.net/

Host status API

GET /admin/host/status/

Response:

{
  "id": "bad1ecf31b47-2137340777",
  "state": "Running",
  "version": "2.0.1.0",
  "versionDetails": "2.0.1.0-beta1 Commit hash: N/A"
}

Host ping API

POST /admin/host/status/

Response: empty body

Logs API

POST /admin/host/logs/

[
  {
    "Level": 2,
    "FunctionName": "MyFunc",
    "Source": "runtime",
    "Message": "Some Message"
  }
]

Response: empty body

Sync function triggers

POST /admin/host/synctriggers/

Response: empty body

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.