Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#%RAML 1.0
title: incident-GetStarted
version: v1
description: This API aggregates DevOps related incidents across multiple platforms & services into single HTTP calls.
/resolve:
put:
description: Resolves an existing incident in both PagerDuty and StatusPage
body:
application/json:
type: object
properties:
user:
type: object
required: true
properties:
email:
type: string
required: true
pagerDuty:
type : object
required: true
properties:
incident_id:
type: string
required: true
statusPage:
type: object
required: true
properties:
incident_name: string
required: true
example: {"user":{"email":"maxmule@mulesoft.com"},"pagerDuty":{"incident_id":"PUPSHS1"},"statusPage":{"incident_name":"bigServer"}}
responses:
200:
description: Success
body:
application/json:
type: object
properties:
responses:
type: array
example: {"responses" : []}
@dipak-patel

This comment has been minimized.

Copy link

commented Jan 16, 2018

Hi,
This is a great tutorial. I had trouble creating Mule project from this raml. What I found is incident_name property is not defined correctly, I think it should be like this.
properties:
incident_name:
type: string
required: true
That worked for me.
Thanks
Dipak

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.