Pushover
- POST
- /workspaces
- /:workspace
- /projects
- /:project_name
- /pipelines
- /:pipeline_id
- /actions
Creates a new Pushover action in the pipeline
Request example
curl -X POST "https://api.buddy.works/workspaces/:workspace/projects/:project_name/pipelines/:pipeline_id/actions" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"name": "Send notification to My-Chrome",
"type": "PUSHOVER",
"title": "$title",
"trigger_time": "ON_EVERY_EXECUTION",
"variables": [
{
"key": "title",
"value": "Notification title"
}
],
"content": "${BUDDY_PIPELINE_NAME} execution #${BUDDY_RUN_ID}",
"link": "${BUDDY_RUN_URL}",
"link_title": "Show execution details",
"device": "My-Chrome",
"priority": "HIGH",
"integration": {
"identifier": "pushover"
}
}'STATUS200 OK