-
-
Save sbrichardson/63069964edb424761021650e4a6ca296 to your computer and use it in GitHub Desktop.
zenddesk-openapi
This file contains hidden or 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
{ | |
"swagger": "2.0", | |
"info": { | |
"version": "v2", | |
"title": "Swagger API" | |
}, | |
"host": "{host}.zendesk.com", | |
"basePath": "/api/v2/", | |
"schemes": [ | |
"http" | |
], | |
"consumes": [ | |
"application/json" | |
], | |
"produces": [ | |
"application/json" | |
], | |
"paths": { | |
"/tickets.json": { | |
"post": { | |
"description": "Create Ticket", | |
"summary": "createTicket", | |
"operationId": "TicketsJsonPost", | |
"produces": [ | |
"application/json" | |
], | |
"parameters": [ | |
{ | |
"name": "ticket", | |
"in": "body", | |
"required": true, | |
"description": "Ticket", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "" | |
} | |
}, | |
"x-unitTests": [], | |
"x-operation-settings": { | |
"CollectParameters": false, | |
"AllowDynamicQueryParameters": false, | |
"AllowDynamicFormParameters": false, | |
"IsMultiContentStreaming": false | |
} | |
} | |
} | |
}, | |
"definitions": { | |
"Ticket": { | |
"title": "Ticket", | |
"type": "object", | |
"properties": { | |
"ticket": { | |
"description": "", | |
"type": "object" | |
} | |
} | |
}, | |
"TicketResponse": { | |
"title": "TicketResponse", | |
"type": "object", | |
"properties": { | |
"id": { | |
"description": "", | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment