Skip to content

Instantly share code, notes, and snippets.

@kinlane
Created August 19, 2018 19:29
Show Gist options
  • Select an option

  • Save kinlane/bceb9b04fca28de92246117097c20165 to your computer and use it in GitHub Desktop.

Select an option

Save kinlane/bceb9b04fca28de92246117097c20165 to your computer and use it in GitHub Desktop.

Revisions

  1. kinlane created this gist Aug 19, 2018.
    76 changes: 76 additions & 0 deletions zendesk-openapi.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,76 @@
    {
    "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"
    }
    }
    }
    }
    }