events
default
Notify about new deployments.
Changed onpost/events/deployments
Request
- Base URL{{ server_url }}/v1
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
[
{
"components": [
{
"repository": "github.com/athenianco/athenian-api",
"reference": "v0.10.34"
}
],
"environment": "production",
"date_finished": "2022-01-23T05:01:07.000+00:00",
"date_started": "2022-01-23T04:56:07.000+00:00",
"conclusion": "SUCCESS",
"labels": {
"helm_chart": "0.0.67"
}
}
]Response
Details about the accepted deployment notifications.
Example response
{
"deployments": [
{
"name": "prod-1984-05-01-ABCDEFGH",
"resolved": true
}
]
}Changes
- info
response schema
application/jsonenum value removed{} - info
added the required property
to the response with the status
- info
- breaking
added the pattern
^([^'\s]| ){1,100}$to the request property/ - info
the
/request property's minLength was decreased from1to0
- breaking