Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Reports

4 routes. Paths are relative to https://api.intersink.com/v1.

All groups

Submit a new report

POST/reports

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
report_reasonrequiredobjectID of the report reason
descriptionstringDetailed description of the report At most 5000 characters.
post_idobjectID of the reported post
comment_idobjectID of the reported comment
product_idobjectID of the reported product
campaign_idobjectID of the reported campaign
business_idobjectID of the reported business
profile_idstringID of the reported profile (UUID)
active_profile_idstringActive profile ID of the reporter
ch_idobjectIgnored. The report's channel is derived from the reported content.
channel_idstringIgnored. The report's channel is derived from the reported content.

Response

201. The payload in data is not described in the spec yet.

Update report status (Admin/Moderator)

PATCH/reports/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path
x-admin-keystring, header

Request body application/json

FieldTypeDescription
statusrequirednumberNew status id (report_status.id) Minimum 1.
titlestringAudit trail title for the status change
descriptionstringAudit trail description for the status change

Response

200. The payload in data is not described in the spec yet.

Get all reports submitted by the active profile

GET/reports/my

Needs a signed-in user (Bearer token or access_token cookie).

Response

200. The payload in data is not described in the spec yet.

Get all reporting reasons

GET/reports/reasons

Needs a signed-in user (Bearer token or access_token cookie).

Response

200. The payload in data is not described in the spec yet.