Fix minor bugs

This commit is contained in:
Diogo Cordeiro 2018-05-10 18:06:56 +01:00
parent ea9929d1da
commit 0ab1257ede

View File

@ -1,4 +1,4 @@
ActivityPub Plugin for GNU Social Doc <ActivityPub Plugin for GNU Social Doc
===================================== =====================================
## Contents ## Contents
@ -47,12 +47,14 @@ Query parameters:
Return: Return:
| Field | Description | Type | | Field | Description | Nullable | Type |
| --------------- | ----------------------------------- | ------- | | --------------- | ----------------------------------- | -------- | ----------------- |
| `id` | URL for current endpoint | string | | `id` | URL for current endpoint | no | string |
| `type` | OrderedCollectionPage | string | | `type` | OrderedCollectionPage | no | string |
| `totalItems` | Total number of followers | int32 | | `totalItems` | Total number of followers | no | int32 |
| `orderedItems` | The URL of each follower | string | | `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
@ -70,12 +72,12 @@ Query parameters:
Return: Return:
| Field | Description | Type | | Field | Description | Nullable | Type |
| --------------- | ----------------------------------- | ---------------------------- | | --------------- | ----------------------------------- | -------- | ---------------------------- |
| `id` | URL for current endpoint | string | | `id` | URL for current endpoint | no | string |
| `type` | OrderedCollection | string | | `type` | OrderedCollection | no | string |
| `totalItems` | Number of elements in orderedItems | int32 | | `totalItems` | Number of elements in orderedItems | no | int32 |
| `orderedItems` | Array of [Notices](#notice) | Array of [Notices](#notice) | | `orderedItems` | Array of [Notices](#notice) | no | Array of [Notices](#notice) |
### Profiles ### Profiles