| Parameter | Location | Type | Requirements | Optional | Default value | Description |
|---|---|---|---|---|---|---|
| format | URI-Query | string | enum: [
"KateAPI",
"InternalAPIMap",
"OpenAPI",
"Swagger"
] |
Yes | "KateAPI" | Documentation format. We support KateAPI documentation, Swagger/OpenAPI documentation and raw output of the internal API-map cache. |
| openApiVersion | URI-Query | int | enum: [
2,
3
] |
Yes | 2 | Version 3 is crappy with request bodies, so we prefer version 2 (which only sucks regarding Response definitions; hence we prefer KateAPI documentation). |
| Response | HTTP | Type | Description |
|---|---|---|---|
| Success | 200 | object | The API-documentation. |
| MissingRequiredParameterException | 400 | The request is missing a required input parameter. See details for involved parameter. | |
| InvalidParameterException | 400 | The request has an invalid argument. See details for involved parameter and invalidation. | |
| AuthenticationFailedException | 401 | Authentication failed. Re-authenticate and retry. See error details for details. | |
| UnauthorizedException | 403 | Authorization for requested method rejected. See error details for details. |
| Parameter | Location | Type | Requirements | Optional | Default value | Description |
|---|---|---|---|---|---|---|
| idREDGroup | POST-body | int | No | ID of the REDGroup that got updated |
| Response | HTTP | Type | Description |
|---|---|---|---|
| Success | 200 | int | Returns 1 immediately, regardless of processing success. |
| InvalidRequestSignatureException | 400 | The request has an invalid KATEv2 IntraService Request Signature. | |
| UnauthorizedException | 403 | Authorization for requested method rejected. See error details for details. | |
| MissingRequiredParameterException | 400 | The request is missing a required input parameter. See details for involved parameter. | |
| InvalidParameterException | 400 | The request has an invalid argument. See details for involved parameter and invalidation. | |
| AuthenticationFailedException | 401 | Authentication failed. Re-authenticate and retry. See error details for details. |
| Parameter | Location | Type | Requirements | Optional | Default value | Description |
|---|---|---|---|---|---|---|
| idREDSet | POST-body | string | No | ID of the REDSet that got updated | ||
| idCustomer | POST-body | string | No | ID of the customer owning the REDSet | ||
| idDepartment | POST-body | string | No | ID of the department owning the REDSet | ||
| publisherAuthToken | POST-body | string | No | Authorization token (JWT) of the user session that triggered this event. This event will not be sent back to this user session (unnecessary loop). |
| Response | HTTP | Type | Description |
|---|---|---|---|
| Success | 200 | int | Returns 1 immediately, regardless of processing success. |
| InvalidRequestSignatureException | 400 | The request has an invalid KATEv2 IntraService Request Signature. | |
| UnauthorizedException | 403 | Authorization for requested method rejected. See error details for details. | |
| MissingRequiredParameterException | 400 | The request is missing a required input parameter. See details for involved parameter. | |
| InvalidParameterException | 400 | The request has an invalid argument. See details for involved parameter and invalidation. | |
| AuthenticationFailedException | 401 | Authentication failed. Re-authenticate and retry. See error details for details. |
| Parameter | Location | Type | Requirements | Optional | Default value | Description |
|---|---|---|---|---|---|---|
| idREDSet | POST-body | string | No | ID of the REDSet that got updated | ||
| idCustomer | POST-body | string | No | ID of the customer owning the REDSet | ||
| idDepartment | POST-body | string | No | ID of the department owning the REDSet | ||
| publisherAuthToken | POST-body | string | No | Authorization token (JWT) of the user session that triggered this event. This event will not be sent back to this user session (unnecessary loop). Set to empty if system token; i.e. originating from external event. |
| Response | HTTP | Type | Description |
|---|---|---|---|
| Success | 200 | int | Returns 1 immediately, regardless of processing success. |
| InvalidRequestSignatureException | 400 | The request has an invalid KATEv2 IntraService Request Signature. | |
| UnauthorizedException | 403 | Authorization for requested method rejected. See error details for details. | |
| MissingRequiredParameterException | 400 | The request is missing a required input parameter. See details for involved parameter. | |
| InvalidParameterException | 400 | The request has an invalid argument. See details for involved parameter and invalidation. | |
| AuthenticationFailedException | 401 | Authentication failed. Re-authenticate and retry. See error details for details. |
| Parameter | Location | Type | Requirements | Optional | Default value | Description |
|---|---|---|---|---|---|---|
| idREDSet | POST-body | string | No | ID of the REDSet that got updated | ||
| idCustomer | POST-body | string | No | ID of the customer owning the REDSet | ||
| idDepartment | POST-body | string | No | ID of the department owning the REDSet | ||
| publisherAuthToken | POST-body | string | No | Authorization token (JWT) of the user session that triggered this event. This event will not be sent back to this user session (unnecessary loop). | ||
| data | POST-body | string | format: json |
No | Array of objects. Each object has 4 keys:
Example: [ { "type": "point", "redPath": "my_table.[2].my_int", "value": 3 }, { "type": "comments", "redPath": "my_table.[4]", "scenario": "vacant", "comments": [ ... ] }, { "type": "point", "redPath": "my_table" }, ] |
|
| scenario | POST-body | string | Yes | "" | Scenario of the datapoint that got updated. | |
| value | POST-body | string | format: json |
Yes | "-" | Optional. JSON-stringified new value of the datapoint. |
| Response | HTTP | Type | Description |
|---|---|---|---|
| Success | 200 | int | Returns 1 immediately, regardless of processing success. |
| InvalidRequestSignatureException | 400 | The request has an invalid KATEv2 IntraService Request Signature. | |
| UnauthorizedException | 403 | Authorization for requested method rejected. See error details for details. | |
| MissingRequiredParameterException | 400 | The request is missing a required input parameter. See details for involved parameter. | |
| InvalidParameterException | 400 | The request has an invalid argument. See details for involved parameter and invalidation. | |
| AuthenticationFailedException | 401 | Authentication failed. Re-authenticate and retry. See error details for details. |
| Parameter | Location | Type | Requirements | Optional | Default value | Description |
|---|---|---|---|---|---|---|
| namespace | POST-body | string | format: [A-Za-z0-9.]{2,} |
No | Namespace that got updated |
| Response | HTTP | Type | Description |
|---|---|---|---|
| Success | 200 | int | Returns 1 immediately, regardless of processing success. |
| InvalidRequestSignatureException | 400 | The request has an invalid KATEv2 IntraService Request Signature. | |
| UnauthorizedException | 403 | Authorization for requested method rejected. See error details for details. | |
| MissingRequiredParameterException | 400 | The request is missing a required input parameter. See details for involved parameter. | |
| InvalidParameterException | 400 | The request has an invalid argument. See details for involved parameter and invalidation. | |
| AuthenticationFailedException | 401 | Authentication failed. Re-authenticate and retry. See error details for details. |
| Parameter | Location | Type | Requirements | Optional | Default value | Description |
|---|---|---|---|---|---|---|
| idREDSets | URI-Query | string[] | Yes | [] | Array of REDSet IDs to listen to for dataset updates | |
| idREDGroups | URI-Query | int[] | Yes | [] | Array of REDGroup IDs to listen to for definition updates | |
| rfcLanguageTags | URI-Query | string[] | Yes | [] | Array of language-tags to listen to for translation namespace updates |
| Response | HTTP | Type | Description |
|---|---|---|---|
| Success | 200 | text/event-stream | Returns an event stream for at most 2700 seconds. Types of returned events:
Examples: type: reconnect data: type: translationsUpdated data: ui.red type: redGroupUpdated data: 21 type: redSetUpdated data: 6433e61dc57ebc57a20640a3 type: redPoint data: { "idREDSet": "6433e61dc57ebc57a20640a3", "redPath": "my_table.[2].my_number", "value": 0.35 } type: redPoint data: { "idREDSet": "6433e61dc57ebc57a20640a3", "redPath": "my_table.[2].my_number", "scenario": "my_scenario", "value": 0.35 } type: redPoint data: { "idREDSet": "6433e61dc57ebc57a20640a3", "redPath": "my_table.[6].my_html_text" } type: redComments data: { "idREDSet": "6433e61dc57ebc57a20640a3", "redPath": "my_table.[2].my_number", "scenario": "my_scenario", "value": [ ... entire comment array ... ] } type: redSuggestions data: 6433e61dc57ebc57a20640a3 |
| InvalidRequestSignatureException | 400 | The request has an invalid KATEv2 IntraService Request Signature. | |
| UnauthorizedException | 403 | Authorization for requested method rejected. See error details for details. | |
| MissingRequiredParameterException | 400 | The request is missing a required input parameter. See details for involved parameter. | |
| InvalidParameterException | 400 | The request has an invalid argument. See details for involved parameter and invalidation. | |
| AuthenticationFailedException | 401 | Authentication failed. Re-authenticate and retry. See error details for details. |