Api

From Tygron Support wiki
Jump to navigation Jump to search

API Base URL: api/

GET api

API Endpoint: api/

Parameters: None

GET status

API Endpoint: api/status

Parameters:

Name Location Type Default value
refresh Query boolean true

GET html

API Endpoint: api/status.html

Parameters:

Name Location Type Default value
refresh Query boolean true

GET {eventname : [a-zA-Z0-9_]+}

API Endpoint: api/event/{eventclass}/{eventname : [a-zA-Z0-9_]+}

Parameters:

Name Location Type Default value
example Query Format HTML
eventclass Path String
eventname Path String

POST {eventname : [a-zA-Z0-9_]+}

API Endpoint: api/event/{eventclass}/{eventname : [a-zA-Z0-9_]+}

Content-Type: application/json

Response Content-Type: application/json, application/octet-stream

Parameters:

Name Location Type Default value
ClientName Header String
input Query Format JSON
domain Query String
eventclass Path String
eventname Path String

POST {eventname : [a-zA-Z0-9_]+}

API Endpoint: api/event/{eventclass}/{eventname : [a-zA-Z0-9_]+}

Content-Type: application/x-www-form-urlencoded

Parameters:

Name Location Type Default value
domain Query String
eventclass Path String
eventname Path String

See also