API Reference
Trigger the log/metric analysis
POST
/autopilot/api/v3/registerCanary
This API used to triggers the log analysis/metric analysis to fetch the logs/metrics according to the parameters configured in the applications.
Request Body
application*
String
Trigger the approval gate
POST
/approvalGates/{approvalGateId}/trigger
This API used to trigger approval gate by Gate ID. It takes input as configured connector details. For example, if a user configured JIRA connector while creating the approval gate, this API will pass the JIRA id(ticket number) when it is triggered.
Path Parameters
approvalGateId*
Number
Approval Identifier for the entity
Request Body
toolConnectorParameters*
String
rejectionCallbackURL*
String
imageIds*
String
executionId*
String
approvalCallbackURL*
String
connectorType*
String
Get the status of triggered approval gate
GET
/approvalGateInstances/{approvalGateInstanceId}/status
This API used to get status and comment about triggered approval gate. The status for approval gate are “not activated”, “activated”, ”approved” and “rejected”.
Path Parameters
approvalGateInstanceId*
Number
Approval Identifier for the entity
Capturing Spinnaker-generated events
POST
/oes/echo (oes-spinnaker)
This API used to capture all the echo events generated by Spinnaker. (For Example: To synchronize the application and pipelines when an application/pipeline is created)
Request Body
eventId*
String
name*
String
Spinnaker triggers during a pipeline event
POST
/auditservice/v1/echo/events/data
This API is called when a spinnaker triggers during a pipeline event. Data is saved in the audit database.
Request Body
content*
String
details*
String
To validate OPA compliance while creating pipeline
POST
/v1/staticPolicy/eval (oes-policy)
This API is used by Spinnaker when creating a pipeline to validate against OPA compliance
Request Body
input*
String
To validate OPA compliance while executing pipeline
POST
/v1/data/** (oes-policy)
This API is used by Spinnaker when executing a pipeline to validate against OPA compliance.
Request Body
payloadConstraint*
String
startTime*
String
application*
String
name*
String
stage*
String
executionId*
String
user*
String
imageIds*
String
Last updated