1
0
Fork 0
mirror of https://git.pleroma.social/pleroma/pleroma.git synced 2026-02-15 17:16:57 +00:00

Expose content type of status sources

This commit is contained in:
Tusooa Zhu 2022-06-04 12:56:56 -04:00
parent 72ac940618
commit fe2d4778ee
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
6 changed files with 73 additions and 5 deletions

View file

@ -40,6 +40,10 @@ Has these additional fields under the `pleroma` object:
- `parent_visible`: If the parent of this post is visible to the user or not.
- `pinned_at`: a datetime (iso8601) when status was pinned, `null` otherwise.
The `GET /api/v1/statuses/:id/source` endpoint additionally has the following attributes:
- `content_type`: The content type of the status source.
## Scheduled statuses
Has these additional fields in `params`: