We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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:
Please assign this to me, once backend issue is merged, I would love to complete this. Thanks.
Sorry, something went wrong.
I guess I replied on the wrong thread. NVM
Ref: #547 (comment) #547 (comment)
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.
PATCH
BASE_URL/note/{note-id}/pin
Authorization <TOKEN>
{ "isPinned": true/false }
PATCH https://API_BASE_URL/note/noteId1234/pin Content-Type: application/json Authorization: Bearer YOUR_AUTH_TOKEN { "isPinned": true }
Response Code: 200
{ "status": "SUCCESS", "message": "Note is pinned/unpinned successfully", "noteId": <NOTE ID> }
Response Code: 404
{ "status": "NOT_FOUND", "message": "Note not exist with ID '$noteId'" }
Response Code: 401
{ "status": "UNAUTHORIZED", "message": "Access denied" }
tyaporush
Successfully merging a pull request may close this issue.
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: