-
Notifications
You must be signed in to change notification settings - Fork 261
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
feat: User Profile API endpoint #457
Labels
enhancement
New feature or request
Comments
Would like to self-assign this issue. Not familiar with Django, but it seems like a simple addition. |
fkulla
pushed a commit
to fkulla/linkding
that referenced
this issue
Apr 26, 2023
fkulla
added a commit
to fkulla/linkding
that referenced
this issue
Apr 26, 2023
sissbruecker
pushed a commit
that referenced
this issue
Oct 1, 2023
sissbruecker
added a commit
that referenced
this issue
Oct 1, 2023
* feat: Implement UserProfile serializer and add API endpoint per #457 * chore: Document API addition * Address review comments --------- Co-authored-by: fkulla <mail@florian.direct>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What
I propose adding a new API endpoint
GET /api/user/profile
that responds with information about the authorized user's preferences/capabilities in the following format:This mirrors the internal model of the UserProfile, but I think it would be better to return the
web_archive_integration
state as a boolean for convenience. Maybe it could be renamed toenable_web_archive_integration
?Why
To allow API clients to query user capabilities. It's a prerequisite for changes needed at sissbruecker/linkding-extension#27.
The text was updated successfully, but these errors were encountered: