Skip to content

Instantly share code, notes, and snippets.

@guillegr123
Last active June 23, 2020 02:42
Show Gist options
  • Save guillegr123/d5a3e8ead387db66f50de7c1ed5057a8 to your computer and use it in GitHub Desktop.
Save guillegr123/d5a3e8ead387db66f50de7c1ed5057a8 to your computer and use it in GitHub Desktop.
kazoo-swagger-mini.json
{
"basePath": "/v2",
"consumes": [
"application/json"
],
"definitions": {
},
"externalDocs": {
"description": "Kazoo documentation's Git repository",
"url": "https://docs.2600hz.com/dev"
},
"host": "sandbox.2600hz.com:8443",
"schemes": [ "https" ],
"info": {
"description": "The Crossbar APIs",
"license": {
"name": "Mozilla Public License 1.1"
},
"title": "Crossbar",
"version": "v2"
},
"parameters": {
"ACCOUNT_ID": {
"description": "request ACCOUNT_ID parameter",
"in": "path",
"maxLength": 32,
"minLength": 32,
"name": "ACCOUNT_ID",
"pattern": "^[0-9a-f]+$",
"required": true,
"type": "string"
}
},
"paths": {
"/about": {
"get": {
"responses": {
"200": {
"description": "request succeeded"
}
}
}
},
"/accounts/{ACCOUNT_ID}": {
"get": {
"parameters": [
{
"$ref": "#/parameters/ACCOUNT_ID"
}
],
"responses": {
"200": {
"description": "request succeeded"
}
}
}
}
},
"produces": [
"application/json"
],
"swagger": "2.0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment