curl --request POST \
--url https://developer.synq.io/api/incidents/v1/{incident_id}/split \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"actor": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
},
"at": "1s",
"splitIssueIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"splitIncidentName": "<string>"
}'
{
"incident": {
"id": "<string>",
"index": 123,
"name": "<string>",
"issueIds": [
"<string>"
],
"createdBy": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
},
"createdAt": "1s",
"updatedBy": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
},
"updatedAt": "1s",
"state": "STATE_UNSPECIFIED",
"comments": [
{
"id": "<string>",
"message": "<string>",
"createdAt": "1s",
"actor": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
}
}
]
},
"splitIncident": {
"id": "<string>",
"index": 123,
"name": "<string>",
"issueIds": [
"<string>"
],
"createdBy": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
},
"createdAt": "1s",
"updatedBy": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
},
"updatedAt": "1s",
"state": "STATE_UNSPECIFIED",
"comments": [
{
"id": "<string>",
"message": "<string>",
"createdAt": "1s",
"actor": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
}
}
]
}
}
curl --request POST \
--url https://developer.synq.io/api/incidents/v1/{incident_id}/split \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"actor": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
},
"at": "1s",
"splitIssueIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"splitIncidentName": "<string>"
}'
{
"incident": {
"id": "<string>",
"index": 123,
"name": "<string>",
"issueIds": [
"<string>"
],
"createdBy": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
},
"createdAt": "1s",
"updatedBy": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
},
"updatedAt": "1s",
"state": "STATE_UNSPECIFIED",
"comments": [
{
"id": "<string>",
"message": "<string>",
"createdAt": "1s",
"actor": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
}
}
]
},
"splitIncident": {
"id": "<string>",
"index": 123,
"name": "<string>",
"issueIds": [
"<string>"
],
"createdBy": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
},
"createdAt": "1s",
"updatedBy": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
},
"updatedAt": "1s",
"state": "STATE_UNSPECIFIED",
"comments": [
{
"id": "<string>",
"message": "<string>",
"createdAt": "1s",
"actor": {
"email": {
"userEmail": "jsmith@example.com"
},
"name": "<string>"
}
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the incident to split
Success
The response is of type object
.