Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#%RAML 1.0
title: DevOps-GetStarted
version: v1
mediaType: application/json
description: This service provides functionality that can be used in day-to-day DevOps processes using a Slack slash command.
/slack:
post:
description: Resolves a PagerDuty incident, while broadcasting to StatusPage.io and to Twitter. Consumes the Resolve & Broadcast APIs.
body:
application/x-www-form-urlencoded:
properties:
token: string
response_url: string
command: string
user_id: string
channel_id: string
team_domain: string
text: string
user_name: string
channel_name: string
team_id: string
trigger_id: string
responses:
200:
body:
application/json:
type: object
properties:
broadcast: object
incidents: object
example: |
{
"broadcast": {},
"incidents": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.