Add blocks API
This commit is contained in:
parent
cb9ed818f6
commit
51c61c151b
2 changed files with 26 additions and 4 deletions
|
@ -5,3 +5,23 @@ menu:
|
|||
parent: api
|
||||
weight: 10
|
||||
---
|
||||
|
||||
## GET /api/v1/blocks
|
||||
|
||||
Returns array of [Account]({{< relref "entities.md#account" >}})
|
||||
|
||||
### Resource information
|
||||
|
||||
{{< api_method_info auth="Yes" user="Yes" scope="read read:blocks follow" version="0.0.0" >}}
|
||||
|
||||
### Parameters
|
||||
|
||||
|Name|Description|Required|Default|
|
||||
|----|-----------|:------:|:-----:|
|
||||
| `max_id` | Return results older than ID | Optional ||
|
||||
| `since_id` | Return results newer than ID | Optional ||
|
||||
| `limit` | Maximum number of results | Optional | 40 |
|
||||
|
||||
### Pagination
|
||||
|
||||
{{< api_pagination >}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue