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

[autoendpoint] Support message deletion endpoint #175

Closed
AzureMarker opened this issue Jul 10, 2020 · 0 comments · Fixed by #186 or #231
Closed

[autoendpoint] Support message deletion endpoint #175

AzureMarker opened this issue Jul 10, 2020 · 0 comments · Fixed by #186 or #231
Assignees
Labels
2 Estimate - Small

Comments

@AzureMarker
Copy link
Contributor

AzureMarker commented Jul 10, 2020

Endpoint: DELETE /m/{message-id}
Documentation: https://autopush.readthedocs.io/en/latest/http.html#cancel-notification

The message with the given ID is deleted from the message table. This "cancels" the notification.

@AzureMarker AzureMarker added the 2 Estimate - Small label Jul 10, 2020
@AzureMarker AzureMarker added this to the Autoendpoint Rust Server milestone Jul 10, 2020
@AzureMarker AzureMarker self-assigned this Jul 10, 2020
@AzureMarker AzureMarker linked a pull request Jul 16, 2020 that will close this issue
AzureMarker added a commit that referenced this issue Jul 27, 2020
* Stub the DELETE /m/{message_id} route

* Extract the message ID data from the request path

* Implement DbClient::delete_message

* Implement the delete_notification_route handler

* Fix errors after rebase

Closes #175
This was referenced Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 Estimate - Small
Projects
None yet
1 participant