Add following collection
This commit is contained in:
parent
0ab1257ede
commit
cbc81c1f9f
24
README.md
24
README.md
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
- [Methods](#methods)
|
- [Methods](#methods)
|
||||||
- [Followers Collection](#followers-collection)
|
- [Followers Collection](#followers-collection)
|
||||||
|
- [Following Collection](#following-collection)
|
||||||
- [Liked Collection](#liked-collection)
|
- [Liked Collection](#liked-collection)
|
||||||
- [Profiles](#profiles)
|
- [Profiles](#profiles)
|
||||||
- [Entities](#entities)
|
- [Entities](#entities)
|
||||||
@ -56,6 +57,29 @@ Return:
|
|||||||
| `next` | Next page URL | yes | string |
|
| `next` | Next page URL | yes | string |
|
||||||
| `orderedItems` | The URL of each follower | no | Array of strings |
|
| `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
|
### Liked Collection
|
||||||
|
|
||||||
#### Getting an Actor's Liked Collection:
|
#### Getting an Actor's Liked Collection:
|
||||||
|
Reference in New Issue
Block a user