decent-chat / spec

API documentation & RFC-esque specification for Decent server implementations
Mozilla Public License 2.0
1 stars 0 forks source link

Endpoints for giving and taking roles #6

Closed towerofnix closed 6 years ago

towerofnix commented 6 years ago

(Future pull-request makers: Please don't use this as an example pull request. It doesn't actually fix any existing issue (where a proposal should be); instead it's mostly spawned from external discussion.)

Removes roleIDs in PATCH /users/:id. Adds three new endpoints:

Note that this does not remove roleIDs from GET /users/:id, but does remove it from PATCH /users/:id.

bates64 commented 6 years ago

Actually, nevermind - returning the changed document is inconsistent.