Api

From Tygron Support wiki
Revision as of 13:33, 23 November 2026 by Server@tygron.com (talk | contribs) (Created page with "API Base URL: api/ ===GET api=== API Endpoint: api/ '''Parameters:''' None ===GET status=== API Endpoint: api/status '''Parameters:''' {|class=wikitable !Name !Location !Type !Default value |- | refresh | Query | boolean | true |} ===GET html=== API Endpoint: api/status.html '''Parameters:''' {|class=wikitable !Name !Location !Type !Default value |- | refresh | Query | boolean | true |} ===GET {eventname : [a-zA-Z0-9_]+}=== API Endpoint: api/event/{eventclass}/{eve...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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/x-www-form-urlencoded

Parameters:

Name Location Type Default value
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/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

See also