Skip to content

Create an api to delete a role from the discord server #282

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

Merged

Conversation

pankajjs
Copy link
Member

@pankajjs pankajjs commented Oct 24, 2024

Date: 24 Oct, 2024

Developer Name: @pankajjs


Issue Ticket Number

Description

This PR adds a delete api endpoint for removing a role from RDS discord server which is going to be used in website backend for deleting a group role when a super user deletes the group from Group Site.

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Working Video
dd1.mp4

Test Coverage

Screenshots Screenshot 2024-10-25 at 4 46 19 PM Screenshot 2024-10-25 at 4 46 31 PM Screenshot 2024-10-25 at 4 46 41 PM

Additional information

Design doc Google Doc Link

@pankajjs pankajjs changed the title Adds delete API endpoint for removing a role from the discord server Creates a delete API endpoint for removing a role from the discord server Oct 25, 2024
@pankajjs pankajjs marked this pull request as ready for review October 25, 2024 15:14
Copy link
Member

@iamitprakash iamitprakash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you pass me design doc

@pankajjs pankajjs changed the title Creates a delete API endpoint for removing a role from the discord server Create an api to delete a role from the discord server Oct 30, 2024
@pankajjs
Copy link
Member Author

@pankajjs pankajjs force-pushed the feat/delete-guild-role-api branch from 1961b68 to 6989c74 Compare November 7, 2024 13:22
@pankajjs pankajjs requested a review from iamitprakash November 7, 2024 15:52
@pankajjs pankajjs requested a review from samarpan1738 November 8, 2024 18:03
Copy link
Member

@iamitprakash iamitprakash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why status is 204 ..?

@pankajjs
Copy link
Member Author

pankajjs commented Nov 9, 2024

It is a delete endpoint. Therefore I have followed the REST standard for delete request with 204 status and empty body.

samarpan1738
samarpan1738 previously approved these changes Nov 10, 2024
vikhyat187
vikhyat187 previously approved these changes Nov 11, 2024
Copy link
Contributor

@vikhyat187 vikhyat187 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

samarpan1738
samarpan1738 previously approved these changes Nov 11, 2024
@pankajjs pankajjs dismissed stale reviews from samarpan1738 and vikhyat187 via d28042b November 11, 2024 19:09
@prakashchoudhary07 prakashchoudhary07 merged commit 79dd9ba into Real-Dev-Squad:develop Nov 12, 2024
2 checks passed
@pankajjs pankajjs mentioned this pull request Nov 20, 2024
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: API endpoint for removing a role from the discord server
7 participants