Lock Refresh

PATCH {{baseUrl}}/lock/v1/refresh

This API used to refresh the Locked resource by a user or system or service. - The lock/v1/refresh endpoint refresh the Locked resource by a user or system or service. - All fields marked with an * are mandatory - Required fields cannot be null or empty - Backend Route: http://knowledge-mw-service:5000/v1/lock/refresh

Request Body

{"request"=>{"resourceId"=>"do_11316513466772684811649", "resourceType"=>"Content", "lockId"=>"0e6b1631-93e6-4726-9dcf-0debdba37aa1"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring(Required) The Content Type entity is the media type of the resource
Authorizationstring(Required) To make use of the API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here.
Acceptstring

RESPONSES

status: OK

{"id":"api.v1.refresh","ver":1,"ts":"2021-01-21T11:24:31.981Z","params":{"resmsgid":"3b8a31d0-5bdb-11eb-9b0c-abcfbdf41bc3","msgid":"3a33a280-5bdb-11eb-9b0c-abcfbdf41bc3","status":"successful","err":null,"errmsg":null},"responseCode":"OK","result":{"lockKey":"0e6b1631-93e6-4726-9dcf-0debdba37aa1","expiresAt":"2021-01-21T12:24:29.738Z","expiresIn":60}}