Event type catalog
curl --request GET \
--url https://api.turos.app/v1/event_types \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/event_types"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.turos.app/v1/event_types', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "event_type_catalog",
"data": [
{
"type": "<string>",
"status": "public_emitting",
"schemaVersion": "<string>",
"billingFamily": "<string>",
"description": "<string>",
"producer": "<string>",
"filterable": true,
"replaySupport": "<string>",
"retention": "<string>",
"transports": [
"<string>"
],
"samplePayload": {}
}
],
"requestId": "<string>"
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Event types
Event type catalog
List Delivery event types, producer status, replay support, retention, and billing family metadata.
GET
/
v1
/
event_types
Event type catalog
curl --request GET \
--url https://api.turos.app/v1/event_types \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/event_types"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.turos.app/v1/event_types', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "event_type_catalog",
"data": [
{
"type": "<string>",
"status": "public_emitting",
"schemaVersion": "<string>",
"billingFamily": "<string>",
"description": "<string>",
"producer": "<string>",
"filterable": true,
"replaySupport": "<string>",
"retention": "<string>",
"transports": [
"<string>"
],
"samplePayload": {}
}
],
"requestId": "<string>"
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}