This documentation provides an outline of the specifications for the KOR API.
The API receives data through channel -757982 and responds exclusively to requesting object on channel -757981 (unless specified on the request channel field); requests must be within a 15m range and utilizing JSON messages for structured communication.
Request Fields
id- [Required] last 12 characters of the target UUID. (i.e. ########-####-####-####-f60daf6b8876)
handle- A unique identifier for your requests, limited to 15 characters. This handle facilitates request tracking by returning the value response(s).
size- Defines the limit on the amount of data to return in the response. The limit constraints are a minimum of 50 and a maximum of 960.
channel- Specifies the channel on which you wish to receive responses; else defaults to -757981
fetch- JSON array where the elements can be either names of segments or JSON objects.
If using a JSON object, the key would be the value of the segment name and the values as another JSON object representing the parameters. (i.e. {"Segment": {"Param1": "Value1", "Param2": "Value2"}} )
store- Similar to fetch except only an array of JSON objects are accepted. The key would be the value of the segment name and the values as another JSON object representing the parameters. (i.e. {"Segment": {"Param1": "Value1", "Param2": "Value2"}})
event- Similar to store except only a single JSON object is allowed. (i.e. {"Segment": {"Param1": "Value1", "Param2": "Value2"}} )
Response Fields
handle- An optional field which, if specified in a request, will be returned in the corresponding response. If this field is not specified in the request, it will not be present in the response.
(Up to 15 characters)
status- Indicator of the request's processing status. 200 signifies a successful final response, while 206 indicates a partial response spanning multiple messages.
size- Specifies the number of responses expected for the full body.
part- The index of the response provided, starting from 1 and going to size.
data- Contains the data of the response (which may only be part of a response body).