-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
[Android] Implement API for updating Pin/Unpin state in Android app #543
Labels
Milestone
Comments
Please assign this to me, once backend issue is merged, I would love to complete this. Thanks. |
I guess I replied on the wrong thread. NVM |
Hi @PatilShreyas Assign this to me |
Thanks, @tyaporush for showing interest in contributing to this. Assigning this to you 😄. |
@tyaporush Here's the REST API spec for you. REST API SpecificationRequest
{
"isPinned": true/false
} Example:PATCH https://API_BASE_URL/note/noteId1234/pin
Content-Type: application/json
Authorization: Bearer YOUR_AUTH_TOKEN
{
"isPinned": true
} Response1. When note gets pinned/unpinned successfullyResponse Code: 200 {
"status": "SUCCESS",
"message": "Note is pinned/unpinned successfully",
"noteId": <NOTE ID>
} 2. When note note exist in systemResponse Code: 404 {
"status": "NOT_FOUND",
"message": "Note not exist with ID '$noteId'"
} 3. When unauthorized user tries to update note pinResponse Code: 401 {
"status": "UNAUTHORIZED",
"message": "Access denied"
} |
This was
linked to
pull requests
Oct 7, 2022
Repository owner
moved this from To do
to Done
in NotyKT
Oct 9, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, all work regarding the pin/unpin feature is completed. Just API call invocation implementation is pending from the android app side.
Once #541 is merged, the work on this issue can be started.
The text was updated successfully, but these errors were encountered: