Skip to content

Instantly share code, notes, and snippets.

@tjwebb
Last active August 27, 2015 05:23
Show Gist options
  • Save tjwebb/1ff126a6cfa3bac096dd to your computer and use it in GitHub Desktop.
Save tjwebb/1ff126a6cfa3bac096dd to your computer and use it in GitHub Desktop.
Swagger Testing
{
"swagger": "2.0",
"info": {
"title": "@balderdash/sails-crm",
"description": "",
"version": "0.0.0",
"contact": {
"name": "",
"url": "https://github.com/balderdash-projects/sails-crm"
},
"license": {
"name": ""
}
},
"schemes": [
"http",
"https"
],
"paths": {
"/*": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"put": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"head": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"options": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"patch": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/csrfToken": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"put": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"patch": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/swagger/doc/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"put": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"patch": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/address/{.id}": {
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/contact/{.id}": {
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/contact{.parentid}/emails/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/contact{.parentid}/phones/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/contact{.parentid}/locations/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/contact{.parentid}/groups/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/email/{.id}": {
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/group/{.id}": {
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/group{.parentid}/contacts/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/label/{.id}": {
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/location/{.id}": {
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/organization/{.id}": {
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/organization{.parentid}/groups/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/phone/{.id}": {
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/website/{.id}": {
"delete": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/__getcookie": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/address": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/address{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"put": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/address{.parentid}/type/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/contact": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/contact{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"put": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/contact{.parentid}/organization/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/contact{.parentid}/website/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/email": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/email{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"put": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/email{.parentid}/type/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/email{.parentid}/contact/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/group": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/group{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"put": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/label": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/label{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"put": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/location": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/location{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"put": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/location{.parentid}/address/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/location{.parentid}/type/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/organization": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/organization{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"put": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/organization{.parentid}/location/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/organization{.parentid}/contact/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/phone": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/phone{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"put": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/phone{.parentid}/type/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/website": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/website{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"post": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
},
"put": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/website{.parentid}/type/{.id}": {
"get": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parentid",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "id",
"in": "path",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
},
"/csrftoken": {
"options": {
"description": "a route",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "the result"
},
"403": {
"description": "Not permitted"
},
"404": {
"description": "Not found"
},
"500": {
"description": "Internal server error"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment