Reject Flag
POST {{baseUrl}}/content/v1/flag/reject/:Content_Id
This API is associated with setting Reject Flag for content under review process on the Sunbird Platform .
- The /flag/reject/endpoint executes request for flagging content under review to Reject flag
, if content is found in-appropriate.
- The endpoint for Flag Reject Content is /content/v1/flag/reject
- It points to knowledge-mw-service - /v1/content/flag/reject
- It is mandatory to provide values for parameters marked with *.
- Mandatory fields cannot be null or empty.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | (Required) The Content Type entity is the media type of the resource.Possible media types can be:- |
- Application/json |
|
X-Authenticated-User-token
| string | | (Required) The Registered User ID to execute the API. | |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
{"result":{"node_id":"ex reprehenderit magna eiusmod","content_id":"adipisicing velit ullamco","versionKey":"pari"},"id":"cupidatat dolore elit","ver":"nostrud exercitation dolore labore minim","ts":"nisi","params":{"resmsgid":"ea officia voluptate","msgid":"fugiat consequat","err":"do non minim","status":"in enim","errmsg":"mollit eu quis"},"responseCode":"consectetur voluptate"}