I'm trying to use the REST API (and GraphQL API) to create build/deploy events for our components. Right now I'm just manually sending the requests in, but they aren't showing up in the timeline. I've added the event source, attached it, and send the create event request with a successful response, but it's not showing up. Is there any way to see a log of what's going on in Compass so I can try to diagnose this?
Here is my request:
{
"cloudId": "{{COMPASS_CLOUD_ID}}",
"event": {
"deployment": {
"displayName": "deploying",
"lastUpdated": "2024-03-11T14:50:00Z",
"updateSequenceNumber": 11,
"description": "description",
"url": "https://jenkins.com",
"externalEventSourceId": "octopus",
"deploymentProperties": {
"sequenceNumber": 11,
"state": "PENDING",
"pipeline": {
"pipelineId": "1",
"url": "https://octopus.com",
"displayName": "deployment1"
},
"environment": {
"category": "DEVELOPMENT",
"displayName": "deploy1",
"environmentId": 1
}
}
}
}
}One thing that isn't clear is what all the sequence numbers are for and how we use them.