-
Notifications
You must be signed in to change notification settings - Fork 14
API Specs
Juha edited this page Mar 10, 2017
·
5 revisions
Returns:
{
pipelines: [
{
id: (string),
name: (string)
description: (string)
}
]
}
Body: { params: {..} } (no need for params at first)
Returns:
{
task_id: (string)
}
UI can poll this endpoint. We can improve this into websocket later
Returns:
status: (string) ("success", "error", "pending")
UI can poll this endpoint. We can improve this into websocket later
Returns:
log: (string) (this can be very multiline long)
Get webhook information
Returns:
{
"triggers": [
{
"webhook_id": "ed6c37be-c434-49d6-ac7e-5845034337ca",
"type": "github",
"name": "gh-webhook"
},
{
"webhook_id": "793d3a96-9a5c-4c39-9118-b29b450f2d31",
"type": "slack",
"name": "slack-webhook"
}
]
}
Run corrsponding pipeline
Returns:
{
task_id: (string)
}