Last active
December 9, 2015 13:31
-
-
Save lusis/b72d468d486b8c6848a6 to your computer and use it in GitHub Desktop.
A few models for use with AWS API Gateway
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
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"title": "loggly-webhook-model", | |
"type": "object", | |
"properties": { | |
"alert_name": {"type":"string"}, | |
"alert_description":{"type":"string"}, | |
"edit_alert_link":{"type":"string"}, | |
"source_group":{"type":"string"}, | |
"start_time":{"type":"string"}, | |
"end_time":{"type":"string"}, | |
"search_link":{"type":"string"}, | |
"query":{"type":"string"}, | |
"num_hits":{"type":"integer"}, | |
"recent_hits":{"type":"array","items":{"type":"string"}}, | |
"owner_username":{"type":"string"}, | |
"owner_subdomain":{"type":"string"}, | |
"owner_email":{"type":"string"}, | |
"alert_snoozed":{"type":"boolean"} | |
} | |
} |
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
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"title": "signalfx-webhook-model", | |
"type": "object", | |
"properties": { | |
"incidentId": {"type":"string"}, | |
"detectorUrl":{"type":"string"}, | |
"status":{"type":"string"}, | |
"rule":{"type":"string"}, | |
"severity":{"type":"string"}, | |
"eventType":{"type":"string"}, | |
"currentValue":{"type":"string"}, | |
"sources":{"type":"string"}, | |
"detector":{"type":"string"} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment