Commit 9ded5dbb authored by Eugen Rochko's avatar Eugen Rochko

Add reports API

parent e6d3ca98
...@@ -5,3 +5,16 @@ menu: ...@@ -5,3 +5,16 @@ menu:
parent: api parent: api
weight: 10 weight: 10
--- ---
## POST /api/v1/reports
### Resource information
{{< api_method_info auth="Yes" user="Yes" scope="write write:reports" version="0.0.0" >}}
### Parameters
|Name|Description|Required|Default|
|----|-----------|:------:|:-----:|
| `account_id` | The ID of the account to report | Required ||
| `status_ids` | The IDs of statuses to report as array | Optional ||
| `comment` | Reason for the report (up to 1,000 characters) | Optional ||
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment