lock list

POST {{baseUrl}}/lock/v1/list

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

Request Body

{"request"=>{"filters"=>{"resourceId"=>["do_11319479631000371211", "do_11319851826161254418", "do_113107812356022272164", "do_1131983093687828481353", "do_113197939102253056140", "do_113197917149233152139", "do_113197913444737024138", "do_113197844509425664130", "do_113197903995772928137"]}}}

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.lock.list","ver":1,"ts":"2021-01-21T09:44:03.248Z","params":{"resmsgid":"32228b00-5bcd-11eb-9b0c-abcfbdf41bc3","msgid":"3247615a-0095-9236-9b6b-357d7b130b6e","status":"successful","err":null,"errmsg":null},"responseCode":"OK","result":{"count":1,"data":[{"lockId":"1d767439-a517-4433-bf46-fb0cca148d31","resourceId":"do_11319479631000371211","resourceType":"Content","resourceInfo":"{\"contentType\":\"TextBook\",\"framework\":\"ekstep_ncert_k-12\",\"identifier\":\"do_11319479631000371211\",\"mimeType\":\"application/vnd.ekstep.content-collection\"}","createdBy":"5a587cc1-e018-4859-a0a8-e842650b9d64","creatorInfo":"{\"name\":\"N11\",\"id\":\"5a587cc1-e018-4859-a0a8-e842650b9d64\"}","createdOn":"2021-01-21T09:22:12.577Z","deviceId":"ad8ed16beb09e7c91534c2af80a1a41e","expiresAt":"2021-01-21T10:26:27.591Z"}]}}