Created
November 14, 2017 16:21
-
-
Save rashedtalukder/12a822e7be8bf82849f3446595634242 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%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