Add the ability to see all local lists a user is part of
What feature would you like implemented? (Please give us a brief description of what you'd like.)
I would like an endpoint to fetch all (local) lists a user is part of, returning an empty array (or null) if there is none. Something like users/lists/show-memberships to compliment users/lists/get-memberships. Alternatively, I would like the User class to be extended to contain an array of lists although that would be inconsistent with the rest of the api. See: notes/clips and how a similar concept was implemented. The Note class does not store a list of clips.
Why should we add this feature? (Please give us a brief description of why your feature is important.)
It will help determine what users should be unfollowed by the proxy account. Specifically, on users/lists/pull the server should fetch the memberships for that userId and determine whether there exists any remaining lists.
Version (What version of Sharkey is your instance running? You can find this by clicking your instance's logo at the top left and then clicking instance information.)
2024.6.0-transfem
Instance (What instance of Sharkey are you using?)
Contribution Guidelines By submitting this issue, you agree to follow our Contribution Guidelines
- I agree to follow this project's Contribution Guidelines
- I have searched the issue tracker for similar requests, and this is not a duplicate.