Flag Content

POST {{baseUrl}}/content/v2/flag/{{contentId}}

This API is associated with setting Flag for content. - The /flag/{content Id} endpoint executes a request to set flagging status for content ,flag can either be set to Accepted or Rejected. - The endpoint for Flag Content is /content/v2/flag - It points to knowledge-mw-service - /v2/content/flag - {...}refers to a section of reject endpoint URL path that needs to be replaced by appropriate Id. - You need to provide a valid content Id value in {Content Id} field of API URL. - It is mandatory to provide values for parameters marked with *. - Mandatory fields cannot be null or empty.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring(Required) The Content Type entity is the media type of the resource.Possible media types can be:-
  • Application/json | | X-Authenticated-Userid | string | | (Required) The Registered User ID to execute the API. | | Accept | string | | |

RESPONSES

status: OK

{"id":"api.content.flag","ver":"3.0","ts":"2020-12-11T08:45:49ZZ","params":{"resmsgid":"9c935e0c-b504-45e6-bd15-313f46c4613f","msgid":null,"err":null,"status":"successful","errmsg":null},"responseCode":"OK","result":{"identifier":"do_213143334457982976144","node_id":"do_213143334457982976144","versionKey":"1607676349236"}}