Api: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
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..."
 
Server@tygron.com (talk | contribs)
No edit summary
 
Line 66: Line 66:
API Endpoint: api/event/{eventclass}/{eventname : [a-zA-Z0-9_]+}
API Endpoint: api/event/{eventclass}/{eventname : [a-zA-Z0-9_]+}


Content-Type: application/x-www-form-urlencoded
Content-Type: application/json
 
Response Content-Type: application/json, application/octet-stream


'''Parameters:'''
'''Parameters:'''
Line 74: Line 76:
!Type
!Type
!Default value
!Default value
|-
| ClientName
| Header
| String
|
|-
| input
| Query
| [[Format]]
| JSON
|-
|-
| domain
| domain
Line 94: Line 106:
API Endpoint: api/event/{eventclass}/{eventname : [a-zA-Z0-9_]+}
API Endpoint: api/event/{eventclass}/{eventname : [a-zA-Z0-9_]+}


Content-Type: application/json
Content-Type: application/x-www-form-urlencoded
 
Response Content-Type: application/json, application/octet-stream


'''Parameters:'''
'''Parameters:'''
Line 104: Line 114:
!Type
!Type
!Default value
!Default value
|-
| ClientName
| Header
| String
|
|-
| input
| Query
| [[Format]]
| JSON
|-
|-
| domain
| domain

Latest revision as of 14:08, 23 November 2026

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