Skip to content

Admin API

Varad Meru edited this page Sep 11, 2020 · 6 revisions

Since this API is exposed by the runtime, the base URL is: https://<functionappname>.azurewebsites.net/. Hitting the URLs require the functions' master key to be passed in the header as x-functions-key.

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

Learn

Azure Functions Basics

Advanced Concepts

Dotnet Functions

Java Functions

Node.js Functions

Python Functions

Host API's

Bindings

V2 Runtime

Contribute

Functions host

Language workers

Get Help

Other

Clone this wiki locally