List Notifications
List all notifications for a project. Both Builds and Dependencies notifications are returned.
Auth&ACL
Both users and collaborators can access this API, via OAuth notifications
scope (or HTTP Basic Authentication for development purposes).
Definition
GET https://v1.continuityapp.ws/projects/<project_id>/notifications
Example request
$ curl https://v1.continuityapp.ws/projects/123456789123456789/notifications?oauth_token=<access_token>
Returns
A list of project notifications will be returned.
Example response
{
"response": [
{
"id": 136105799192093904,
"id_str": "136105799192093904",
"name": "webhook",
"options": {
"url": "http://hooks.yourservice.com/continuityapp"
},
"project_id": 123456789123456789,
"project_id_str": "123456789123456789",
"notifiable_type": "dependency"
},
{
"id": 136105799194652608,
"id_str": "136105799194652608",
"name": "webhook",
"options": {
"url": "http://hooks2.yourservice2.com/continuityapp"
},
"project_id": 123456789123456789,
"project_id_str": "123456789123456789",
"notifiable_type": "dependency"
}
]
}
Notes
See open source Handlers at GitHub to understand the Webhooks (and other future handlers) format.
Errors
There are no specific errors for this API.
comments powered by Disqus