TOC Download
GET {{baseUrl}}/collection/v1/export/{{collectionId}}
This API is used to download collection in csv format.
The endpoint for TOC download is /export The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | (Required) The Content Type entity is the media type of the resource. Possible media types are:- |
- Application/json
- Multipart/form-data
- Application/x-www-form-urlencoded |
|
x-authenticated-user-token
| string | | (Required) Specify authorization key (format: Bearer api-key) received from administrator when performing given API request. | |Accept
| string | | |
RESPONSES
status: OK
{"id":"api.collection.export","ver":"v1","ts":"2020-11-27 15:47:33:106+0000","params":{"resmsgid":null,"msgid":"ab202e68-bacd-4eee-a3b3-10d59b09c17f","err":null,"status":"success","errmsg":null},"responseCode":"OK","result":{"collection":{"tocUrl":"https://sunbirddev.blob.core.windows.net/sunbird-content-dev/content/collection/toc/do_11316025504283852811_test-27-nov_1606491356306.csv","ttl":"86400"}}}