Remove rendered from outputs
This commit is contained in:
parent
c3f9df648a
commit
a799abae1a
25
README.md
25
README.md
@ -39,6 +39,8 @@ If the request you make doesn't go through, the plugin will usually respond with
|
|||||||
|
|
||||||
___
|
___
|
||||||
|
|
||||||
|
> **Note:** Some attributes in the payload can have ``null`` value and are marked as _nullable_ on the tables below. Attributes that are not nullable are guaranteed to return a valid value.
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
### Followers Collection
|
### Followers Collection
|
||||||
@ -50,14 +52,14 @@ ___
|
|||||||
Query parameters:
|
Query parameters:
|
||||||
|
|
||||||
| Field | Description | Optional | Type |
|
| Field | Description | Optional | Type |
|
||||||
| ----------- | ---------------------------------------------------- | ---------- | ---------- |
|
| ----------- | ------------------------- | ---------- | ---------- |
|
||||||
| `page` | Followers page index | no | int32 |
|
| `page` | Page index (starts in 1) | no | int32 |
|
||||||
|
|
||||||
Return:
|
Return:
|
||||||
|
|
||||||
| Field | Description | Nullable | Type |
|
| Field | Description | Nullable | Type |
|
||||||
| --------------- | ----------------------------------- | -------- | ----------------- |
|
| --------------- | ---------------------------- | -------- | ----------------- |
|
||||||
| `id` | URL for current endpoint | no | string |
|
| `id` | URL of the current endpoint | no | string |
|
||||||
| `type` | OrderedCollectionPage | no | string |
|
| `type` | OrderedCollectionPage | no | string |
|
||||||
| `totalItems` | Total number of followers | no | int32 |
|
| `totalItems` | Total number of followers | no | int32 |
|
||||||
| `prev` | Previous page URL | yes | string |
|
| `prev` | Previous page URL | yes | string |
|
||||||
@ -73,13 +75,13 @@ Return:
|
|||||||
Query parameters:
|
Query parameters:
|
||||||
|
|
||||||
| Field | Description | Optional | Type |
|
| Field | Description | Optional | Type |
|
||||||
| ----------- | ---------------------------------------------------- | ---------- | ---------- |
|
| ----------- | ------------------------- | ---------- | ---------- |
|
||||||
| `page` | Following page index | no | int32 |
|
| `page` | Page index (starts in 1) | no | int32 |
|
||||||
|
|
||||||
Return:
|
Return:
|
||||||
|
|
||||||
| Field | Description | Nullable | Type |
|
| Field | Description | Nullable | Type |
|
||||||
| --------------- | ----------------------------------- | -------- | ----------------- |
|
| --------------- | ------------------------------------ | -------- | ----------------- |
|
||||||
| `id` | URL for current endpoint | no | string |
|
| `id` | URL for current endpoint | no | string |
|
||||||
| `type` | OrderedCollectionPage | no | string |
|
| `type` | OrderedCollectionPage | no | string |
|
||||||
| `totalItems` | Number of persons the actor follows | no | int32 |
|
| `totalItems` | Number of persons the actor follows | no | int32 |
|
||||||
@ -104,10 +106,10 @@ Query parameters:
|
|||||||
Return:
|
Return:
|
||||||
|
|
||||||
| Field | Description | Nullable | Type |
|
| Field | Description | Nullable | Type |
|
||||||
| --------------- | ----------------------------------- | -------- | ---------------------------- |
|
| --------------- | ---------------------------- | -------- | ---------------------------- |
|
||||||
| `id` | URL for current endpoint | no | string |
|
| `id` | URL for current endpoint | no | string |
|
||||||
| `type` | OrderedCollection | no | string |
|
| `type` | OrderedCollection | no | string |
|
||||||
| `totalItems` | Number of elements in orderedItems | no | int32 |
|
| `totalItems` | Total number of favorites | no | int32 |
|
||||||
| `orderedItems` | Array of [Notices](#notice) | no | Array of [Notices](#notice) |
|
| `orderedItems` | Array of [Notices](#notice) | no | Array of [Notices](#notice) |
|
||||||
|
|
||||||
### Profiles
|
### Profiles
|
||||||
@ -123,8 +125,6 @@ ___
|
|||||||
|
|
||||||
## Entities
|
## Entities
|
||||||
|
|
||||||
> **Note:** Some attributes attributes in the entity payload can have ``null`` value and are marked as _nullable_ on the tables below. Attributes that are not nullable are guaranteed to return a valid value.
|
|
||||||
|
|
||||||
### Attachment
|
### Attachment
|
||||||
|
|
||||||
| Attribute | Description | Nullable | Type |
|
| Attribute | Description | Nullable | Type |
|
||||||
@ -144,7 +144,7 @@ Images may contain `width`, `height`, `size`.
|
|||||||
The most important part of an error response is the HTTP status code. Standard semantics are followed. The body of an error is a JSON object with this structure:
|
The most important part of an error response is the HTTP status code. Standard semantics are followed. The body of an error is a JSON object with this structure:
|
||||||
|
|
||||||
| Attribute | Description | Nullable | Type |
|
| Attribute | Description | Nullable | Type |
|
||||||
| ------------------------ | ---------------------------------- | -------- | ------- |
|
| ------------------------ | ----------------------------------- | -------- | ------- |
|
||||||
| `error` | A textual description of the error | no | string |
|
| `error` | A textual description of the error | no | string |
|
||||||
|
|
||||||
### Image
|
### Image
|
||||||
@ -167,7 +167,6 @@ The most important part of an error response is the HTTP status code. Standard s
|
|||||||
| `to` | To | no | |
|
| `to` | To | no | |
|
||||||
| `cc` | CC | no | |
|
| `cc` | CC | no | |
|
||||||
| `content` | Notice's Content in plain text | no | string |
|
| `content` | Notice's Content in plain text | no | string |
|
||||||
| `rendered` | Notice's Content in HTML | no | string |
|
|
||||||
| `url` | Notice's URL | no | string |
|
| `url` | Notice's URL | no | string |
|
||||||
| `reply_to` | ID of the notice this replies | yes | int32 |
|
| `reply_to` | ID of the notice this replies | yes | int32 |
|
||||||
| `is_local` | Boolean, true if local, false otherwise | no | bool |
|
| `is_local` | Boolean, true if local, false otherwise | no | bool |
|
||||||
|
Reference in New Issue
Block a user