summaryrefslogtreecommitdiffstats
path: root/docs/swagger.json
diff options
context:
space:
mode:
authorNelson, Thomas (tn1381) <tn1381@att.com>2018-08-27 19:52:13 +0000
committerNelson, Thomas (tn1381) <tn1381@att.com>2018-08-27 19:52:13 +0000
commitc79755d43c123176515e5cafbba0774a03d297d3 (patch)
tree869472d1d7a9883aaa8a60604c5dad54128bd5ba /docs/swagger.json
parent21b8e51a9318a97363437c9668e3564875c15f8f (diff)
Swagger Update and other updates.
Updates related to callback api Change-Id: I2a4c00e8db4a430c5998e7770389451610f0770a Issue-ID: MUSIC-97 Signed-off-by: Nelson, Thomas (tn1381) <tn1381@att.com>
Diffstat (limited to 'docs/swagger.json')
-rw-r--r--docs/swagger.json42
1 files changed, 21 insertions, 21 deletions
diff --git a/docs/swagger.json b/docs/swagger.json
index 3f4e220f..27db769f 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -1001,30 +1001,19 @@
}
}
},
- "/v2/locks/acquire-with-lease/{lockreference}": {
- "post": {
+ "/v2/locks/acquire/{lockreference}": {
+ "get": {
"tags": [
"Lock Api"
],
- "summary": "Aquire Lock with Lease",
- "description": "",
- "operationId": "accquireLockWithLease",
- "consumes": [
- "application/json"
- ],
+ "summary": "Aquire Lock",
+ "description": "Checks if the node is in the top of the queue and hence acquires the lock",
+ "operationId": "accquireLock",
"produces": [
"application/json"
],
"parameters": [
{
- "in": "body",
- "name": "body",
- "required": false,
- "schema": {
- "$ref": "#/definitions/JsonTable"
- }
- },
- {
"name": "lockreference",
"in": "path",
"description": "Lock Reference",
@@ -1080,19 +1069,30 @@
}
}
},
- "/v2/locks/acquire/{lockreference}": {
- "get": {
+ "/v2/locks/acquire-with-lease/{lockreference}": {
+ "post": {
"tags": [
"Lock Api"
],
- "summary": "Aquire Lock",
- "description": "Checks if the node is in the top of the queue and hence acquires the lock",
- "operationId": "accquireLock",
+ "summary": "Aquire Lock with Lease",
+ "description": "",
+ "operationId": "accquireLockWithLease",
+ "consumes": [
+ "application/json"
+ ],
"produces": [
"application/json"
],
"parameters": [
{
+ "in": "body",
+ "name": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/JsonTable"
+ }
+ },
+ {
"name": "lockreference",
"in": "path",
"description": "Lock Reference",