Created
November 13, 2018 18:42
-
-
Save keitase/9dc8bad87bfd95bada6344cb0cd47199 to your computer and use it in GitHub Desktop.
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
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "ru-session-manager", | |
"termsOfService": "http://www.ruist.com/", | |
"contact": { | |
"name": "Ruist, Inc", | |
"url": "http://www.ruist.com/", | |
"email": "[email protected]" | |
}, | |
"version": "1.0.0" | |
}, | |
"servers": [{ "url": "https://api.ruist.io/sessions/v1" }], | |
"paths": { | |
"/cxa/perm/records": { | |
"put": { | |
"tags": ["/cxa"], | |
"description": "", | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "null" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/cxa/perm/records/{id}": { | |
"put": { | |
"tags": ["/cxa"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "null" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/cxa/": { | |
"get": { | |
"tags": ["/cxa"], | |
"description": "", | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
}, | |
"post": { | |
"tags": ["/cxa"], | |
"description": "", | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/cxa{id}": { | |
"get": { | |
"tags": ["/cxa"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/cxa{cxaId}": { | |
"post": { | |
"tags": ["/cxa"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "cxaId", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/cxa/organization/{org_id}": { | |
"get": { | |
"tags": ["/cxa"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "org_id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "array" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/cxa/{id}": { | |
"delete": { | |
"tags": ["/cxa"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/cxd/perm/records": { | |
"put": { | |
"tags": ["/cxd"], | |
"description": "", | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "null" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/cxd/perm/records/{id}": { | |
"put": { | |
"tags": ["/cxd"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "null" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/cxd/": { | |
"get": { | |
"tags": ["/cxd"], | |
"description": "", | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
}, | |
"post": { | |
"tags": ["/cxd"], | |
"description": "", | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/cxd{id}": { | |
"get": { | |
"tags": ["/cxd"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
}, | |
"post": { | |
"tags": ["/cxd"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/cxd/organization/{org_id}": { | |
"get": { | |
"tags": ["/cxd"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "org_id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "array" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/cxd/cxa/{cxa_id}": { | |
"get": { | |
"tags": ["/cxd"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "cxa_id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
}, | |
{ | |
"name": "version", | |
"in": "query", | |
"description": "", | |
"required": false, | |
"schema": { "type": "number", "format": "integer" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/cxd/{id}": { | |
"delete": { | |
"tags": ["/cxd"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/connection/run/{connectionId}/{revision}": { | |
"post": { | |
"tags": ["/connection"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "connectionId", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
}, | |
{ | |
"name": "revision", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string" } | |
} | |
], | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/status/{cxdId}": { | |
"get": { | |
"tags": ["/status"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "cxdId", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/status/{cxdId}/all": { | |
"get": { | |
"tags": ["/status"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "cxdId", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/status/service/create": { | |
"post": { | |
"tags": ["/status"], | |
"description": "", | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "null" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/node/{cxdId}/start": { | |
"post": { | |
"tags": ["/node"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "cxdId", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/node/{cxdId}/stop": { | |
"put": { | |
"tags": ["/node"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "cxdId", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "string" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/link/perm/records": { | |
"put": { | |
"tags": ["/link"], | |
"description": "", | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "null" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/link/perm/records/{id}": { | |
"put": { | |
"tags": ["/link"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "null" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/link/": { | |
"post": { | |
"tags": ["/link"], | |
"description": "", | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/link{id}": { | |
"get": { | |
"tags": ["/link"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/link{entryCode}": { | |
"get": { | |
"tags": ["/link"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "entryCode", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/link/organization/{org_id}": { | |
"get": { | |
"tags": ["/link"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "org_id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "array" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/link/{id}": { | |
"delete": { | |
"tags": ["/link"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/linktoken/perm/records": { | |
"put": { | |
"tags": ["/linktoken"], | |
"description": "", | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "null" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/linktoken/perm/records/{id}": { | |
"get": { | |
"tags": ["/linktoken"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "null" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/linktoken/form": { | |
"post": { | |
"tags": ["/linktoken"], | |
"description": "", | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "string" } } | |
} | |
} | |
} | |
} | |
}, | |
"/linktoken/": { | |
"post": { | |
"tags": ["/linktoken"], | |
"description": "", | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "string" } } | |
} | |
} | |
} | |
} | |
}, | |
"/linktoken{id}": { | |
"get": { | |
"tags": ["/linktoken"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/linktoken/code/{entrycode}": { | |
"get": { | |
"tags": ["/linktoken"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "entryCode", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/linktoken/valid/{id}": { | |
"get": { | |
"tags": ["/linktoken"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "boolean" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/linktoken/organization/{org_id}": { | |
"get": { | |
"tags": ["/linktoken"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "org_id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "array" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/linktoken/{id}": { | |
"delete": { | |
"tags": ["/linktoken"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/target/perm/records": { | |
"put": { | |
"tags": ["/target"], | |
"description": "", | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "null" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/target/perm/records/{id}": { | |
"put": { | |
"tags": ["/target"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "null" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/target/": { | |
"post": { | |
"tags": ["/target"], | |
"description": "", | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/target{id}": { | |
"get": { | |
"tags": ["/target"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/target/organization/{org_id}": { | |
"get": { | |
"tags": ["/target"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "org_id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "array" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/target{dtId}": { | |
"post": { | |
"tags": ["/target"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "dtId", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/target/{id}": { | |
"delete": { | |
"tags": ["/target"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/builder/export/{appId}": { | |
"get": { | |
"tags": ["/builder"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "appId", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/builder/import": { | |
"post": { | |
"tags": ["/builder"], | |
"description": "", | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
}, | |
"security": [{ "JWT": [] }, { "XSRF Token": [], "Cookie": [] }] | |
} | |
}, | |
"/ivr/twiml/play/{id}.mp3": { | |
"get": { | |
"tags": ["/ivr"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
} | |
} | |
}, | |
"/ivr/twiml/{id}": { | |
"post": { | |
"tags": ["/ivr"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"requestBody": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "object" } } }, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
} | |
} | |
}, | |
"/ivr/twiml/action/{id}": { | |
"get": { | |
"tags": ["/ivr"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
}, | |
{ | |
"name": "Digits", | |
"in": "query", | |
"description": "", | |
"required": false, | |
"schema": { "type": "string" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { | |
"application/json": { "schema": { "type": "object" } } | |
} | |
} | |
} | |
} | |
}, | |
"/initialize/{orgId}": { | |
"put": { | |
"tags": ["/initialize"], | |
"description": "", | |
"parameters": [ | |
{ | |
"name": "orgId", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { "type": "string", "format": "uuid" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"content": { "application/json": { "schema": { "type": "null" } } } | |
} | |
}, | |
"security": [{ "JWT": [] }] | |
} | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"Cookie": { | |
"type": "apiKey", | |
"description": "Cookie (embedded JWT)", | |
"name": "Cookie", | |
"in": "cookie" | |
}, | |
"JWT": { | |
"type": "http", | |
"description": "JWT authentication. See: https://jwt.io/", | |
"name": "JWT", | |
"scheme": "Bearer" | |
}, | |
"XSRF Token": { | |
"type": "apiKey", | |
"description": "XSRF Token", | |
"name": "XSRF Token", | |
"in": "header" | |
} | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment