Collection Flag Accept
POST {{baseUrl}}/collection/v1/flag/accept/{{collectionId}}
This API is associated with Flag Accept Collection on the Sunbird Platform .
- /Collection/ endpoint executes the Flag Accept Collection
request based on parameters provided as metadata in the request body.
- The endpoint for Flag Accept Collection is /collection/v1/flag/accept
- It points to knowledge-mw-service - /v1/collection/flag/accept
- {...}refers to a section of review endpoint URL path that needs to be replaced by appropriate Id.
- It is mandatory to provide values for parameters marked with *.
- Mandatory fields cannot be null or empty.
Request Body
{"request"=>{"versionKey"=>"{{versionKey}}"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | (Required) The Content Type entity is the media type of the resource.Possible media types can be:- |
- Application/json |
|
X-Authenticated-User-Token
| string | | (Required) The Registered User ID used to execute the API. | |X-Channel-id
| string | | The unique ID provided to the State to which the user belongs. | |Authorization
| string | | (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. | |Accept
| string | | |
RESPONSES
status: OK
{"id":"api.collection.flag.accept","ver":"4.0","ts":"2022-01-06T07:14:38ZZ","params":{"resmsgid":"c7b2c6b0-ace7-4da5-8429-6f9d5f6b6d35","status":"successful"},"responseCode":"OK","result":{"identifier":"do_1134467204859658241168","node_id":"do_1134467204859658241168","versionKey":"1641453278531"}}