-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Milestone
Description
Create basic CRUD restful endpoints for the core entities:
- Announcements
- Comments
- Communities
- Instances
- People
- Posts
- PrivateMessages
This means each resource will have a POST, PUT, GET support in the following format:
Create: POST /api/v1/{resource}
Read: GET /api/v1/{resource}
& GET /api/v1/{resource}/{id}
Update: PUT /api/v1/{resource}/{id}
Delete: DELETE /api/v1/{resource}/{id}
Do not create and RPC endpoints. For example, instead of adding a moderator to a communtiy like this: POST /api/v1/community/sublinks/addModerator
do it like this: POST /api/v1/community/sublinks/moderator
. Then create a new Controller for moderators with CRUD actions to create, read, update, and delete moderators from a community. An update for example could change the sort order of moderators.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Type
Projects
Status
🏗 In progress