Commit fe6c3c90 authored by Eugen Rochko's avatar Eugen Rochko

Add blocks, endorsements, favourites APIs

parent 51c61c15
......@@ -18,8 +18,6 @@ Returns array of [Account]({{< relref "entities.md#account" >}})
|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
......
......@@ -5,3 +5,15 @@ menu:
parent: api
weight: 10
---
## GET /api/v1/endorsements
Returns array of [Account]({{< relref "entities.md#account" >}})
### Resource information
{{< api_method_info auth="Yes" user="Yes" scope="read read:account" version="0.0.0" >}}
### Pagination
{{< api_pagination >}}
......@@ -5,3 +5,21 @@ menu:
parent: api
weight: 10
---
## GET /api/v1/favourites
Returns array of [Status]({{< relref "entities.md#status" >}})
### Resource information
{{< api_method_info auth="Yes" user="Yes" scope="read read:favourites" version="0.0.0" >}}
### Parameters
|Name|Description|Required|Default|
|----|-----------|:------:|:-----:|
| `limit` | Maximum number of results | Optional | 20 |
### Pagination
{{< api_pagination >}}
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