Flag a post
POST
/posts/{post_id}/flag
posts
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://trashnothing.com/api/v1.2/posts//flag' \
--form 'reason=""'
Response Response Example
200 - Example 1
{}
Request
Path Params
post_id
string
required
Body Params multipart/form-data
details
string
optional
NOTE: If reason is set to 'other', details are required.
reason
string
required
NOTE: If reason is set to 'other', the details parameter is required to be set.
Responses
Modified at 2022-09-11 18:59:48