aboutsummaryrefslogtreecommitdiff
path: root/swagger.json
diff options
context:
space:
mode:
authorHans van den Elsen <hans.elsen@esds.nl>2016-02-09 15:46:11 +0100
committerHans van den Elsen <hans.elsen@esds.nl>2016-02-09 15:46:11 +0100
commit7883c78aef55c73cbfb4213f7720f3e450f89c75 (patch)
tree64b6bd000bfd84c697cab5e8d5d54ac7873b6c74 /swagger.json
parenta8c6a98f80858f2e04753086c1877c75f5abcf80 (diff)
downloadtrackermap-server-7883c78aef55c73cbfb4213f7720f3e450f89c75.tar.gz
trackermap-server-7883c78aef55c73cbfb4213f7720f3e450f89c75.tar.bz2
trackermap-server-7883c78aef55c73cbfb4213f7720f3e450f89c75.zip
Added API endpoint for our raw commands
Diffstat (limited to 'swagger.json')
-rw-r--r--swagger.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/swagger.json b/swagger.json
index f8269a2da..46998c340 100644
--- a/swagger.json
+++ b/swagger.json
@@ -10,6 +10,35 @@
"http"
],
"paths": {
+ "/sos": {
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Command"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "headers": {},
+ "schema": {
+ "$ref": "#/definitions/Command"
+ }
+ }
+ }
+ }
+ },
"/commands": {
"post": {
"consumes": [