{"info":{"_postman_id":"2979d790-f956-4d73-b080-9af022721fbf","name":"Sunbird Content Management API(s)_V1","description":"<html><head></head><body><p>The Content Management API allows you to manage content over the sunbird platform.Apis perform operations related to all the <em>Content</em> on the Sunbird Platform.</p>\n<ul>\n<li>Each of the endpoints serve a different purpose, so which one to use depends on what you want to do</li>\n<li>The operations include CRUD (Create, Update, Read and Delete) operations and other operations such as upload, publish, flag, link Dialcode, etc.</li>\n<li>The URL for Sunbird Content API(s) is <code>content/v2</code></li>\n<li><a href=\"https://www.getpostman.com/collections/3c1817fcb4606ae53b9a\">TestCases</a></li>\n</ul>\n<p>Contact Support:\n Email: <a href=\"mailto:info@sunbird.org\">info@sunbird.org</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"25463377","collectionId":"2979d790-f956-4d73-b080-9af022721fbf","publishedId":"2s935hRnae","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-01-30T11:54:59.000Z"},"item":[{"name":"content","item":[{"name":"v2","item":[{"name":"upload","item":[{"name":"Upload Content","id":"51f89f81-b44d-42a3-907c-fe3e6e994972","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n<li>Multipart/form-data</li>\n<li>Application/x-www-form-urlencoded</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"description":"<p>(Required) The Registered User ID to execute the API.</p>\n","key":"X-Authenticated-Userid","value":"ea laborum"},{"description":"<p>(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"file","description":"<p>(Required) Content package file which you intend to upload</p>\n","type":"file","value":null}]},"url":"https://staging.sunbirded.org/api/content/v2/upload/:Content_Id","description":"<p>This API is associated with uploading content on the Sunbird Platform .</p>\n<ul>\n<li>The**_/upload/{content Id}_** endpoint executes \"Upload Content\" request based on parameters provided as metadata in the request body.</li>\n<li>The endpoint for <strong>Upload Content</strong> is <code>/content/v2/upload</code></li>\n<li>It points to knowledge-mw-service - <code>/v2/content/upload</code></li>\n<li>{...}refers to a section of upload endpoint URL path that needs to be replaced by appropriate Id.</li>\n<li>You need to provide a valid content Id value in {Content Id} field of API URL.</li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","upload",":Content_Id"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[{"id":"0d3ee2de-2547-431f-b19b-13807ecb3152","description":{"content":"<p>(Required) Please append a valid Content Id To the Request URL</p>\n","type":"text/plain"},"type":"any","value":"ea laborum","key":"Content_Id"}]}},"response":[{"id":"cf5129df-2d4f-40a1-a9dd-aaa059993fd6","name":"OK ! Successful operation.\"Content upload\" operation was successfully executed.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json\n  - Multipart/form-data\n  - Application/x-www-form-urlencoded","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-Userid","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"formdata","formdata":[{"key":"file","description":"(Required) Content package file which you intend to upload","type":"file","src":[]}]},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/upload/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","upload",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.upload\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-10T21:00:16ZZ\",\n  \"params\": {\n    \"resmsgid\": \"4505a08c-9d0c-447b-8b3f-692e31f841fd\",\n    \"msgid\": null,\n    \"err\": null,\n    \"status\": \"successful\",\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"identifier\": \"do_1131697376667402241315\",\n    \"artifactUrl\": \"https://ekstep-public-dev.s3-ap-south-1.amazonaws.com/content/do_112547906582659072139/artifact/pdf_1531726896452.pdf\",\n    \"content_url\": \"https://ekstep-public-dev.s3-ap-south-1.amazonaws.com/content/do_112547906582659072139/artifact/pdf_1531726896452.pdf\",\n    \"node_id\": \"do_1131697376667402241315\",\n    \"versionKey\": \"1607634016927\"\n  }\n}"},{"id":"5d007160-5e1f-4c31-aa4c-6f16ce645a6e","name":"RESOURCE NOT FOUND,**Content Send for Review** operation failed !The possible reason for failure is that you may have provided wrong content id.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json\n  - Multipart/form-data\n  - Application/x-www-form-urlencoded","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-Userid","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"formdata","formdata":[{"key":"file","description":"(Required) Content package file which you intend to upload","type":"file","src":[]}]},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/upload/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","upload",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.upload\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-10T21:21:20ZZ\",\n  \"params\": {\n    \"resmsgid\": \"58139c89-2852-4673-b414-2f867c91bbc1\",\n    \"msgid\": null,\n    \"err\": \"NOT_FOUND\",\n    \"status\": \"failed\",\n    \"errmsg\": \"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: do_11316973766674022413151\"\n  },\n  \"responseCode\": \"RESOURCE_NOT_FOUND\",\n  \"result\": {\n    \"messages\": null\n  }\n}"},{"id":"53cf10a3-75b0-4565-a9b0-f5abbc6f875b","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! These errors are tracked automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json\n  - Multipart/form-data\n  - Application/x-www-form-urlencoded","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-Userid","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"formdata","formdata":[{"key":"file","description":"(Required) Content package file which you intend to upload","type":"file","src":[]}]},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/upload/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","upload",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"cupidatat reprehenderit dolor\",\n  \"ver\": \"minim anim commodo\",\n  \"ts\": \"commodo\",\n  \"params\": {\n    \"resmsgid\": \"pariatur repre\",\n    \"msgid\": \"irure\",\n    \"err\": \"consequat esse ea\",\n    \"status\": \"esse\",\n    \"errmsg\": \"aliqua laboris velit\"\n  },\n  \"responseCode\": \"reprehenderit dolor elit sunt dolore\"\n}"}],"_postman_id":"51f89f81-b44d-42a3-907c-fe3e6e994972"},{"name":"Upload URL","id":"aceefd6b-94aa-4d5a-9161-1ccddd61567f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"description":"<p>(Required) The Registered User ID to execute the API.</p>\n","key":"X-Authenticated-Userid","value":"ea laborum"},{"description":"<p>(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"fileName\": \"test.pdf\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/upload/url/:Content_Id","description":"<p>This API is associated with uploading content on the Sunbird Platform .</p>\n<ul>\n<li>The**_/upload/url/{content Id}_** endpoint executes \"Upload Content URL\" request based on parameters provided as metadata in the request body.</li>\n<li>The endpoint for <strong>Upload Content URL</strong> is <code>/content/v2/upload/url</code></li>\n<li>It points to knowledge-mw-service - <code>/v2/content/upload/url</code></li>\n<li>{...}refers to a section of upload endpoint URL path that needs to be replaced by appropriate Id.</li>\n<li>You need to provide a valid content Id value in {Content Id} field of API URL.</li>\n<li>On Success api returns pre-signed-url link with come configured ttl against which file can be uploaded.</li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","upload","url",":Content_Id"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[{"id":"1c5168e1-41b9-4776-868b-494daace3292","description":{"content":"<p>(Required) Please append a valid Content Id To the Request URL</p>\n","type":"text/plain"},"type":"any","value":"ea laborum","key":"Content_Id"}]}},"response":[{"id":"8c40d1fa-bcf4-43f2-b144-dc6c3dd59ca9","name":"OK ! Successful operation.\"Content upload\" operation was successfully executed.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-Userid","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"fileName\": \"test.pdf\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/upload/url/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","upload","url",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.upload.url\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-11T23:52:44ZZ\",\n  \"params\": {\n    \"resmsgid\": \"81e308fa-3e36-45ff-b295-e28e8f757dc7\",\n    \"msgid\": null,\n    \"err\": null,\n    \"status\": \"successful\",\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"identifier\": \"do_11317053041892556811094\",\n    \"url_expiry\": \"54000\",\n    \"pre_signed_url\": \"https://sunbirddev.blob.core.windows.net/sunbird-content-dev/content/assets/do_11317053041892556811094/10-page-pdf.pdf?sv=2017-04-17&se=2020-12-12T14%3A52%3A44Z&sr=b&sp=w&sig=Tlt6uWI/6lMeupkEbsTAmGajmo1qzw8HeUHrVwOm6yk%3D\"\n  }\n}"},{"id":"09aabc96-f5d8-4844-a46c-56e62d85d253","name":"BAD REQUEST. The 'Upload Url' operation failed ! The possible reason for failure is that you may have missed providing input for a mandatory parameter.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-Userid","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"fileName\": \"test.pdf\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/upload/url/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","upload","url",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.upload.url\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-11T23:54:07ZZ\",\n  \"params\": {\n    \"resmsgid\": \"4edde64d-3116-4271-bcc1-a8ba0ec2d56b\",\n    \"msgid\": null,\n    \"err\": \"ERR_CONTENT_BLANK_FILE_NAME\",\n    \"status\": \"failed\",\n    \"errmsg\": \"File name is blank\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {\n    \"messages\": null\n  }\n}"},{"id":"65a87a13-06e9-4f56-8bd7-598c07dd02d3","name":"RESOURCE NOT FOUND,**Content Id sent for generating upload url** operation failed !The possible reason for failure is that you may have provided wrong content id.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-Userid","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"fileName\": \"test.pdf\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/upload/url/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","upload","url",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.upload.url\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-11T23:48:26.694Z\",\n  \"params\": {\n    \"resmsgid\": \"5cf72660-3c0b-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"NOT_FOUND\",\n    \"errmsg\": \"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: do_11254577204586086415\"\n  },\n  \"responseCode\": \"RESOURCE_NOT_FOUND\",\n  \"result\": {}\n}"},{"id":"6c003651-5864-4879-a328-eed72df66fe3","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! These errors are tracked automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-Userid","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"fileName\": \"test.pdf\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/upload/url/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","upload","url",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"cupidatat reprehenderit dolor\",\n  \"ver\": \"minim anim commodo\",\n  \"ts\": \"commodo\",\n  \"params\": {\n    \"resmsgid\": \"pariatur repre\",\n    \"msgid\": \"irure\",\n    \"err\": \"consequat esse ea\",\n    \"status\": \"esse\",\n    \"errmsg\": \"aliqua laboris velit\"\n  },\n  \"responseCode\": \"reprehenderit dolor elit sunt dolore\"\n}"}],"_postman_id":"aceefd6b-94aa-4d5a-9161-1ccddd61567f"}],"id":"69e13a05-32e8-4dbd-ad21-95a133e5a1a3","_postman_id":"69e13a05-32e8-4dbd-ad21-95a133e5a1a3","description":""},{"name":"flag","item":[{"name":"Flag Content","id":"61fed734-959f-4790-ac3e-91e865ac1c33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"description":"<p>(Required) The Registered User ID to execute the API.</p>\n","key":"X-Authenticated-Userid","value":"ea laborum"},{"description":"<p>(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/flag/:Content_Id","description":"<p>This API is associated with setting Flag for content.</p>\n<ul>\n<li>The <strong><em>/flag/{content Id}</em></strong> endpoint executes a request to set flagging status for content ,flag can either be set to \"Accepted\" or \"Rejected\".</li>\n<li>The endpoint for <strong>Flag Content</strong> is <code>/content/v2/flag</code></li>\n<li>It points to knowledge-mw-service - <code>/v2/content/flag</code></li>\n<li>{...}refers to a section of reject endpoint URL path that needs to be replaced by appropriate Id.</li>\n<li>You need to provide a valid content Id value in {Content Id} field of API URL.</li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","flag",":Content_Id"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[{"id":"d656ef86-2ea1-4db0-af10-1a8a8d3ce9b1","description":{"content":"<p>(Required) Please append a valid Content Id To the Request URL</p>\n","type":"text/plain"},"type":"any","value":"ea laborum","key":"Content_Id"}]}},"response":[{"id":"29a9c850-280f-4cba-99ee-80345930579b","name":"OK ! Successful operation.\"Content Flagging\" operation was successfully executed.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-Userid","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/flag/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","flag",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.flag\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-11T08:45:49ZZ\",\n  \"params\": {\n    \"resmsgid\": \"9c935e0c-b504-45e6-bd15-313f46c4613f\",\n    \"msgid\": null,\n    \"err\": null,\n    \"status\": \"successful\",\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"identifier\": \"do_213143334457982976144\",\n    \"node_id\": \"do_213143334457982976144\",\n    \"versionKey\": \"1607676349236\"\n  }\n}"},{"id":"a77346ad-8fb4-4b6b-b4c2-2502aee18505","name":"ERR_CONTENT_NOT_FLAGGABLE! Looks like contentId is not in flaggable status.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-Userid","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/flag/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","flag",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.flag\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-11T08:44:53ZZ\",\n  \"params\": {\n    \"resmsgid\": \"2ff1945b-a114-44ca-929e-7d19a6f8a745\",\n    \"msgid\": null,\n    \"err\": \"ERR_CONTENT_NOT_FLAGGABLE\",\n    \"status\": \"failed\",\n    \"errmsg\": \"Unpublished Content do_213168073757138944196 cannot be flagged\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {\n    \"messages\": null\n  }\n}"},{"id":"d3c97e80-922f-46c3-81fa-65e91d20e235","name":"RESOURCE NOT FOUND,**Content Send for Flag** operation failed !The possible reason for failure is that you may have provided wrong content id.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-Userid","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/flag/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","flag",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.flag\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-11T09:41:41ZZ\",\n  \"params\": {\n    \"resmsgid\": \"5b4f0b33-3941-4c18-b8bf-123c2e0348e6\",\n    \"msgid\": null,\n    \"err\": \"NOT_FOUND\",\n    \"status\": \"failed\",\n    \"errmsg\": \"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: do_2131433344579829761441\"\n  },\n  \"responseCode\": \"RESOURCE_NOT_FOUND\",\n  \"result\": {\n    \"messages\": null\n  }\n}"},{"id":"5e92f952-9e62-428b-a8b7-6e8c414de58f","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! These errors are tracked automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-Userid","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/flag/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","flag",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"cupidatat reprehenderit dolor\",\n  \"ver\": \"minim anim commodo\",\n  \"ts\": \"commodo\",\n  \"params\": {\n    \"resmsgid\": \"pariatur repre\",\n    \"msgid\": \"irure\",\n    \"err\": \"consequat esse ea\",\n    \"status\": \"esse\",\n    \"errmsg\": \"aliqua laboris velit\"\n  },\n  \"responseCode\": \"reprehenderit dolor elit sunt dolore\"\n}"}],"_postman_id":"61fed734-959f-4790-ac3e-91e865ac1c33"},{"name":"Accept Flag","id":"e4a0d5b7-3b1c-4e56-bfd5-96292770331d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n<li>Multipart/form-data</li>\n<li>Application/x-www-form-urlencoded</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"description":"<p>(Required) The Registered User ID to execute the API.</p>\n","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"<p>(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"versionKey\": \"1507102327646\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/flag/accept/:Content_Id","description":"<p>This API is associated with setting Accept Flag for content under review process on the Sunbird Platform .</p>\n<ul>\n<li>The **_/flag/accept/_**endpoint executes request for flagging content under review to \"Accept flag\", if content is found appropriate.</li>\n<li>The endpoint for <strong>Flag Accept Content</strong> is <code>/content/v2/flag/accept</code></li>\n<li>It points to knowledge-mw-service - <code>/v2/content/flag/accept</code></li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","flag","accept",":Content_Id"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[{"id":"6bea081f-8c84-4804-9fbf-0fa5f696535d","description":{"content":"<p>(Required) Please append a valid Content Id To the Request URL</p>\n","type":"text/plain"},"type":"any","value":"ea laborum","key":"Content_Id"}]}},"response":[{"id":"8a83998c-db27-47f4-99c6-48816ed33535","name":"OK ! Successful operation.\"Accept Flag\" operation was successfully executed.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json\n  - Multipart/form-data\n  - Application/x-www-form-urlencoded","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"versionKey\": \"1507102327646\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/flag/accept/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","flag","accept",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.flag.accept\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-11T11:40:01.464Z\",\n  \"params\": {\n    \"resmsgid\": \"9a9e4b80-3ba5-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": \"9a49e9f0-3ba5-11eb-b0a2-8d5c9f561887\",\n    \"status\": \"successful\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"identifier\": \"do_31221753157709004825531\",\n    \"node_id\": \"do_31221753157709004825531\",\n    \"versionKey\": \"1607686801161\"\n  }\n}"},{"id":"aae8a467-9577-4621-8468-9a780b76ee3a","name":"BAD REQUEST. The \"Accept Flag\" operation failed ! The possible reason for failure is that you may have missed providing input for a mandatory parameter.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json\n  - Multipart/form-data\n  - Application/x-www-form-urlencoded","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"versionKey\": \"1507102327646\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/flag/accept/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","flag","accept",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.flag.accept\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-11T11:25:34.614Z\",\n  \"params\": {\n    \"resmsgid\": \"95ef7b60-3ba3-11eb-be5b-f9d249ba9049\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_INVALID_CONTENT\",\n    \"errmsg\": \"Invalid Flagged Content! Content Can Not Be Accepted.\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {}\n}"},{"id":"bac9621c-aaf3-4a85-be90-32f471865047","name":"RESOURCE NOT FOUND,**Content Send for Flag Accept** operation failed !The possible reason for failure is that you may have provided wrong content id.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json\n  - Multipart/form-data\n  - Application/x-www-form-urlencoded","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"versionKey\": \"1507102327646\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/flag/accept/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","flag","accept",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.flag.accept\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-11T11:24:42.903Z\",\n  \"params\": {\n    \"resmsgid\": \"771d0270-3ba3-11eb-be5b-f9d249ba9049\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"NOT_FOUND\",\n    \"errmsg\": \"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: do_213143334457982976144\"\n  },\n  \"responseCode\": \"RESOURCE_NOT_FOUND\",\n  \"result\": {}\n}"},{"id":"dbd3d8ad-f9e3-4b8d-9727-43dec106a7e1","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! These errors are tracked automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json\n  - Multipart/form-data\n  - Application/x-www-form-urlencoded","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"versionKey\": \"1507102327646\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/flag/accept/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","flag","accept",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"cupidatat reprehenderit dolor\",\n  \"ver\": \"minim anim commodo\",\n  \"ts\": \"commodo\",\n  \"params\": {\n    \"resmsgid\": \"pariatur repre\",\n    \"msgid\": \"irure\",\n    \"err\": \"consequat esse ea\",\n    \"status\": \"esse\",\n    \"errmsg\": \"aliqua laboris velit\"\n  },\n  \"responseCode\": \"reprehenderit dolor elit sunt dolore\"\n}"}],"_postman_id":"e4a0d5b7-3b1c-4e56-bfd5-96292770331d"}],"id":"74abf0d2-2758-4d3f-ad69-d9548ff373ba","_postman_id":"74abf0d2-2758-4d3f-ad69-d9548ff373ba","description":""},{"name":"Create Content","id":"0ff83dff-ef7f-43ee-9257-78ad6a77e33d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"description":"<p>(Required) Represents a physical location (e.g: state) uniquely to which the user belongs.</p>\n","key":"x-channel-id","value":"ea laborum"},{"description":"<p>(Required) Represents the authorized User ID to execute the API.</p>\n","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"<p>(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.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"name\": \"H5P Content\",\n      \"code\": \"h5pcontent\",\n      \"mimeType\": \"application/vnd.ekstep.h5p-archive\",\n      \"primaryCategory\": \"Resource\",\n      \"createdBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/create","description":"<p>This API is associated with creating content on the Sunbird Platform.</p>\n<ul>\n<li>The endpoint for <strong>Create Content</strong> is <code>/content/v2/create</code></li>\n<li>It points to knowledge-mw-service - <code>/v2/content/create</code></li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","create"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[]}},"response":[{"id":"10eb2c7a-98cd-4b52-9fd8-808e03980acf","name":"SUCCESS. The **Create Content** operation was successful!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) Represents a physical location (e.g: state) uniquely to which the user belongs.","key":"x-channel-id","value":"ea laborum"},{"description":"(Required) Represents the authorized User ID to execute the API.","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"(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.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"name\": \"H5P Content\",\n      \"code\": \"h5pcontent\",\n      \"mimeType\": \"application/vnd.ekstep.h5p-archive\",\n      \"primaryCategory\": \"Resource\",\n      \"createdBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.create\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-10T20:24:45ZZ\",\n  \"params\": {\n    \"resmsgid\": \"3be02c4b-3324-41a3-afd8-60f6be0584d2\",\n    \"msgid\": null,\n    \"err\": null,\n    \"status\": \"successful\",\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"identifier\": \"do_1131697204035993601314\",\n    \"node_id\": \"do_1131697204035993601314\",\n    \"versionKey\": \"1607631885207\"\n  }\n}"},{"id":"8322d0db-d54d-4538-a65c-fed84e8a55cf","name":"'BAD REQUEST. The **Create Content** operation failed. You may have missed input for a mandatory parameter.'","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) Represents a physical location (e.g: state) uniquely to which the user belongs.","key":"x-channel-id","value":"ea laborum"},{"description":"(Required) Represents the authorized User ID to execute the API.","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"(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.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"name\": \"H5P Content\",\n      \"code\": \"h5pcontent\",\n      \"mimeType\": \"application/vnd.ekstep.h5p-archive\",\n      \"primaryCategory\": \"Resource\",\n      \"createdBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.create\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-10T08:50:29.786Z\",\n  \"params\": {\n    \"resmsgid\": \"c169a7a0-3ac4-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_CONTENT_CREATE_FIELDS_MISSING\",\n    \"errmsg\": \"Required fields for create content are missing\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {}\n}"},{"id":"6d4960cf-afd6-44c6-bf23-d3ae6a35c20c","name":"'INTERNAL SERVER ERROR. We track these errors automatically and try to set it right at the earliest. Try refreshing the page. If the problem persists contact us at info@sunbird.org.'","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) Represents a physical location (e.g: state) uniquely to which the user belongs.","key":"x-channel-id","value":"ea laborum"},{"description":"(Required) Represents the authorized User ID to execute the API.","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"(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.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"name\": \"H5P Content\",\n      \"code\": \"h5pcontent\",\n      \"mimeType\": \"application/vnd.ekstep.h5p-archive\",\n      \"primaryCategory\": \"Resource\",\n      \"createdBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/create"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.create\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-10T08:51:51.647Z\",\n  \"params\": {\n    \"resmsgid\": \"f234a6f0-3ac4-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"SERVER_ERROR\",\n  \"result\": {}\n}"}],"_postman_id":"0ff83dff-ef7f-43ee-9257-78ad6a77e33d"},{"name":"Update Content","id":"4b7e384c-4e99-433f-ae85-725268a31d09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PATCH","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"description":"<p>(Required) The Registered User ID used to execute the API.</p>\n","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"<p>The unique ID provided to the State to which the user belongs.</p>\n","key":"X-Channel-id","value":"ea laborum"},{"description":"<p>(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"versionKey\": \"1607631400608\",\n      \"description\": \"Updated description\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/update/:Content_Id","description":"<p>This API is associated with updating content on the Sunbird Platform .</p>\n<ul>\n<li><strong><em>/Update/</em></strong> endpoint executes the \"Update Content\" request based on parameters provided as metadata in the request body.</li>\n<li>The endpoint for <strong>Update Content</strong> is <code>/content/v2/update</code></li>\n<li>It points to knowledge-mw-service - <code>/v2/content/update</code></li>\n<li>{...}refers to a section of review endpoint URL path that needs to be replaced by appropriate Id.</li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","update",":Content_Id"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[{"id":"245c9cfb-9334-43c0-a2da-557f1aa30fc7","description":{"content":"<p>(Required) Please append a valid Content Id To the Request URL</p>\n","type":"text/plain"},"type":"any","value":"ea laborum","key":"Content_Id"}]}},"response":[{"id":"34eea7f3-a337-4410-9125-c9a76c339082","name":"OK ! Successful operation.Content update operation was successfuly executed.","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID used to execute the API.","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"The unique ID provided to the State to which the user belongs.","key":"X-Channel-id","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"versionKey\": \"1607631400608\",\n      \"description\": \"Updated description\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/update/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","update",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.update\",\n  \"ver\": \"4.0\",\n  \"ts\": \"2020-12-10T20:26:07ZZ\",\n  \"params\": {\n    \"resmsgid\": \"80aa9310-b749-411c-a13b-8d9f25af389f\",\n    \"msgid\": null,\n    \"err\": null,\n    \"status\": \"successful\",\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"identifier\": \"do_1131697204035993601314\",\n    \"node_id\": \"do_1131697204035993601314\",\n    \"versionKey\": \"1607631967842\"\n  }\n}"},{"id":"19afe7db-c1c8-4f52-8665-b59de8638bb0","name":"BAD REQUEST. The 'Update Content' operation failed ! The possible reason for failure is that you may have missed providing input for a mandatory parameter.","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID used to execute the API.","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"The unique ID provided to the State to which the user belongs.","key":"X-Channel-id","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"versionKey\": \"1607631400608\",\n      \"description\": \"Updated description\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/update/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","update",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.update\",\n  \"ver\": \"4.0\",\n  \"ts\": \"2020-12-10T20:27:01ZZ\",\n  \"params\": {\n    \"resmsgid\": \"87eb99c6-bc10-406a-a6fe-13651f546ce1\",\n    \"msgid\": null,\n    \"err\": \"ERR_INVALID_REQUEST\",\n    \"status\": \"failed\",\n    \"errmsg\": \"Please Provide Version Key!\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {\n    \"messages\": null\n  }\n}"},{"id":"300e0e3a-f9b5-4bbd-b662-34c6ed7b46ea","name":"RESOURCE NOT FOUND,**Content Update** operation failed !The possible reason for failure is that you may have provided wrong content id.","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID used to execute the API.","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"The unique ID provided to the State to which the user belongs.","key":"X-Channel-id","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"versionKey\": \"1607631400608\",\n      \"description\": \"Updated description\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/update/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","update",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.update\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-12T00:31:16ZZ\",\n  \"params\": {\n    \"resmsgid\": \"c29ffd8b-d105-4eeb-a875-deaeae2bf5b8\",\n    \"msgid\": null,\n    \"err\": \"NOT_FOUND\",\n    \"status\": \"failed\",\n    \"errmsg\": \"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: do_21317015414162227213604\"\n  },\n  \"responseCode\": \"RESOURCE_NOT_FOUND\",\n  \"result\": {\n    \"messages\": null\n  }\n}"},{"id":"98097350-d5cb-4edb-8e0c-b62ca623cac6","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! These errors are tracked automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID used to execute the API.","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"The unique ID provided to the State to which the user belongs.","key":"X-Channel-id","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"versionKey\": \"1607631400608\",\n      \"description\": \"Updated description\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/update/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","update",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"cupidatat reprehenderit dolor\",\n  \"ver\": \"minim anim commodo\",\n  \"ts\": \"commodo\",\n  \"params\": {\n    \"resmsgid\": \"pariatur repre\",\n    \"msgid\": \"irure\",\n    \"err\": \"consequat esse ea\",\n    \"status\": \"esse\",\n    \"errmsg\": \"aliqua laboris velit\"\n  },\n  \"responseCode\": \"reprehenderit dolor elit sunt dolore\"\n}"}],"_postman_id":"4b7e384c-4e99-433f-ae85-725268a31d09"},{"name":"Read Content","id":"0b46ef2d-7a2a-4e46-ad22-b96295ac170a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[{"description":"<p>The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"url":"https://staging.sunbirded.org/api/content/v2/read/:Content_Id","description":"<p>This API is associated with viewing and reading out the content on the Sunbird Platform .</p>\n<ul>\n<li>The <strong><em>/read/{contentId}</em></strong> endpoint executes request for fetching the contents to be viewed and read.</li>\n<li>The endpoint for <strong>Read Content</strong> is <code>/content/v2/read</code></li>\n<li>It points to knowledge-mw-service - <code>/v2/content/read</code></li>\n<li>{...}refers to a section of reject endpoint URL path that needs to be replaced by appropriate Id.</li>\n<li>You need to provide a valid content Id value in {Content Id} field of API URL.</li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","read",":Content_Id"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[{"id":"d768021f-06e0-437a-8354-0d80babda9ab","description":{"content":"<p>(Required) Please append a valid Content Id To the Request URL</p>\n","type":"text/plain"},"type":"any","value":"ea laborum","key":"Content_Id"}]}},"response":[{"id":"09cc43e3-c242-49e5-91b3-e1f34dae7366","name":"OK ! Successful operation.\"Read content\" operation was successfully executed. For all possible metadata, please [refer](https://github.com/project-sunbird/knowledge-platform/blob/master/schemas/content/1.0/schema.json)","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"}],"url":{"raw":"https://staging.sunbirded.org/api/content/v2/read/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","read",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.read\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-10T20:38:32.510Z\",\n  \"params\": {\n    \"resmsgid\": \"ab16e5e0-3b27-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": \"ab131550-3b27-11eb-b0a2-8d5c9f561887\",\n    \"status\": \"successful\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"content\": {\n      \"ownershipType\": [\n        \"createdBy\"\n      ],\n      \"code\": \"org.sunbird.EHdZir\",\n      \"credentials\": {\n        \"enabled\": \"No\"\n      },\n      \"channel\": \"channel-1\",\n      \"language\": [\n        \"English\"\n      ],\n      \"mimeType\": \"application/vnd.ekstep.h5p-archive\",\n      \"idealScreenSize\": \"normal\",\n      \"createdOn\": \"2020-12-10T20:38:13.315+0000\",\n      \"objectType\": \"Content\",\n      \"primaryCategory\": \"Learning Resource\",\n      \"contentDisposition\": \"inline\",\n      \"lastUpdatedOn\": \"2020-12-10T20:38:13.315+0000\",\n      \"contentEncoding\": \"gzip\",\n      \"dialcodeRequired\": \"No\",\n      \"trackable\": {\n        \"enabled\": \"No\",\n        \"autoBatch\": \"No\"\n      },\n      \"identifier\": \"do_21316972702362828813477\",\n      \"lastStatusChangedOn\": \"2020-12-10T20:38:13.315+0000\",\n      \"audience\": [\n        \"Student\"\n      ],\n      \"os\": [\n        \"All\"\n      ],\n      \"visibility\": \"Default\",\n      \"consumerId\": \"2eaff3db-cdd1-42e5-a611-bebbf906e6cf\",\n      \"mediaType\": \"content\",\n      \"osId\": \"org.ekstep.quiz.app\",\n      \"languageCode\": [\n        \"en\"\n      ],\n      \"version\": 2,\n      \"versionKey\": \"1607632693315\",\n      \"license\": \"CC BY 4.0\",\n      \"idealScreenDensity\": \"hdpi\",\n      \"framework\": \"NCF\",\n      \"createdBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\",\n      \"compatibilityLevel\": 1,\n      \"name\": \"Test_h5p\",\n      \"status\": \"Draft\"\n    }\n  }\n}"},{"id":"37106094-8297-432c-9140-8fd7060a72d8","name":"RESOURCE NOT FOUND,**Content Read** operation failed !The possible reason for failure is that you may have provided wrong content id.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"}],"url":{"raw":"https://staging.sunbirded.org/api/content/v2/read/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","read",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.read\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-10T20:37:58.223Z\",\n  \"params\": {\n    \"resmsgid\": \"96a71df0-3b27-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"NOT_FOUND\",\n    \"errmsg\": \"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: do_1131697204035993601314\"\n  },\n  \"responseCode\": \"RESOURCE_NOT_FOUND\",\n  \"result\": {\n    \"messages\": null\n  }\n}"},{"id":"3ea4626b-6be6-4b24-a90f-e2b15e6e52db","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! These errors are tracked automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"}],"url":{"raw":"https://staging.sunbirded.org/api/content/v2/read/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","read",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"cupidatat reprehenderit dolor\",\n  \"ver\": \"minim anim commodo\",\n  \"ts\": \"commodo\",\n  \"params\": {\n    \"resmsgid\": \"pariatur repre\",\n    \"msgid\": \"irure\",\n    \"err\": \"consequat esse ea\",\n    \"status\": \"esse\",\n    \"errmsg\": \"aliqua laboris velit\"\n  },\n  \"responseCode\": \"reprehenderit dolor elit sunt dolore\"\n}"}],"_postman_id":"0b46ef2d-7a2a-4e46-ad22-b96295ac170a"},{"name":"Submit for Review","id":"e146c5b1-9cc7-4b97-ac17-3d4855cf6149","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"description":"<p>(Required) The Registered User ID to execute the API.</p>\n","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"<p>(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/review/:Content_Id","description":"<blockquote>\n<ul>\n<li>This API is associated with Submission of content for Review  on the Sunbird Platform .</li>\n</ul>\n</blockquote>\n<ul>\n<li>The**_/review/{content Id}_** endpoint executes \"Submit for Review\" request based on parameters provided as metadata in the request body.</li>\n<li>The endpoint for <strong>Review Content</strong> is <code>/content/v2/review</code></li>\n<li>It points to knowledge-mw-service - <code>/v2/content/review</code></li>\n<li>{...}refers to a section of review endpoint URL path that needs to be replaced by appropriate Id.</li>\n<li>You need to provide a valid content Id value in {Content Id} field of API URL.</li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","review",":Content_Id"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[{"id":"682380ec-126a-4018-a94f-cd46be02bc07","description":{"content":"<p>(Required) Please append a valid Content Id To the Request URL</p>\n","type":"text/plain"},"type":"any","value":"ea laborum","key":"Content_Id"}]}},"response":[{"id":"bcebbb15-308d-4353-a939-265199e9916a","name":"OK ! Successful operation.Content sent for review operation was successfully executed.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/review/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","review",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"ekstep.learning.content.review\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-10T21:06:26ZZ\",\n  \"params\": {\n    \"resmsgid\": \"186cf9a9-8094-4cdd-926f-b77a030921d1\",\n    \"msgid\": null,\n    \"err\": null,\n    \"status\": \"successful\",\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"node_id\": \"do_1131697376667402241315\",\n    \"versionKey\": \"1607634386533\"\n  }\n}"},{"id":"f40625b3-120d-43a3-817b-a1c71f76c098","name":"RESOURCE NOT FOUND,**Content Send for Review** operation failed !The possible reason for failure is that you may have provided wrong content id.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/review/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","review",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"ekstep.learning.content.review\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-10T21:06:54ZZ\",\n  \"params\": {\n    \"resmsgid\": \"944ac944-78d9-43e2-bfd5-337ab52b6552\",\n    \"msgid\": null,\n    \"err\": \"ERR_TAXONOMY_INVALID_CONTENT\",\n    \"status\": \"failed\",\n    \"errmsg\": \"Error! While Fetching the Content for Operation | [Content Id: do_11316973766674022413151]\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {}\n}"},{"id":"94239477-7184-42e7-b290-a8918c178d3c","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! We track these errors automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/review/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","review",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"cupidatat reprehenderit dolor\",\n  \"ver\": \"minim anim commodo\",\n  \"ts\": \"commodo\",\n  \"params\": {\n    \"resmsgid\": \"pariatur repre\",\n    \"msgid\": \"irure\",\n    \"err\": \"consequat esse ea\",\n    \"status\": \"esse\",\n    \"errmsg\": \"aliqua laboris velit\"\n  },\n  \"responseCode\": \"reprehenderit dolor elit sunt dolore\"\n}"}],"_postman_id":"e146c5b1-9cc7-4b97-ac17-3d4855cf6149"},{"name":"Publish Content","id":"ad1a1dee-3d98-4c63-bb15-8063dd445235","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n<li>Multipart/form-data</li>\n<li>Application/x-www-form-urlencoded</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"description":"<p>(Required) User Registered ID , which is used for logging In</p>\n","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"<p>(Required) Authorizing user in order to grant access.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"lastPublishedBy\": \"Ekstep\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/publish/:Content_Id","description":"<p>This API is associated with publishing content on the Sunbird Platform .</p>\n<ul>\n<li><strong><em>/publish/</em></strong> endpoint executes the \"Publish Content\" request based on parameters provided as metadata in the request body.</li>\n<li>The endpoint for <strong>Publish Content</strong> is <code>/content/v1/publish</code></li>\n<li>It points to knowledge-mw-service - <code>/v2/content/publish</code></li>\n<li>{...}refers to a section of review endpoint URL path that needs to be replaced by appropriate Id.</li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","publish",":Content_Id"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[{"id":"f79f0dc0-52c9-4ff9-94d7-b27d62939a10","description":{"content":"<p>(Required) Content Id to be published</p>\n","type":"text/plain"},"type":"any","value":"ea laborum","key":"Content_Id"}]}},"response":[{"id":"60c8e9a2-0a87-4fae-8470-a2bd4026f942","name":"OK ! Successful operation.**Content publish operation was successfully executed.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json\n  - Multipart/form-data\n  - Application/x-www-form-urlencoded","key":"Content-Type","value":"ea laborum"},{"description":"(Required) User Registered ID , which is used for logging In","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) Authorizing user in order to grant access.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"lastPublishedBy\": \"Ekstep\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v1/publish/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v1","publish",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Content Id to be published"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.v3.publish\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-10T21:41:23.491Z\",\n  \"params\": {\n    \"resmsgid\": \"72c4ef30-3b30-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": \"72979da0-3b30-11eb-b0a2-8d5c9f561887\",\n    \"status\": \"successful\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"content_id\": \"do_21316975736724684813479\",\n    \"publishStatus\": \"Publish Operation for Content Id 'do_21316975736724684813479' Started Successfully!\"\n  }\n}"},{"id":"88188f4d-5650-49d5-ab88-81785df203bd","name":"RESOURCE NOT FOUND,**Content Send for Review** operation failed !The possible reason for failure is that you may have provided wrong content id.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json\n  - Multipart/form-data\n  - Application/x-www-form-urlencoded","key":"Content-Type","value":"ea laborum"},{"description":"(Required) User Registered ID , which is used for logging In","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) Authorizing user in order to grant access.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"lastPublishedBy\": \"Ekstep\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v1/publish/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v1","publish",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Content Id to be published"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.v3.publish\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-10T21:51:39.870Z\",\n  \"params\": {\n    \"resmsgid\": \"e228e7e0-3b31-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"NOT_FOUND\",\n    \"errmsg\": \"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: do_213169757367246848134791\"\n  },\n  \"responseCode\": \"RESOURCE_NOT_FOUND\",\n  \"result\": {}\n}"},{"id":"1e5c7d21-3c15-4442-9179-18e4b31aef20","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! We track these errors automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json\n  - Multipart/form-data\n  - Application/x-www-form-urlencoded","key":"Content-Type","value":"ea laborum"},{"description":"(Required) User Registered ID , which is used for logging In","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) Authorizing user in order to grant access.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"lastPublishedBy\": \"Ekstep\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v1/publish/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v1","publish",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Content Id to be published"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"cupidatat reprehenderit dolor\",\n  \"ver\": \"minim anim commodo\",\n  \"ts\": \"commodo\",\n  \"params\": {\n    \"resmsgid\": \"pariatur repre\",\n    \"msgid\": \"irure\",\n    \"err\": \"consequat esse ea\",\n    \"status\": \"esse\",\n    \"errmsg\": \"aliqua laboris velit\"\n  },\n  \"responseCode\": \"reprehenderit dolor elit sunt dolore\"\n}"}],"_postman_id":"ad1a1dee-3d98-4c63-bb15-8063dd445235"},{"name":"Reject Content Review","id":"4a807f45-b433-43aa-a26c-4042833781e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"description":"<p>(Required) The Registered User ID to execute the API.</p>\n","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"<p>(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/reject/:Content_Id","description":"<p>This API is associated with rejecting content under review.</p>\n<ul>\n<li>The <strong><em>/reject/{contentId}</em></strong> endpoint executes request for rejecting content which is under review.</li>\n<li>The endpoint for <strong>Reject Content</strong> is <code>/content/v2/reject</code></li>\n<li>It points to knowledge-mw-service - <code>/v2/content/reject</code></li>\n<li>{...}refers to a section of reject endpoint URL path that needs to be replaced by appropriate Id.</li>\n<li>You need to provide a valid content Id value in {Content Id} field of API URL.</li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","reject",":Content_Id"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[{"id":"2dd91872-b3e1-4879-a3ed-018c81aed26f","description":{"content":"<p>(Required) Please append a valid Content Id To the Request URL</p>\n","type":"text/plain"},"type":"any","value":"ea laborum","key":"Content_Id"}]}},"response":[{"id":"45950714-6124-41b0-9806-0f7bbc1296a4","name":"OK ! Successful operation.\"Content reject\" operation was successfully executed.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/reject/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","reject",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.v3.reject\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-11T08:09:46.451Z\",\n  \"params\": {\n    \"resmsgid\": \"3b7c1230-3b88-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": \"3b692670-3b88-11eb-b0a2-8d5c9f561887\",\n    \"status\": \"successful\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"node_id\": \"do_213168073757138944196\",\n    \"versionKey\": \"1607674186357\"\n  }\n}"},{"id":"3d7c60d5-e74c-4202-8ec9-fa58e0c55a0e","name":"ERROR CONTENT NOT IN REVIEW STATUS ! Looks like contentId provided is not in review status.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/reject/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","reject",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.v3.reject\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-11T08:03:51.807Z\",\n  \"params\": {\n    \"resmsgid\": \"6819b0f0-3b87-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_CONTENT_NOT_IN_REVIEW\",\n    \"errmsg\": \"Content is not in review state for identifier: do_2131680942619115521243\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {}\n}"},{"id":"da9e7fad-7a36-4ce9-b5a5-68ed76e67fa9","name":"RESOURCE NOT FOUND ! Looks like contentId provided is not a valid content.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/reject/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","reject",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.v3.reject\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-11T08:08:30.454Z\",\n  \"params\": {\n    \"resmsgid\": \"0e2fd960-3b88-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"NOT_FOUND\",\n    \"errmsg\": \"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: do_2123462720305561601147\"\n  },\n  \"responseCode\": \"RESOURCE_NOT_FOUND\",\n  \"result\": {}\n}"},{"id":"28d1683d-3fa6-4ff9-a301-6f8b521fdab5","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! These errors are tracked automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/reject/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","reject",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"cupidatat reprehenderit dolor\",\n  \"ver\": \"minim anim commodo\",\n  \"ts\": \"commodo\",\n  \"params\": {\n    \"resmsgid\": \"pariatur repre\",\n    \"msgid\": \"irure\",\n    \"err\": \"consequat esse ea\",\n    \"status\": \"esse\",\n    \"errmsg\": \"aliqua laboris velit\"\n  },\n  \"responseCode\": \"reprehenderit dolor elit sunt dolore\"\n}"}],"_postman_id":"4a807f45-b433-43aa-a26c-4042833781e9"},{"name":"Retire Content","id":"30e6be1d-6290-4b43-9e77-199f17e0b570","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"DELETE","header":[{"description":"<p>(Required) The Registered User ID to execute the API.</p>\n","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"<p>(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"url":"https://staging.sunbirded.org/api/content/v2/retire/:Content_Id","description":"<p>This API is associated with retiring content on the Sunbird Platform .</p>\n<ul>\n<li>The <strong><em>/retire/{contentId}</em></strong> endpoint executes  \"Retire Content\" request based on content Id to delete the specific content.'</li>\n<li>The endpoint for <strong>Retire Content</strong> is <code>/content/v2/retire</code></li>\n<li>It points to knowledge-mw-service - <code>/v2/content/retire</code></li>\n<li>{...}refers to a section of review endpoint URL path that needs to be replaced by appropriate Id.</li>\n<li>It is mandatory to provide values for parameters.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","retire",":Content_Id"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[{"id":"2ee29227-2fbb-4387-afda-490b7dd56ca6","description":{"content":"<p>(Required) Please append a valid Content Id To the Request URL</p>\n","type":"text/plain"},"type":"any","value":"ea laborum","key":"Content_Id"}]}},"response":[{"id":"b72ce930-11dd-42d0-961f-908c08cf90ee","name":"OK ! Successful operation.**Content deletion operation was successfully executed.","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"url":{"raw":"https://staging.sunbirded.org/api/content/v2/retire/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","retire",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.retire\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-11T12:05:52ZZ\",\n  \"params\": {\n    \"resmsgid\": \"ebd2655a-a69a-460c-9bcf-0f45f5938fac\",\n    \"msgid\": null,\n    \"err\": null,\n    \"status\": \"successful\",\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"identifier\": \"do_11283183576849612818\",\n    \"node_id\": \"do_11283183576849612818\"\n  }\n}"},{"id":"339fc2a9-27a9-4276-9c30-becbe42dda78","name":"ERR CONTENT RETIRE! Content is already retired.","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"url":{"raw":"https://staging.sunbirded.org/api/content/v2/retire/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","retire",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.retire\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-11T12:01:24ZZ\",\n  \"params\": {\n    \"resmsgid\": \"ec20ec05-581c-4559-988a-449f3c5ae698\",\n    \"msgid\": null,\n    \"err\": \"ERR_CONTENT_RETIRE\",\n    \"status\": \"failed\",\n    \"errmsg\": \"Content with Identifier do_11316298360130764811 is already Retired.\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {\n    \"messages\": null\n  }\n}"},{"id":"a391e3f0-7fd2-4e10-b79c-a2b38ee7d67f","name":"RESOURCE NOT FOUND,**Content Send for Flag Accept** operation failed !The possible reason for failure is that you may have provided wrong content id.","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"url":{"raw":"https://staging.sunbirded.org/api/content/v2/retire/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","retire",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.retire\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-11T11:56:35ZZ\",\n  \"params\": {\n    \"resmsgid\": \"d826e808-2866-4603-9b60-0a3130a37128\",\n    \"msgid\": null,\n    \"err\": \"NOT_FOUND\",\n    \"status\": \"failed\",\n    \"errmsg\": \"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: do_213143334457982976144\"\n  },\n  \"responseCode\": \"RESOURCE_NOT_FOUND\",\n  \"result\": {\n    \"messages\": null\n  }\n}"},{"id":"4ec377be-880d-47d0-969f-e7c693426309","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! These errors are tracked automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"url":{"raw":"https://staging.sunbirded.org/api/content/v2/retire/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","retire",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"cupidatat reprehenderit dolor\",\n  \"ver\": \"minim anim commodo\",\n  \"ts\": \"commodo\",\n  \"params\": {\n    \"resmsgid\": \"pariatur repre\",\n    \"msgid\": \"irure\",\n    \"err\": \"consequat esse ea\",\n    \"status\": \"esse\",\n    \"errmsg\": \"aliqua laboris velit\"\n  },\n  \"responseCode\": \"reprehenderit dolor elit sunt dolore\"\n}"}],"_postman_id":"30e6be1d-6290-4b43-9e77-199f17e0b570"},{"name":"Content Discard","id":"96c2badd-6fee-4c45-9306-88452c6c6c45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource.Possible media types can be:- </p>\n<ul>\n<li>Application/json</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"description":"<p>(Required) The Registered User ID used to execute the API.</p>\n","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"<p>The unique ID provided to the State to which the user belongs.</p>\n","key":"X-Channel-id","value":"ea laborum"},{"description":"<p>(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"url":"https://staging.sunbirded.org/api/content/v2/discard/:content_id","description":"<p>This API is associated with Discard Content on the Sunbird Platform .</p>\n<ul>\n<li><strong><em>/Content/</em></strong> endpoint executes the \"Discard Content\" request based on parameters provided as metadata in the request body.</li>\n<li>The endpoint for <strong>Discard Content</strong> is <code>/Content/v2/discard</code></li>\n<li>It points to knowledge-mw-service - <code>/v2/Content/discard</code></li>\n<li>{...}refers to a section of review endpoint URL path that needs to be replaced by appropriate Id.</li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","discard",":content_id"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[{"id":"af736d04-2d07-4281-80a8-baeb2dc18400","description":{"content":"<p>(Required) Please append a valid Content Id To the Request URL</p>\n","type":"text/plain"},"type":"any","value":"ea laborum","key":"content_id"}]}},"response":[{"id":"20638230-8af4-4702-9cb9-308949ce63b9","name":"OK","originalRequest":{"method":"DELETE","header":[{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:- \n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID used to execute the API.","key":"X-Authenticated-User-Token","value":"ea laborum"},{"description":"The unique ID provided to the State to which the user belongs.","key":"X-Channel-id","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"url":{"raw":"https://staging.sunbirded.org/api/content/v2/discard/:content_id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","discard",":content_id"],"variable":[{"key":"content_id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.discard\",\n  \"ver\": \"4.0\",\n  \"ts\": \"2022-01-06T06:41:51ZZ\",\n  \"params\": {\n    \"resmsgid\": \"fc899cd5-958b-40ad-9a5c-6f31b65404b4\",\n    \"status\": \"successful\"\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"identifier\": \"do_1134467341514588161171\",\n    \"message\": \"Draft version of the content with id : do_1134467341514588161171 is discarded\",\n    \"node_id\": \"do_1134467341514588161171\"\n  }\n}"}],"_postman_id":"96c2badd-6fee-4c45-9306-88452c6c6c45"},{"name":"Copy Content","id":"0cb84d83-dc97-4ce6-83af-8ab93009b828","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"description":"<p>(Required) The Registered User ID to execute the API.</p>\n","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"<p>(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"createdBy\": \"user1\",\n      \"createdFor\": [\n        \"user2\"\n      ],\n      \"organisation\": [\n        \"sunbird\"\n      ],\n      \"framework\": \"NCF\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/copy/:Content_Id","description":"<p>This API is associated with copying a content on the Sunbird Platform .</p>\n<ul>\n<li>The **_/copy/_**endpoint executes request for copy content, if content is found appropriate.</li>\n<li>The endpoint for <strong>Copy Content</strong> is <code>/content/v2/copy</code></li>\n<li>It points to knowledge-mw-service - <code>/v2/content/copy</code></li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","copy",":Content_Id"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[{"id":"58d05092-62f3-4d96-aafe-6e2623b19502","description":{"content":"<p>(Required) Please append a valid Content Id To the Request URL</p>\n","type":"text/plain"},"type":"any","value":"ea laborum","key":"Content_Id"}]}},"response":[{"id":"96956a4b-d410-4ad1-b2e1-3c4cf6cbba69","name":"OK ! Successful operation.\"Copy\" operation was successfully executed.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"createdBy\": \"user1\",\n      \"createdFor\": [\n        \"user2\"\n      ],\n      \"organisation\": [\n        \"sunbird\"\n      ],\n      \"framework\": \"NCF\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/copy/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","copy",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.copy\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-11T23:28:25.343Z\",\n  \"params\": {\n    \"resmsgid\": \"90e788f0-3c08-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": \"90b3f5d0-3c08-11eb-b0a2-8d5c9f561887\",\n    \"status\": \"successful\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"node_id\": {\n      \"do_21316884557433241613378\": \"do_21317051846683852813814\"\n    },\n    \"versionKey\": \"1607729305036\"\n  }\n}"},{"id":"0b5dff6f-2ad7-4df0-982c-636900be2d3e","name":"BAD REQUEST. The \"Copy Content\" operation failed ! The possible reason for failure is that you may have missed providing input for a mandatory parameter.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"createdBy\": \"user1\",\n      \"createdFor\": [\n        \"user2\"\n      ],\n      \"organisation\": [\n        \"sunbird\"\n      ],\n      \"framework\": \"NCF\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/copy/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","copy",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.copy\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-11T23:27:31.708Z\",\n  \"params\": {\n    \"resmsgid\": \"70ef7bc0-3c08-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_INVALID_REQUEST\",\n    \"errmsg\": \"Please provide valid value for List(createdBy, createdFor, organisation, framework)\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {\n    \"messages\": null\n  }\n}"},{"id":"33038ecb-d06d-4cf8-8712-9bd5923f35dd","name":"RESOURCE NOT FOUND,**Content Send for Copy** operation failed !The possible reason for failure is that you may have provided wrong content id.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"createdBy\": \"user1\",\n      \"createdFor\": [\n        \"user2\"\n      ],\n      \"organisation\": [\n        \"sunbird\"\n      ],\n      \"framework\": \"NCF\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/copy/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","copy",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.copy\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-11T23:28:36.863Z\",\n  \"params\": {\n    \"resmsgid\": \"97c558f0-3c08-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"NOT_FOUND\",\n    \"errmsg\": \"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: do_213168845574332416133781\"\n  },\n  \"responseCode\": \"RESOURCE_NOT_FOUND\",\n  \"result\": {\n    \"messages\": null\n  }\n}"},{"id":"b0cc5c72-abd0-4c02-8c36-6e6c6ab4a116","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! These errors are tracked automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"createdBy\": \"user1\",\n      \"createdFor\": [\n        \"user2\"\n      ],\n      \"organisation\": [\n        \"sunbird\"\n      ],\n      \"framework\": \"NCF\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v2/copy/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v2","copy",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"cupidatat reprehenderit dolor\",\n  \"ver\": \"minim anim commodo\",\n  \"ts\": \"commodo\",\n  \"params\": {\n    \"resmsgid\": \"pariatur repre\",\n    \"msgid\": \"irure\",\n    \"err\": \"consequat esse ea\",\n    \"status\": \"esse\",\n    \"errmsg\": \"aliqua laboris velit\"\n  },\n  \"responseCode\": \"reprehenderit dolor elit sunt dolore\"\n}"}],"_postman_id":"0cb84d83-dc97-4ce6-83af-8ab93009b828"},{"name":"Import Content","id":"fee76c9c-0d97-4980-a867-c989ac63030e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"description":"<p>(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": [\n      {\n        \"source\": \"https://vdn.diksha.gov.in/api/content/v2/read/do_4313124780355543040126730\",\n        \"metadata\": {},\n        \"collection\": [\n          {\n            \"identifier\": \"do_3131112587361648641337\",\n            \"unitId\": \"do_3131112587369922561425\"\n          }\n        ]\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/import","description":"<p>This API is associated with importing a content on the Sunbird Platform from different environment.</p>\n<ul>\n<li>The **_/import/_**endpoint executes request for impoting content, if content is found appropriate.</li>\n<li>The endpoint for <strong>Import Content</strong> is <code>/content/v2/import</code></li>\n<li>It points to content-service - <code>/content/v3/import</code></li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","import"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[]}},"response":[{"id":"eca96527-c87b-4d55-8952-03f4e6fcb880","name":"OK ! Successful operation.\"Import\" operation was successfully executed.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": [\n      {\n        \"source\": \"https://vdn.diksha.gov.in/api/content/v2/read/do_4313124780355543040126730\",\n        \"metadata\": {},\n        \"collection\": [\n          {\n            \"identifier\": \"do_3131112587361648641337\",\n            \"unitId\": \"do_3131112587369922561425\"\n          }\n        ]\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/import"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.import\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-17T16:29:11ZZ\",\n  \"params\": {\n    \"resmsgid\": \"7cce8934-0a2f-46bf-a0ee-be5f49874cae\",\n    \"msgid\": null,\n    \"err\": null,\n    \"status\": \"successful\",\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"processId\": \"80a765c7-2202-4b3f-b473-448b5c2cd20e\"\n  }\n}"},{"id":"17525e6e-58d0-4756-8c7b-2cf5e9f48929","name":"BAD REQUEST. The \"Import Content\" operation failed ! The possible reason for failure is that you may have missed providing input for a mandatory parameter.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": [\n      {\n        \"source\": \"https://vdn.diksha.gov.in/api/content/v2/read/do_4313124780355543040126730\",\n        \"metadata\": {},\n        \"collection\": [\n          {\n            \"identifier\": \"do_3131112587361648641337\",\n            \"unitId\": \"do_3131112587369922561425\"\n          }\n        ]\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/import"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.import\",\n  \"ver\": \"3.0\",\n  \"ts\": \"2020-12-17T16:30:16ZZ\",\n  \"params\": {\n    \"resmsgid\": \"31f88a39-2514-4d86-b424-240166e315be\",\n    \"msgid\": null,\n    \"err\": \"ERR_REQUIRED_PROPS_VALIDATION\",\n    \"status\": \"failed\",\n    \"errmsg\": \"Validation Failed! Mandatory Properties Are [name, code, mimeType, primaryCategory, artifactUrl, framework]\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {\n    \"messages\": null\n  }\n}"},{"id":"35bb0f74-2574-40b7-be17-b70a4fbfbcf1","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! These errors are tracked automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": [\n      {\n        \"source\": \"https://vdn.diksha.gov.in/api/content/v2/read/do_4313124780355543040126730\",\n        \"metadata\": {},\n        \"collection\": [\n          {\n            \"identifier\": \"do_3131112587361648641337\",\n            \"unitId\": \"do_3131112587369922561425\"\n          }\n        ]\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/import"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"cupidatat reprehenderit dolor\",\n  \"ver\": \"minim anim commodo\",\n  \"ts\": \"commodo\",\n  \"params\": {\n    \"resmsgid\": \"pariatur repre\",\n    \"msgid\": \"irure\",\n    \"err\": \"consequat esse ea\",\n    \"status\": \"esse\",\n    \"errmsg\": \"aliqua laboris velit\"\n  },\n  \"responseCode\": \"reprehenderit dolor elit sunt dolore\"\n}"}],"_postman_id":"fee76c9c-0d97-4980-a867-c989ac63030e"},{"name":"Reserve DIAL code","id":"cb3a2a6e-2e4c-4a13-9cde-5abf9b848baa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) It the Unique Id to identify the root organization to which the user belongs</p>\n","key":"X-Channel-ID","value":"ad magna consequat"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"dialcodes\": {\n      \"count\": 2\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/dialcode/reserve","description":"<p>This API is associated with reserve the DIAL codes - The endpoint for <strong>Reserve DIAL code</strong> is <code>/content/v2/dialcode/reserve</code> - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.</p>\n","urlObject":{"path":["content","v2","dialcode","reserve"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[]}},"response":[{"id":"fdb4bb47-739a-40ec-9150-637e4c55a3ee","name":"OK ! Successful operation.\"Reserve DIAL code\" operation was successfully executed.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) It the Unique Id to identify the root organization to which the user belongs","key":"X-Channel-ID","value":"ad magna consequat"},{"description":"(Required) The Content Type entity is the media type of the resource. Possible media types can be:\n- Application/json","key":"Content-Type","value":"ad magna consequat"},{"description":"(Required) All User APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ad magna consequat"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"dialcodes\": {\n      \"count\": 2\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/dialcode/v1/reserve"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.dialcode.reserve\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-18T10:16:46.725Z\",\n  \"params\": {\n    \"resmsgid\": \"2269db50-411a-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": \"22192340-411a-11eb-9b0c-abcfbdf41bc3\",\n    \"status\": \"successful\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"count\": 2,\n    \"reservedDialcodes\": {\n      \"P6M8X2\": 1,\n      \"G4R3K3\": 0\n    },\n    \"node_id\": \"do_681\",\n    \"versionKey\": \"1608286373090\"\n  }\n}"},{"id":"f5cb4e4e-0788-4c96-98a5-57ad3f68b464","name":"BAD REQUEST. The \"List DIAL code\" operation failed ! The possible reason for failure is that you may have missed providing input for a mandatory parameter or providing wrong count.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) It the Unique Id to identify the root organization to which the user belongs","key":"X-Channel-ID","value":"ad magna consequat"},{"description":"(Required) The Content Type entity is the media type of the resource. Possible media types can be:\n- Application/json","key":"Content-Type","value":"ad magna consequat"},{"description":"(Required) All User APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ad magna consequat"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"dialcodes\": {\n      \"count\": 2\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/dialcode/v1/reserve"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.dialcode.reserve\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-18T10:21:41.072Z\",\n  \"params\": {\n    \"resmsgid\": \"d1dba500-411a-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_INVALID_COUNT\",\n    \"errmsg\": \"Invalid dialcode count range. Its hould be between 1 to 2500.\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {}\n}"},{"id":"1c5eaeb2-10da-4ec8-8aea-f7e776df9927","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! These errors are tracked automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) It the Unique Id to identify the root organization to which the user belongs","key":"X-Channel-ID","value":"ad magna consequat"},{"description":"(Required) The Content Type entity is the media type of the resource. Possible media types can be:\n- Application/json","key":"Content-Type","value":"ad magna consequat"},{"description":"(Required) All User APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ad magna consequat"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"dialcodes\": {\n      \"count\": 2\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/dialcode/v1/reserve"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"cb3a2a6e-2e4c-4a13-9cde-5abf9b848baa"},{"name":"Link DIAL code","id":"02f47a1c-a56c-4bef-a4ad-51bb8cdb38ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) It the Unique Id to identify the root organization to which the user belongs</p>\n","key":"X-Channel-ID","value":"ad magna consequat"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"identifier\": [\n        \"do_12345\"\n      ],\n      \"dialcode\": [\n        \"A1Y2G3\"\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v2/dialcode/link","description":"<p>This API is associated with linking DIAL code to the content</p>\n<ul>\n<li>The endpoint for <strong>Link DIAL code</strong> is <code>/content/v2/dialcode/link</code></li>\n<li>The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v2","dialcode","link"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[]}},"response":[{"id":"c8b328b5-cd9b-4d64-ba33-aaa39b816c99","name":"OK ! Successful operation.\"Link DIAL code\" operation was successfully executed.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) It the Unique Id to identify the root organization to which the user belongs","key":"X-Channel-ID","value":"ad magna consequat"},{"description":"(Required) The Content Type entity is the media type of the resource. Possible media types can be:\n- Application/json","key":"Content-Type","value":"ad magna consequat"},{"description":"(Required) All User APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ad magna consequat"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"identifier\": [\n        \"do_12345\"\n      ],\n      \"dialcode\": [\n        \"A1Y2G3\"\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/dialcode/v1/content/link"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.link\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-18T09:20:57.108Z\",\n  \"params\": {\n    \"resmsgid\": \"55e2dd40-4112-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": \"55bd05c0-4112-11eb-9b0c-abcfbdf41bc3\",\n    \"status\": \"successful\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {}\n}"},{"id":"31672f80-6331-4153-a84b-37173f6c21f0","name":"OK ! Partial Successful operation.\"Link DIAL code\" operation was successfully executed.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) It the Unique Id to identify the root organization to which the user belongs","key":"X-Channel-ID","value":"ad magna consequat"},{"description":"(Required) The Content Type entity is the media type of the resource. Possible media types can be:\n- Application/json","key":"Content-Type","value":"ad magna consequat"},{"description":"(Required) All User APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ad magna consequat"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"identifier\": [\n        \"do_12345\"\n      ],\n      \"dialcode\": [\n        \"A1Y2G3\"\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/dialcode/v1/content/link"},"status":"Multi-Status (WebDAV) (RFC 4918)","code":207,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.link\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-18T09:32:11.112Z\",\n  \"params\": {\n    \"resmsgid\": \"e79fb680-4113-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_DIALCODE_LINK\",\n    \"errmsg\": \"Content not found with id(s): invalid_do_id_1\"\n  },\n  \"responseCode\": \"PARTIAL_SUCCESS\",\n  \"result\": {}\n}"},{"id":"9649554e-d5b3-472f-9a70-a124547563fd","name":"BAD REQUEST. The \"Link DIAL code\" operation failed ! The possible reason for failure is that you may have missed providing input for a mandatory parameter.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) It the Unique Id to identify the root organization to which the user belongs","key":"X-Channel-ID","value":"ad magna consequat"},{"description":"(Required) The Content Type entity is the media type of the resource. Possible media types can be:\n- Application/json","key":"Content-Type","value":"ad magna consequat"},{"description":"(Required) All User APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ad magna consequat"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"identifier\": [\n        \"do_12345\"\n      ],\n      \"dialcode\": [\n        \"A1Y2G3\"\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/dialcode/v1/content/link"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.link\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-18T09:30:48.549Z\",\n  \"params\": {\n    \"resmsgid\": \"b6699950-4113-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_DIALCODE_CONTENT_LINK_FIELDS_MISSING\",\n    \"errmsg\": \"Required fields for content link dialcode are missing\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {}\n}"},{"id":"a459630c-2599-4fe5-ae60-410a01e9b45b","name":"RESOURCE NOT FOUND. The \"Link DIAL code\" operation failed ! The possible reason for failure is that you may have passed invalid input.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) It the Unique Id to identify the root organization to which the user belongs","key":"X-Channel-ID","value":"ad magna consequat"},{"description":"(Required) The Content Type entity is the media type of the resource. Possible media types can be:\n- Application/json","key":"Content-Type","value":"ad magna consequat"},{"description":"(Required) All User APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ad magna consequat"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"identifier\": [\n        \"do_12345\"\n      ],\n      \"dialcode\": [\n        \"A1Y2G3\"\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/dialcode/v1/content/link"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.link\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-18T09:33:04.542Z\",\n  \"params\": {\n    \"resmsgid\": \"07787be0-4114-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_DIALCODE_LINK\",\n    \"errmsg\": \"DIAL Code not found with id(s):[INV123, INV234]\"\n  },\n  \"responseCode\": \"RESOURCE_NOT_FOUND\",\n  \"result\": {}\n}"},{"id":"6ef6c5bd-efd9-4fae-9199-b901995c5b62","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! These errors are tracked automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) It the Unique Id to identify the root organization to which the user belongs","key":"X-Channel-ID","value":"ad magna consequat"},{"description":"(Required) The Content Type entity is the media type of the resource. Possible media types can be:\n- Application/json","key":"Content-Type","value":"ad magna consequat"},{"description":"(Required) All User APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"ad magna consequat"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"content\": {\n      \"identifier\": [\n        \"do_12345\"\n      ],\n      \"dialcode\": [\n        \"A1Y2G3\"\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/dialcode/v1/content/link"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"02f47a1c-a56c-4bef-a4ad-51bb8cdb38ba"}],"id":"8aee7616-617f-4698-8243-768514a3eee4","_postman_id":"8aee7616-617f-4698-8243-768514a3eee4","description":""},{"name":"v1","item":[{"name":"lock","item":[{"name":"lock list","id":"dcae7cfe-c9e5-41ab-93d9-1dd4de9bebcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource</p>\n","key":"Content-Type","value":"application/json"},{"description":"<p>(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.</p>\n","key":"Authorization","value":"ipsum voluptate qui"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"filters\": {\n      \"resourceId\": [\n        \"do_11319479631000371211\",\n        \"do_11319851826161254418\",\n        \"do_113107812356022272164\",\n        \"do_1131983093687828481353\",\n        \"do_113197939102253056140\",\n        \"do_113197917149233152139\",\n        \"do_113197913444737024138\",\n        \"do_113197844509425664130\",\n        \"do_113197903995772928137\"\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/lock/v1/list","description":"<p>This API searches for a list of Locked resource by a user or system or service.</p>\n<ul>\n<li>The <strong><em>lock/v1/list</em></strong> endpoint searches the list of  Locked resource.</li>\n<li>All fields marked with an * are mandatory</li>\n<li>Required fields cannot be null or empty</li>\n<li>Backend Route: <a href=\"http://knowledge-mw-service:5000/v1/lock/list\">http://knowledge-mw-service:5000/v1/lock/list</a></li>\n</ul>\n","urlObject":{"path":["lock","v1","list"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[]}},"response":[{"id":"5187bebe-8fb6-4205-a4dd-797c5ae60505","name":"This represents the list response success","originalRequest":{"method":"POST","header":[{"description":"(Required) The Content Type entity is the media type of the resource","key":"Content-Type","value":"application/json"},{"description":"(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.","key":"Authorization","value":"ipsum voluptate qui"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"filters\": {\n      \"resourceId\": [\n        \"do_11319479631000371211\",\n        \"do_11319851826161254418\",\n        \"do_113107812356022272164\",\n        \"do_1131983093687828481353\",\n        \"do_113197939102253056140\",\n        \"do_113197917149233152139\",\n        \"do_113197913444737024138\",\n        \"do_113197844509425664130\",\n        \"do_113197903995772928137\"\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/lock/v1/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.lock.list\",\n  \"ver\": 1,\n  \"ts\": \"2021-01-21T09:44:03.248Z\",\n  \"params\": {\n    \"resmsgid\": \"32228b00-5bcd-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": \"3247615a-0095-9236-9b6b-357d7b130b6e\",\n    \"status\": \"successful\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"count\": 1,\n    \"data\": [\n      {\n        \"lockId\": \"1d767439-a517-4433-bf46-fb0cca148d31\",\n        \"resourceId\": \"do_11319479631000371211\",\n        \"resourceType\": \"Content\",\n        \"resourceInfo\": \"{\\\"contentType\\\":\\\"TextBook\\\",\\\"framework\\\":\\\"ekstep_ncert_k-12\\\",\\\"identifier\\\":\\\"do_11319479631000371211\\\",\\\"mimeType\\\":\\\"application/vnd.ekstep.content-collection\\\"}\",\n        \"createdBy\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n        \"creatorInfo\": \"{\\\"name\\\":\\\"N11\\\",\\\"id\\\":\\\"5a587cc1-e018-4859-a0a8-e842650b9d64\\\"}\",\n        \"createdOn\": \"2021-01-21T09:22:12.577Z\",\n        \"deviceId\": \"ad8ed16beb09e7c91534c2af80a1a41e\",\n        \"expiresAt\": \"2021-01-21T10:26:27.591Z\"\n      }\n    ]\n  }\n}"},{"id":"96f9bca9-3aef-492d-b4dc-7aa94aef52a9","name":"This represents the Internal Server Error","originalRequest":{"method":"POST","header":[{"description":"(Required) The Content Type entity is the media type of the resource","key":"Content-Type","value":"application/json"},{"description":"(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.","key":"Authorization","value":"ipsum voluptate qui"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"filters\": {\n      \"resourceId\": [\n        \"do_11319479631000371211\",\n        \"do_11319851826161254418\",\n        \"do_113107812356022272164\",\n        \"do_1131983093687828481353\",\n        \"do_113197939102253056140\",\n        \"do_113197917149233152139\",\n        \"do_113197913444737024138\",\n        \"do_113197844509425664130\",\n        \"do_113197903995772928137\"\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/lock/v1/list"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.lock.list\",\n  \"ver\": 1,\n  \"ts\": \"2021-01-21T12:59:12.456Z\",\n  \"params\": {\n    \"resmsgid\": \"755de480-5be8-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_LISTING_LOCK_FAILED\",\n    \"errmsg\": \"Listing lock failed\"\n  },\n  \"responseCode\": \"SERVER_ERROR\",\n  \"result\": {}\n}"}],"_postman_id":"dcae7cfe-c9e5-41ab-93d9-1dd4de9bebcd"},{"name":"Lock retire","id":"40221def-d942-4a7d-a41d-67003e58b947","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource</p>\n","key":"Content-Type","value":"application/json"},{"description":"<p>(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.</p>\n","key":"Authorization","value":"ipsum voluptate qui"},{"key":"Accept","value":"application/json; charset=utf-8"}],"url":"https://staging.sunbirded.org/api/lock/v1/retire","description":"<p>This API used to retire the Locked resource by a user or system or service.</p>\n<ul>\n<li>The <strong><em>lock/v1/retire</em></strong> endpoint used to retire  the Locked resource by a user or system or service.</li>\n<li>All fields marked with an * are mandatory</li>\n<li>Required fields cannot be null or empty</li>\n<li>Backend Route: <a href=\"http://knowledge-mw-service:5000/v1/lock/retire\">http://knowledge-mw-service:5000/v1/lock/retire</a></li>\n</ul>\n","urlObject":{"path":["lock","v1","retire"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[]}},"response":[{"id":"e750ddf3-47c1-4973-9be5-617f7aa975c2","name":"This represents the retire success response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) The Content Type entity is the media type of the resource","key":"Content-Type","value":"application/json"},{"description":"(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.","key":"Authorization","value":"ipsum voluptate qui"}],"url":"https://staging.sunbirded.org/api/lock/v1/retire"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.lock.retire\",\n  \"ver\": 1,\n  \"ts\": \"2021-01-21T11:07:24.864Z\",\n  \"params\": {\n    \"resmsgid\": \"d7549400-5bd8-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": \"eb729276-769e-8db2-477a-91548152908b\",\n    \"status\": \"successful\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {}\n}"},{"id":"eab38965-68e0-4683-97f3-f69f21a6f24a","name":"This represents the retire Bad Request","originalRequest":{"method":"DELETE","header":[{"description":"(Required) The Content Type entity is the media type of the resource","key":"Content-Type","value":"application/json"},{"description":"(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.","key":"Authorization","value":"ipsum voluptate qui"}],"url":"https://staging.sunbirded.org/api/lock/v1/retire"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.lock.retire\",\n  \"ver\": 1,\n  \"ts\": \"2021-01-21T11:08:43.618Z\",\n  \"params\": {\n    \"resmsgid\": \"0645ca40-5bd9-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_LOCK_RETIRING_FAILED\",\n    \"errmsg\": \"Resource is not locked\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {}\n}"}],"_postman_id":"40221def-d942-4a7d-a41d-67003e58b947"},{"name":"Lock create","id":"b6bf8466-be2d-41d5-9b68-2b21948498d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource</p>\n","key":"Content-Type","value":"application/json"},{"description":"<p>(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.</p>\n","key":"Authorization","value":"ipsum voluptate qui"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"resourceId\": \"do_11319479631000371211\",\n    \"resourceType\": \"Content\",\n    \"resourceInfo\": \"{\\\"contentType\\\":\\\"TextBook\\\",\\\"framework\\\":\\\"ekstep_ncert_k-12\\\",\\\"identifier\\\":\\\"do_11319479631000371211\\\",\\\"mimeType\\\":\\\"application/vnd.ekstep.content-collection\\\"}\",\n    \"creatorInfo\": \"{\\\"name\\\":\\\"N11\\\",\\\"id\\\":\\\"5a587cc1-e018-4859-a0a8-e842650b9d64\\\"}\",\n    \"createdBy\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n    \"isRootOrgAdmin\": true\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/lock/v1/create","description":"<p>This API used to create the Lock resource by a user or system or service.</p>\n<ul>\n<li>The <strong><em>lock/v1/create</em></strong> endpoint search the bulk job approve of the content.</li>\n<li>All fields marked with an * are mandatory</li>\n<li>Required fields cannot be null or empty</li>\n<li>Backend Route: <a href=\"http://knowledge-mw-service:5000/v1/lock/create\">http://knowledge-mw-service:5000/v1/lock/create</a></li>\n</ul>\n","urlObject":{"path":["lock","v1","create"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[]}},"response":[{"id":"52039c6c-b740-4cf5-9006-e2a78e7a2d98","name":"This represents the create response body 200","originalRequest":{"method":"POST","header":[{"description":"(Required) The Content Type entity is the media type of the resource","key":"Content-Type","value":"application/json"},{"description":"(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.","key":"Authorization","value":"ipsum voluptate qui"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"resourceId\": \"do_11319479631000371211\",\n    \"resourceType\": \"Content\",\n    \"resourceInfo\": \"{\\\"contentType\\\":\\\"TextBook\\\",\\\"framework\\\":\\\"ekstep_ncert_k-12\\\",\\\"identifier\\\":\\\"do_11319479631000371211\\\",\\\"mimeType\\\":\\\"application/vnd.ekstep.content-collection\\\"}\",\n    \"creatorInfo\": \"{\\\"name\\\":\\\"N11\\\",\\\"id\\\":\\\"5a587cc1-e018-4859-a0a8-e842650b9d64\\\"}\",\n    \"createdBy\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n    \"isRootOrgAdmin\": true\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/lock/v1/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.lock.create\",\n  \"ver\": 1,\n  \"ts\": \"2021-01-21T11:14:46.643Z\",\n  \"params\": {\n    \"resmsgid\": \"dea6b430-5bd9-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": \"33e7b5d4-7662-bab6-1c06-72e71b8b8221\",\n    \"status\": \"successful\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"lockKey\": \"bad55f24-8081-4d03-baab-364296062b47\",\n    \"expiresAt\": \"2021-01-21T12:14:46.594Z\",\n    \"expiresIn\": 60\n  }\n}"},{"id":"bcbdef27-59cd-4963-9dd1-f083ae608cd3","name":"This represents the create response Bad Request","originalRequest":{"method":"POST","header":[{"description":"(Required) The Content Type entity is the media type of the resource","key":"Content-Type","value":"application/json"},{"description":"(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.","key":"Authorization","value":"ipsum voluptate qui"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"resourceId\": \"do_11319479631000371211\",\n    \"resourceType\": \"Content\",\n    \"resourceInfo\": \"{\\\"contentType\\\":\\\"TextBook\\\",\\\"framework\\\":\\\"ekstep_ncert_k-12\\\",\\\"identifier\\\":\\\"do_11319479631000371211\\\",\\\"mimeType\\\":\\\"application/vnd.ekstep.content-collection\\\"}\",\n    \"creatorInfo\": \"{\\\"name\\\":\\\"N11\\\",\\\"id\\\":\\\"5a587cc1-e018-4859-a0a8-e842650b9d64\\\"}\",\n    \"createdBy\": \"5a587cc1-e018-4859-a0a8-e842650b9d64\",\n    \"isRootOrgAdmin\": true\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/lock/v1/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.lock.create\",\n  \"ver\": 1,\n  \"ts\": \"2021-01-21T13:09:44.935Z\",\n  \"params\": {\n    \"resmsgid\": \"ee5a8770-5be9-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_LOCK_CREATION_FIELDS_MISSING\",\n    \"errmsg\": \"\\\"resourceInfo\\\" is required\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {}\n}"}],"_postman_id":"b6bf8466-be2d-41d5-9b68-2b21948498d5"},{"name":"Lock Refresh","id":"4a79e212-5573-4eba-8309-43e2a6895510","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource</p>\n","key":"Content-Type","value":"application/json"},{"description":"<p>(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.</p>\n","key":"Authorization","value":"ipsum voluptate qui"},{"key":"Accept","value":"application/json; charset=utf-8"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"resourceId\": \"do_11316513466772684811649\",\n    \"resourceType\": \"Content\",\n    \"lockId\": \"0e6b1631-93e6-4726-9dcf-0debdba37aa1\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/lock/v1/refresh","description":"<p>This API used to refresh the Locked resource by a user or system or service.</p>\n<ul>\n<li>The <strong><em>lock/v1/refresh</em></strong> endpoint refresh the Locked resource by a user or system or service.</li>\n<li>All fields marked with an * are mandatory</li>\n<li>Required fields cannot be null or empty</li>\n<li>Backend Route: <a href=\"http://knowledge-mw-service:5000/v1/lock/refresh\">http://knowledge-mw-service:5000/v1/lock/refresh</a></li>\n</ul>\n","urlObject":{"path":["lock","v1","refresh"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[]}},"response":[{"id":"c1fd6d75-78f8-4fa3-84aa-0b2ddaad953e","name":"This represents the refresh response 200","originalRequest":{"method":"PATCH","header":[{"description":"(Required) The Content Type entity is the media type of the resource","key":"Content-Type","value":"application/json"},{"description":"(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.","key":"Authorization","value":"ipsum voluptate qui"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"resourceId\": \"do_11316513466772684811649\",\n    \"resourceType\": \"Content\",\n    \"lockId\": \"0e6b1631-93e6-4726-9dcf-0debdba37aa1\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/lock/v1/refresh"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.v1.refresh\",\n  \"ver\": 1,\n  \"ts\": \"2021-01-21T11:24:31.981Z\",\n  \"params\": {\n    \"resmsgid\": \"3b8a31d0-5bdb-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": \"3a33a280-5bdb-11eb-9b0c-abcfbdf41bc3\",\n    \"status\": \"successful\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"lockKey\": \"0e6b1631-93e6-4726-9dcf-0debdba37aa1\",\n    \"expiresAt\": \"2021-01-21T12:24:29.738Z\",\n    \"expiresIn\": 60\n  }\n}"},{"id":"5062e0a1-124c-4bdf-8d92-035eed042696","name":"This represents the refresh response for Bad Request","originalRequest":{"method":"PATCH","header":[{"description":"(Required) The Content Type entity is the media type of the resource","key":"Content-Type","value":"application/json"},{"description":"(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.","key":"Authorization","value":"ipsum voluptate qui"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"resourceId\": \"do_11316513466772684811649\",\n    \"resourceType\": \"Content\",\n    \"lockId\": \"0e6b1631-93e6-4726-9dcf-0debdba37aa1\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/lock/v1/refresh"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.v1.refresh\",\n  \"ver\": 1,\n  \"ts\": \"2021-01-21T11:27:46.193Z\",\n  \"params\": {\n    \"resmsgid\": \"af4c9810-5bdb-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_LOCK_REFRESHING_FIELDS_MISSING\",\n    \"errmsg\": \"\\\"resourceId\\\" is required\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {}\n}"}],"_postman_id":"4a79e212-5573-4eba-8309-43e2a6895510"}],"id":"e4980d3d-1e13-453b-a879-d0f580cb724c","description":"<p>This services explains the design of lock service and types of locks that are possible with mechanisms to lock a resource and unlock it with different possibilities.</p>\n<p>Contact Support:<br />Email: <a href=\"https://desktop.postman.com/?desktopVersion=10.6.0&amp;userId=1419050&amp;teamId=304931\">info@sunbird.org</a></p>\n","_postman_id":"e4980d3d-1e13-453b-a879-d0f580cb724c"},{"name":"Read Private Content","id":"59dea418-9c27-4017-8c7a-277913a6593d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[{"description":"<p>The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"description":"<p>(Required) Represents a physical location (e.g: state) uniquely to which the user belongs.</p>\n","key":"x-channel-id","value":"ea laborum"},{"description":"<p>(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.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"url":"https://staging.sunbirded.org/api/content/v1/private/read/:Content_Id","description":"<p>This API is associated with viewing and reading out the private and public contents on the Sunbird Platform.</p>\n<ul>\n<li>The <strong><em>/private/read/{contentId}</em></strong> endpoint executes request for fetching the private and public contents to be viewed and read.</li>\n<li>The endpoint for <strong>Read Private Content</strong> is <code>/content/v1/private/read</code></li>\n<li>It points to content-service - <code>/content/v4/private/read</code></li>\n<li>{...}refers to a section of reject endpoint URL path that needs to be replaced by appropriate Id.</li>\n<li>You need to provide a valid content Id value in {Content Id} field of API URL.</li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v1","private","read",":Content_Id"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[{"id":"67be9a2a-d74a-4941-b5fb-479afc6b8832","description":{"content":"<p>(Required) Please append a valid Content Id To the Request URL</p>\n","type":"text/plain"},"type":"any","value":"ea laborum","key":"Content_Id"}]}},"response":[{"id":"f307e82f-1061-4b47-87f4-50be75d62043","name":"OK ! Successful operation.\"Read Private content\" operation was successfully executed. For all possible metadata, please [refer](https://github.com/project-sunbird/knowledge-platform/blob/master/schemas/content/1.0/schema.json)","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) Represents a physical location (e.g: state) uniquely to which the user belongs.","key":"x-channel-id","value":"ea laborum"},{"description":"(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.","key":"Authorization","value":"ea laborum"}],"url":{"raw":"https://staging.sunbirded.org/api/content/v1/private/read/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v1","private","read",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.private.read\",\n  \"ver\": \"4.0\",\n  \"ts\": \"2021-09-20T20:12:52Z+05:30\",\n  \"params\": {\n    \"resmsgid\": \"a31dbba1-c3bf-4c3d-a028-f3e5b7de4b57\",\n    \"msgid\": null,\n    \"err\": null,\n    \"status\": \"successful\",\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"content\": {\n      \"ownershipType\": [\n        \"createdBy\"\n      ],\n      \"code\": \"name\",\n      \"interceptionPoints\": {},\n      \"credentials\": {\n        \"enabled\": \"No\"\n      },\n      \"channel\": \"abc-123\",\n      \"language\": [\n        \"English\"\n      ],\n      \"mimeType\": \"application/pdf\",\n      \"idealScreenSize\": \"normal\",\n      \"createdOn\": \"2021-08-30T13:11:08.485+0530\",\n      \"objectType\": \"Content\",\n      \"primaryCategory\": \"Learning Resource\",\n      \"contentDisposition\": \"inline\",\n      \"lastUpdatedOn\": \"2021-08-30T13:11:08.485+0530\",\n      \"contentEncoding\": \"identity\",\n      \"dialcodeRequired\": \"No\",\n      \"trackable\": {\n        \"enabled\": \"No\",\n        \"autoBatch\": \"No\"\n      },\n      \"identifier\": \"do_11335549352263680012\",\n      \"lastStatusChangedOn\": \"2021-08-30T13:11:08.485+0530\",\n      \"audience\": [\n        \"Student\"\n      ],\n      \"os\": [\n        \"All\"\n      ],\n      \"visibility\": \"Private\",\n      \"discussionForum\": {\n        \"enabled\": \"No\"\n      },\n      \"mediaType\": \"content\",\n      \"osId\": \"org.ekstep.quiz.app\",\n      \"languageCode\": [\n        \"en\"\n      ],\n      \"version\": 2,\n      \"versionKey\": \"1630309268485\",\n      \"license\": \"CC BY 4.0\",\n      \"idealScreenDensity\": \"hdpi\",\n      \"framework\": \"NCF\",\n      \"compatibilityLevel\": 1,\n      \"name\": \"Untitled Resource\",\n      \"status\": \"Draft\"\n    }\n  }\n}"},{"id":"4c27fc26-267e-4925-9cac-4ecba0670703","name":"RESOURCE NOT FOUND,**Content Private Read** operation failed !The possible reason for failure is that you may have provided wrong content id.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) Represents a physical location (e.g: state) uniquely to which the user belongs.","key":"x-channel-id","value":"ea laborum"},{"description":"(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.","key":"Authorization","value":"ea laborum"}],"url":{"raw":"https://staging.sunbirded.org/api/content/v1/private/read/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v1","private","read",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.private.read\",\n  \"ver\": \"4.0\",\n  \"ts\": \"2021-09-20T21:07:50Z+05:30\",\n  \"params\": {\n    \"resmsgid\": \"a8bb809b-c2e1-4749-b05b-b2cd7dc1ca49\",\n    \"msgid\": null,\n    \"err\": \"NOT_FOUND\",\n    \"status\": \"failed\",\n    \"errmsg\": \"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: do_11335549352263680013\"\n  },\n  \"responseCode\": \"RESOURCE_NOT_FOUND\",\n  \"result\": {\n    \"messages\": null\n  }\n}"},{"id":"a8f67f41-b075-402d-88ae-b818944fcac7","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! These errors are tracked automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(Required) Represents a physical location (e.g: state) uniquely to which the user belongs.","key":"x-channel-id","value":"ea laborum"},{"description":"(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.","key":"Authorization","value":"ea laborum"}],"url":{"raw":"https://staging.sunbirded.org/api/content/v1/private/read/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v1","private","read",":Content_Id"],"variable":[{"key":"Content_Id","value":"ea laborum","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"cupidatat reprehenderit dolor\",\n  \"ver\": \"minim anim commodo\",\n  \"ts\": \"commodo\",\n  \"params\": {\n    \"resmsgid\": \"pariatur repre\",\n    \"msgid\": \"irure\",\n    \"err\": \"consequat esse ea\",\n    \"status\": \"esse\",\n    \"errmsg\": \"aliqua laboris velit\"\n  },\n  \"responseCode\": \"reprehenderit dolor elit sunt dolore\"\n}"}],"_postman_id":"59dea418-9c27-4017-8c7a-277913a6593d"},{"name":"Search Content","id":"53a9e9d0-eb1a-4136-9b82-8d0f36c74b9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"filters\": {\n      \"objectType\": \"Content\",\n      \"status\": []\n    },\n    \"limit\": 1\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v1/search","description":"<p>This API is associated with Searching Object created as part of sourcing object creation on the Sunbird Platform.</p>\n<ul>\n<li>The endpoint for <strong>Content Search</strong> is <code>/content/v1/search</code></li>\n<li>It points to knowledge-mw-service - <code>/v1/search</code></li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v1","search"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[]}},"response":[{"id":"a2c8eb7e-5310-4410-b78b-1bf4840185a6","name":"SUCCESS. The **Content Search** operation was successful!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"filters\": {\n      \"objectType\": \"Content\",\n      \"status\": []\n    },\n    \"limit\": 1\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v1/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.search\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-22T06:24:45.025Z\",\n  \"params\": {\n    \"resmsgid\": \"62160510-441e-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": \"620ae180-441e-11eb-9b0c-abcfbdf41bc3\",\n    \"status\": \"successful\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"count\": 480465,\n    \"content\": [\n      {\n        \"code\": \"org.ekstep.jun16.story.test05\",\n        \"subject\": [\n          \"literacy\"\n        ],\n        \"flags\": [\n          \"Test case\"\n        ],\n        \"channel\": \"in.ekstep\",\n        \"downloadUrl\": \"https://ekstep-public-dev.s3-ap-south-1.amazonaws.com/ecar_files/org.ekstep.jun16.story.test05/vrgaatiil-upkrmclassroom-activities_1498725323304_org.ekstep.jun16.story.test05_1.0.ecar\",\n        \"description\": \"शेर का साथी हाथी\",\n        \"lastFlaggedOn\": \"2017-12-27T13:30:48.942+0000\",\n        \"language\": [\n          \"English\"\n        ],\n        \"variants\": {\n          \"spine\": {\n            \"ecarUrl\": \"https://ekstep-public-dev.s3-ap-south-1.amazonaws.com/ecar_files/org.ekstep.jun16.story.test05/vrgaatiil-upkrmclassroom-activities_1498725324677_org.ekstep.jun16.story.test05_1.0_spine.ecar\",\n            \"size\": 851\n          }\n        },\n        \"mimeType\": \"application/vnd.ekstep.ecml-archive\",\n        \"flaggedBy\": [\n          \"Test case\"\n        ],\n        \"idealScreenSize\": \"normal\",\n        \"createdOn\": \"2017-06-29T07:44:15.875+0000\",\n        \"objectType\": \"Content\",\n        \"collections\": [\n          \"do_11228062262625075214\"\n        ],\n        \"appId\": \"ekstep_portal\",\n        \"contentDisposition\": \"inline\",\n        \"contentEncoding\": \"gzip\",\n        \"artifactUrl\": \"https://ekstep-public-dev.s3-ap-south-1.amazonaws.com/content/org.ekstep.jun16.story.test05/artifact/1485166711340_do_30102464_1498725273215.zip\",\n        \"lastUpdatedOn\": \"2017-12-27T13:30:48.968+0000\",\n        \"SYS_INTERNAL_LAST_UPDATED_ON\": \"2018-01-09T18:41:32.368+0000\",\n        \"primaryCategory\": \"Story\",\n        \"owner\": \"EkStep\",\n        \"lastUpdatedBy\": \"Test case\",\n        \"identifier\": \"org.ekstep.jun16.story.test05\",\n        \"audience\": [\n          \"Learner\"\n        ],\n        \"flagReasons\": [\n          \"Copyright Violation\"\n        ],\n        \"visibility\": \"default\",\n        \"os\": [\n          \"All\"\n        ],\n        \"consumerId\": \"72e54829-6402-4cf0-888e-9b30733c1b88\",\n        \"mediaType\": \"content\",\n        \"osId\": \"org.ekstep.quiz.app\",\n        \"graph_id\": \"domain\",\n        \"nodeType\": \"DATA_NODE\",\n        \"pkgVersion\": 1,\n        \"versionKey\": \"1515523292368\",\n        \"prevState\": \"Draft\",\n        \"idealScreenDensity\": \"hdpi\",\n        \"dialcodes\": [\n          \"DAKDF\",\n          \"FSDFDSA\"\n        ],\n        \"s3Key\": \"ecar_files/org.ekstep.jun16.story.test05/vrgaatiil-upkrmclassroom-activities_1498725323304_org.ekstep.jun16.story.test05_1.0.ecar\",\n        \"size\": 9983654,\n        \"lastPublishedOn\": \"2017-06-29T08:35:23.302+0000\",\n        \"compatibilityLevel\": 1,\n        \"name\": \"\\tवर्गातील उपक्रम(Classroom Activities)\",\n        \"resourceType\": \"Story\",\n        \"status\": \"Flagged\",\n        \"node_id\": 105761\n      }\n    ]\n  }\n}"},{"id":"7c029bbc-7965-4b7c-9c56-f3a38c4358c0","name":"BAD REQUEST. The **Content Search** operation failed. You may have missed input for a mandatory parameter - Content-Type in header","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"filters\": {\n      \"objectType\": \"Content\",\n      \"status\": []\n    },\n    \"limit\": 1\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v1/search"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.search\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-21T11:46:50.400Z\",\n  \"params\": {\n    \"resmsgid\": \"367e7a00-4382-11eb-9b0c-abcfbdf41bc3\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_CONTENT_SEARCH_FIELDS_MISSING\",\n    \"errmsg\": \"Required fields for search content are missing\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\",\n  \"result\": {}\n}"},{"id":"60edf93f-8038-4af5-906c-1abaafb7a107","name":"'INTERNAL SERVER ERROR. We track these errors automatically and try to set it right at the earliest. Try refreshing the page. If the problem persists contact us at info@sunbird.org.'","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"filters\": {\n      \"objectType\": \"Content\",\n      \"status\": []\n    },\n    \"limit\": 1\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v1/search"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"api.content.search\",\n  \"ver\": \"1.0\",\n  \"ts\": \"2020-12-10T08:51:51.647Z\",\n  \"params\": {\n    \"resmsgid\": \"f234a6f0-3ac4-11eb-b0a2-8d5c9f561887\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"SERVER_ERROR\",\n  \"result\": {}\n}"}],"_postman_id":"53a9e9d0-eb1a-4136-9b82-8d0f36c74b9b"},{"name":"Url Fetch Metadata","id":"90f7c5ce-a702-46bf-8d56-80b38298daf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource.Possible media types can be:-</p>\n<ul>\n<li>Application/json</li>\n</ul>\n","key":"Content-Type","value":"ea laborum"},{"description":"<p>(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.</p>\n","key":"Authorization","value":"ea laborum"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"url\": \"https://github.com/project-sunbird/sunbird.org-docs\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v1/fetchmeta","description":"<p>This API is associated with fetching url metadata details on the Sunbird Platform.</p>\n<ul>\n<li>The endpoint for <strong>Create Content</strong> is <code>/content/v1/fetchmeta</code></li>\n<li>It points to knowledge-mw-service - <code>/v1/url/fetchmeta</code></li>\n<li>It is mandatory to provide values for parameters marked with *.</li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v1","fetchmeta"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[]}},"response":[{"id":"0f9f2ef2-37c8-4f29-b7ad-ad880f06280e","name":"SUCCESS. The **URL Fetch Metadata** operation was successful!","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(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.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"url\": \"https://github.com/project-sunbird/sunbird.org-docs\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v1/fetchmeta"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"ts\": \"2021-02-02T08:38:20.329Z\",\n  \"params\": {\n    \"resmsgid\": \"00edd990-6532-11eb-9dac-65b700f4c009\",\n    \"msgid\": null,\n    \"status\": \"successful\",\n    \"err\": null,\n    \"errmsg\": null\n  },\n  \"responseCode\": \"OK\",\n  \"result\": {\n    \"url\": \"https://github.com/project-sunbird/sunbird.org-docs\",\n    \"canonical\": \"https://github.com/project-sunbird/sunbird.org-docs\",\n    \"title\": \"project-sunbird/sunbird.org-docs\",\n    \"image\": \"https://avatars.githubusercontent.com/u/26705730?s=400&v=4\",\n    \"author\": \"\",\n    \"description\": \"Repository for documentation on sunbird.org. Contribute to project-sunbird/sunbird.org-docs development by creating an account on GitHub.\",\n    \"keywords\": \"\",\n    \"source\": \"github.com\",\n    \"og:url\": \"https://github.com/project-sunbird/sunbird.org-docs\",\n    \"og:locale\": \"\",\n    \"og:locale:alternate\": \"\",\n    \"og:title\": \"project-sunbird/sunbird.org-docs\",\n    \"og:type\": \"object\",\n    \"og:description\": \"Repository for documentation on sunbird.org. Contribute to project-sunbird/sunbird.org-docs development by creating an account on GitHub.\",\n    \"og:determiner\": \"\",\n    \"og:site_name\": \"GitHub\",\n    \"og:image\": \"https://avatars.githubusercontent.com/u/26705730?s=400&v=4\",\n    \"og:image:secure_url\": \"\",\n    \"og:image:type\": \"\",\n    \"og:image:width\": \"\",\n    \"og:image:height\": \"\",\n    \"price\": \"\",\n    \"priceCurrency\": \"\",\n    \"availability\": \"\"\n  }\n}"},{"id":"b3ac75a2-c587-4206-a1b6-3db4af750054","name":"'BAD REQUEST. The **URL Fetch Metadata** operation failed. You may have missed input for a mandatory parameter.'","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(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.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"url\": \"https://github.com/project-sunbird/sunbird.org-docs\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v1/fetchmeta"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"ts\": \"2021-02-02T08:53:31.808Z\",\n  \"params\": {\n    \"resmsgid\": \"20368200-6534-11eb-9dac-65b700f4c009\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_FETCH_URLMETA_MISSING\",\n    \"errmsg\": \"Required fields for fetching url meta data are missing\"\n  },\n  \"responseCode\": \"CLIENT_ERROR\"\n}"},{"id":"c49c56d0-3ee2-444b-bb4a-0a243d1e206b","name":"'INTERNAL SERVER ERROR. We track these errors automatically and try to set it right at the earliest. Try refreshing the page. If the problem persists contact us at info@sunbird.org.'","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:-\n  - Application/json","key":"Content-Type","value":"ea laborum"},{"description":"(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.","key":"Authorization","value":"ea laborum"}],"body":{"mode":"raw","raw":"{\n  \"request\": {\n    \"url\": \"https://github.com/project-sunbird/sunbird.org-docs\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v1/fetchmeta"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"ts\": \"2021-02-02T08:57:49.620Z\",\n  \"params\": {\n    \"resmsgid\": \"b9e17f40-6534-11eb-9dac-65b700f4c009\",\n    \"msgid\": null,\n    \"status\": \"failed\",\n    \"err\": \"ERR_FETCH_URLMETA_FAILED\",\n    \"errmsg\": \"Unable to load the url metadata\"\n  }\n}"}],"_postman_id":"90f7c5ce-a702-46bf-8d56-80b38298daf7"},{"name":"Reject Flag","id":"e001f669-7388-4e0c-b51b-3c2f3a5106ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) The Content Type entity is the media type of the resource.Possible media types can be:- </p>\n<ul>\n<li>Application/json</li>\n</ul>\n","key":"Content-Type","value":"nisi amet "},{"description":"<p>(Required) The Registered User ID to execute the API.</p>\n","key":"X-Authenticated-User-token","value":"nisi amet "},{"description":"<p>(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.</p>\n","key":"Authorization","value":"nisi amet "},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://staging.sunbirded.org/api/content/v1/flag/reject/:Content_Id","description":"<p>This API is associated with setting Reject Flag for content under review process on the Sunbird Platform .</p>\n<ul>\n<li>The **_/flag/reject/_**endpoint executes request for flagging content under review to \"Reject flag\", if content is found in-appropriate.</li>\n<li>The endpoint for <strong>Flag Reject Content</strong> is <code>/content/v1/flag/reject</code></li>\n<li>It points to knowledge-mw-service - <code>/v1/content/flag/reject</code></li>\n<li>It is mandatory to provide values for parameters marked with *. </li>\n<li>Mandatory fields cannot be null or empty.</li>\n</ul>\n","urlObject":{"path":["content","v1","flag","reject",":Content_Id"],"host":["https://staging.sunbirded.org/api"],"query":[],"variable":[{"id":"a1458892-858e-4935-acb0-b7e206f0eebb","description":{"content":"<p>(Required) Please append a valid Content Id To the Request URL</p>\n","type":"text/plain"},"type":"any","value":"nisi amet ","key":"Content_Id"}]}},"response":[{"id":"b6e8564d-1a28-4e7d-8f95-65a5cd44934c","name":"OK ! Successful operation.\"Reject Flag\" operation was successfully executed.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:- \n  - Application/json","key":"Content-Type","value":"nisi amet "},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"nisi amet "},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"nisi amet "}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v1/flag/reject/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v1","flag","reject",":Content_Id"],"variable":[{"key":"Content_Id","value":"nisi amet ","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {\n    \"node_id\": \"ex reprehenderit magna eiusmod\",\n    \"content_id\": \"adipisicing velit ullamco\",\n    \"versionKey\": \"pari\"\n  },\n  \"id\": \"cupidatat dolore elit\",\n  \"ver\": \"nostrud exercitation dolore labore minim\",\n  \"ts\": \"nisi\",\n  \"params\": {\n    \"resmsgid\": \"ea officia voluptate\",\n    \"msgid\": \"fugiat consequat\",\n    \"err\": \"do non minim\",\n    \"status\": \"in enim\",\n    \"errmsg\": \"mollit eu quis\"\n  },\n  \"responseCode\": \"consectetur voluptate\"\n}"},{"id":"00e4c0cd-3baf-470f-8fa2-acd103319cda","name":"ERR CONTENT NOT FLAGGED! Looks like contentId is not in flagged status.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:- \n  - Application/json","key":"Content-Type","value":"nisi amet "},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"nisi amet "},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"nisi amet "}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v1/flag/reject/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v1","flag","reject",":Content_Id"],"variable":[{"key":"Content_Id","value":"nisi amet ","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"voluptate culpa Excepteur minim\",\n  \"ver\": \"Duis\",\n  \"ts\": \"exercitation cupidatat aute repr\",\n  \"params\": {\n    \"resmsgid\": \"do Duis cupidatat nostrud\",\n    \"msgid\": \"laboris veniam \",\n    \"err\": \"ut ad pariatur adipisicing enim\",\n    \"status\": \"sit sunt aliqua\",\n    \"errmsg\": \"elit dolore irure\"\n  },\n  \"responseCode\": \"occaecat\"\n}"},{"id":"48ac5a0e-169a-418a-a0bf-e8e036bb513a","name":"RESOURCE NOT FOUND,**Content Send for Flag Reject** operation failed !The possible reason for failure is that you may have provided wrong content id.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:- \n  - Application/json","key":"Content-Type","value":"nisi amet "},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"nisi amet "},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"nisi amet "}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v1/flag/reject/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v1","flag","reject",":Content_Id"],"variable":[{"key":"Content_Id","value":"nisi amet ","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"voluptate culpa Excepteur minim\",\n  \"ver\": \"Duis\",\n  \"ts\": \"exercitation cupidatat aute repr\",\n  \"params\": {\n    \"resmsgid\": \"do Duis cupidatat nostrud\",\n    \"msgid\": \"laboris veniam \",\n    \"err\": \"ut ad pariatur adipisicing enim\",\n    \"status\": \"sit sunt aliqua\",\n    \"errmsg\": \"elit dolore irure\"\n  },\n  \"responseCode\": \"occaecat\"\n}"},{"id":"190f8c15-89c3-47fb-9f34-bed5f3e567e2","name":"INTERNAL SERVER ERROR ! Looks like something went wrong! These errors are tracked automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"},{"description":"(Required) The Content Type entity is the media type of the resource.Possible media types can be:- \n  - Application/json","key":"Content-Type","value":"nisi amet "},{"description":"(Required) The Registered User ID to execute the API.","key":"X-Authenticated-User-token","value":"nisi amet "},{"description":"(Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API.","key":"Authorization","value":"nisi amet "}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.sunbirded.org/api/content/v1/flag/reject/:Content_Id","host":["https://staging.sunbirded.org/api"],"path":["content","v1","flag","reject",":Content_Id"],"variable":[{"key":"Content_Id","value":"nisi amet ","description":"(Required) Please append a valid Content Id To the Request URL"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": {},\n  \"id\": \"voluptate culpa Excepteur minim\",\n  \"ver\": \"Duis\",\n  \"ts\": \"exercitation cupidatat aute repr\",\n  \"params\": {\n    \"resmsgid\": \"do Duis cupidatat nostrud\",\n    \"msgid\": \"laboris veniam \",\n    \"err\": \"ut ad pariatur adipisicing enim\",\n    \"status\": \"sit sunt aliqua\",\n    \"errmsg\": \"elit dolore irure\"\n  },\n  \"responseCode\": \"occaecat\"\n}"}],"_postman_id":"e001f669-7388-4e0c-b51b-3c2f3a5106ce"}],"id":"0277ef7e-7164-40e7-87b7-101821a7d95c","_postman_id":"0277ef7e-7164-40e7-87b7-101821a7d95c","description":""}],"id":"e8889a13-bfca-4c28-a691-b16b33903e6d","_postman_id":"e8889a13-bfca-4c28-a691-b16b33903e6d","description":""}],"variable":[{"key":"baseUrl","value":"https://staging.sunbirded.org/api","type":"string"}]}