MLTSHP / mltshp

Source for the application that runs mltshp.com
https://mltshp.com/
Mozilla Public License 2.0
50 stars 21 forks source link

API does not allow joining/quitting a shake #689

Open spaceninja opened 1 year ago

spaceninja commented 1 year ago

On MLTSHP.com you can join and quit a shake. The API does not support this functionality.

spaceninja commented 1 year ago

Suggestion: Add the following endpoint (Since you can't follow a user, only the user's shake, this can be solved with one endpoint):

`POST /api/shake_id/(int: shakeid)/join

(this should also be available on the /api/shake_name and /api/shake_user endpoints.)

Joins the given shake as the authorized user. The user will then have access to post to this shake.

Parameters

Status Codes