curl --request GET \
--url https://developer.synq.io/api/incidents/v1 \
--header 'Authorization: Bearer <token>'
{
"incidents": [
{
"id": "<string>",
"index": 123,
"name": "<string>",
"issueIds": [
"<string>"
],
"createdBy": {
"name": "<string>",
"slack": {
"userId": "<string>"
},
"email": {
"userEmail": "<string>"
},
"pagerduty": {
"userId": "<string>"
}
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedBy": {
"name": "<string>",
"slack": {
"userId": "<string>"
},
"email": {
"userEmail": "<string>"
},
"pagerduty": {
"userId": "<string>"
}
},
"updatedAt": "2023-11-07T05:31:56Z",
"state": 123,
"comments": [
{
"id": "<string>",
"message": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"actor": {
"name": "<string>",
"slack": {
"userId": "<string>"
},
"email": {
"userEmail": "<string>"
},
"pagerduty": {
"userId": "<string>"
}
}
}
]
}
]
}
curl --request GET \
--url https://developer.synq.io/api/incidents/v1 \
--header 'Authorization: Bearer <token>'
{
"incidents": [
{
"id": "<string>",
"index": 123,
"name": "<string>",
"issueIds": [
"<string>"
],
"createdBy": {
"name": "<string>",
"slack": {
"userId": "<string>"
},
"email": {
"userEmail": "<string>"
},
"pagerduty": {
"userId": "<string>"
}
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedBy": {
"name": "<string>",
"slack": {
"userId": "<string>"
},
"email": {
"userEmail": "<string>"
},
"pagerduty": {
"userId": "<string>"
}
},
"updatedAt": "2023-11-07T05:31:56Z",
"state": 123,
"comments": [
{
"id": "<string>",
"message": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"actor": {
"name": "<string>",
"slack": {
"userId": "<string>"
},
"email": {
"userEmail": "<string>"
},
"pagerduty": {
"userId": "<string>"
}
}
}
]
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Filter by states
OK
The response is of type object
.