2024-06-03 12:49:17: merge [main:72fad31e37b51d75b8c23bb36393fb2548694cec];
This commit is contained in:
1 parent
0a91198eb6
commit
bc88a51ec4
28 files changed
+1355
No files matched your search
@@ -0,0 +1,26 @@
|
||||
### Lock
|
||||
POST http://{{address}}/api/isp-lock-service/lock
|
||||
Content-Type: application/json
|
||||
X-Application-Token: {{token}}
|
||||
x-auth-admin: {{admin-token}}
|
||||
|
||||
{
|
||||
"key": "abc",
|
||||
"ttlInSec": 15
|
||||
}
|
||||
> {%
|
||||
client.global.set("lockKey", response.body.lockKey);
|
||||
%}
|
||||
|
||||
### UnLock
|
||||
POST http://{{address}}/api/isp-lock-service/unlock
|
||||
Content-Type: application/json
|
||||
X-Application-Token: {{token}}
|
||||
x-auth-admin: {{admin-token}}
|
||||
|
||||
{
|
||||
"key": "abc",
|
||||
"lockKey": "{{lockKey}}"
|
||||
}
|
||||
|
||||
###
|
||||
Reference in new issue
Block a user