Acquire immediately, returning 409 rather than blocking on contention.
Path Parameters
key*Key
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Requested lease duration.
Response Body
application/json
application/json
curl -X POST "https://example.com/memory/locks/string" \ -H "Content-Type: application/json" \ -d '{}'{
"key": "string",
"token": "string",
"expires_at": "2019-08-24T14:15:22Z",
"ttl_remaining_ms": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Accept Nda
Record click-wrap acceptance of the current NDA version. Body: ``{"version": "<current>"}``. A mismatched version is rejected with 409 so a stale client cannot record acceptance of text the user never saw.
Activate Pending Decision
Try to activate a pending decision; no-op (activated=false) if requirements remain.