Api/v1/statuses (#11)
This PR adds:
Statuses
New status creation.
View existing status
Delete a status
Fave a status
Unfave a status
See who's faved a status
Media
Upload media attachment and store/retrieve it
Upload custom emoji and store/retrieve it
Fileserver
Serve files from storage
Testing
Test models, testrig -- run a GTS test instance and play around with it.
This commit is contained in:
19
PROGRESS.md
19
PROGRESS.md
@ -69,14 +69,14 @@
|
||||
* [ ] /api/v1/suggestions GET (Get suggested accounts to follow)
|
||||
* [ ] /api/v1/suggestions/:account_id DELETE (Delete a suggestion)
|
||||
* [ ] Statuses
|
||||
* [ ] /api/v1/statuses POST (Create a new status)
|
||||
* [ ] /api/v1/statuses/:id GET (View an existing status)
|
||||
* [ ] /api/v1/statuses/:id DELETE (Delete a status)
|
||||
* [x] /api/v1/statuses POST (Create a new status)
|
||||
* [x] /api/v1/statuses/:id GET (View an existing status)
|
||||
* [x] /api/v1/statuses/:id DELETE (Delete a status)
|
||||
* [ ] /api/v1/statuses/:id/context GET (View statuses above and below status ID)
|
||||
* [ ] /api/v1/statuses/:id/reblogged_by GET (See who has reblogged a status)
|
||||
* [ ] /api/v1/statuses/:id/favourited_by GET (See who has faved a status)
|
||||
* [ ] /api/v1/statuses/:id/favourite POST (Fave a status)
|
||||
* [ ] /api/v1/statuses/:id/favourite POST (Unfave a status)
|
||||
* [x] /api/v1/statuses/:id/favourited_by GET (See who has faved a status)
|
||||
* [x] /api/v1/statuses/:id/favourite POST (Fave a status)
|
||||
* [x] /api/v1/statuses/:id/unfavourite POST (Unfave a status)
|
||||
* [ ] /api/v1/statuses/:id/reblog POST (Reblog a status)
|
||||
* [ ] /api/v1/statuses/:id/unreblog POST (Undo a reblog)
|
||||
* [ ] /api/v1/statuses/:id/bookmark POST (Bookmark a status)
|
||||
@ -86,7 +86,7 @@
|
||||
* [ ] /api/v1/statuses/:id/pin POST (Pin a status to profile)
|
||||
* [ ] /api/v1/statuses/:id/unpin POST (Unpin a status from profile)
|
||||
* [ ] Media
|
||||
* [ ] /api/v1/media POST (Upload a media attachment)
|
||||
* [x] /api/v1/media POST (Upload a media attachment)
|
||||
* [ ] /api/v1/media/:id GET (Get a media attachment)
|
||||
* [ ] /api/v1/media/:id PUT (Update an attachment)
|
||||
* [ ] Polls
|
||||
@ -144,6 +144,7 @@
|
||||
* [ ] Custom Emojis
|
||||
* [ ] /api/v1/custom_emojis GET (Show this server's custom emoji)
|
||||
* [ ] Admin
|
||||
* [x] /api/v1/admin/custom_emojis POST (Upload a custom emoji for instance-wide usage)
|
||||
* [ ] /api/v1/admin/accounts GET (View accounts filtered by criteria)
|
||||
* [ ] /api/v1/admin/accounts/:id GET (View admin level info about an account)
|
||||
* [ ] /api/v1/admin/accounts/:id/action POST (Perform an admin action on account)
|
||||
@ -178,8 +179,8 @@
|
||||
* [ ] Storage
|
||||
* [x] Internal/statuses/preferences etc
|
||||
* [x] Postgres interface
|
||||
* [ ] Media storage
|
||||
* [ ] Local storage interface
|
||||
* [x] Media storage
|
||||
* [x] Local storage interface
|
||||
* [ ] S3 storage interface
|
||||
* [ ] Cache
|
||||
* [ ] In-memory cache
|
||||
|
||||
Reference in New Issue
Block a user