diff options
Diffstat (limited to 'docs/swagger.json')
-rw-r--r-- | docs/swagger.json | 42 |
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", |