-
-
Notifications
You must be signed in to change notification settings - Fork 17
Sublinks Native API #119
Copy link
Copy link
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Milestone
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Type
Projects
Status
🏗 In progress
Create basic CRUD restful endpoints for the core entities:
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/addModeratordo 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.