Skip to content

Sublinks Native API #119

Description

@jgrim

Create basic CRUD restful endpoints for the core entities:

  1. Announcements
  2. Comments
  3. Communities
  4. Instances
  5. People
  6. Posts
  7. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions