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

[Refactor]: remove slug segment from DELETE comment API URL endpoint #810

Open
geromegrignon opened this issue Nov 14, 2021 · 1 comment
Labels
Status: RFC awaiting for comments to be approved v2 changelog
Milestone

Comments

@geromegrignon
Copy link
Contributor

Description

The current API URL to delete a comment is /articles/{slug}/comments/{id}.
The slug segment is the slug of the related article.
To delete a comment, this slug isn't required.

Solution

Change the URL to /articles/comments/{id}.

@geromegrignon geromegrignon added the Status: RFC awaiting for comments to be approved label Nov 15, 2021
@geromegrignon geromegrignon self-assigned this May 22, 2022
@geromegrignon geromegrignon added this to the V2 milestone May 22, 2022
@geromegrignon geromegrignon removed their assignment Jun 5, 2022
@spiroskmaris
Copy link

can i work on this issue please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: RFC awaiting for comments to be approved v2 changelog
Projects
Status: Done
Development

No branches or pull requests

2 participants