Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API does not expose shake members #687

Open
spaceninja opened this issue Apr 16, 2023 · 1 comment
Open

API does not expose shake members #687

spaceninja opened this issue Apr 16, 2023 · 1 comment

Comments

@spaceninja
Copy link
Member

On MLTSHP.com when viewing a shake, you can see a list of members in the sidebar. The API does not expose this information.

@spaceninja
Copy link
Member Author

spaceninja commented May 1, 2023

Suggestion: Add the following new endpoint:

GET /api/shake_id/(int: shakeid)/members

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

Returns a list of users who are members of the shake with the given numeric shake ID.

Parameters

  • shakeid – the shake’s numeric ID

Status Codes

  • 200 OK – the response is an object containing:
    • members – a list of users who are members of the shake
  • 404 Not Found – no such shake with that ID

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

No branches or pull requests

1 participant