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 followers list #684

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

API does not expose followers list #684

spaceninja opened this issue Apr 16, 2023 · 1 comment

Comments

@spaceninja
Copy link
Member

On MLTSHP.com, on both the user page and a shake page, you can see who is following the person or shake. This information is not exposed in the API.

@spaceninja
Copy link
Member Author

spaceninja commented May 1, 2023

Suggestion: Add the following new endpoint:

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

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

Returns a list of users who are following 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:
    • followers – a list of users following 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