Add following collection

This commit is contained in:
Diogo Cordeiro 2018-05-11 00:00:09 +01:00
parent 0ab1257ede
commit cbc81c1f9f
1 changed files with 24 additions and 0 deletions

View File

@ -5,6 +5,7 @@
- [Methods](#methods)
- [Followers Collection](#followers-collection)
- [Following Collection](#following-collection)
- [Liked Collection](#liked-collection)
- [Profiles](#profiles)
- [Entities](#entities)
@ -56,6 +57,29 @@ Return:
| `next` | Next page URL | yes | string |
| `orderedItems` | The URL of each follower | no | Array of strings |
### Following Collection
#### Getting an Actor's Following Collection:
GET :nickname/following.json
Query parameters:
| Field | Description | Optional | Type |
| ----------- | ---------------------------------------------------- | ---------- | ---------- |
| `page` | Following page index | no | int32 |
Return:
| Field | Description | Nullable | Type |
| --------------- | ----------------------------------- | -------- | ----------------- |
| `id` | URL for current endpoint | no | string |
| `type` | OrderedCollectionPage | no | string |
| `totalItems` | Number of persons the actor follows | no | int32 |
| `prev` | Previous page URL | yes | string |
| `next` | Next page URL | yes | string |
| `orderedItems` | The URL of each follower | no | Array of strings |
### Liked Collection
#### Getting an Actor's Liked Collection: