documentation/content/en/api/rest/reports.md

24 lines
531 B
Markdown
Raw Normal View History

2018-09-26 00:19:54 +02:00
---
title: Reports API
menu:
docs:
parent: api
weight: 10
---
2018-10-05 01:29:57 +02:00
## POST /api/v1/reports
2018-10-05 01:37:50 +02:00
Report an account.
2018-10-05 01:29:57 +02:00
### 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 ||