1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00

Add reports API

This commit is contained in:
Eugen Rochko 2018-10-05 01:29:57 +02:00
parent e6d3ca98e1
commit 9ded5dbbb3

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 ||