Add reports API

This commit is contained in:
Eugen Rochko 2018-10-05 01:29:57 +02:00
parent e6d3ca98e1
commit 9ded5dbbb3
1 changed files with 13 additions and 0 deletions

View File

@ -5,3 +5,16 @@ menu:
parent: api
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 ||