RealDevSquad / RealDevSquad/website-backend
Create a discord related api that will change servername of the user in rds server
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
Issue
We need to create an API that will call cloudflare worker with proper data to change their server nickname
Description
- Call the patch
/guild/member - pass the body
{ discordId: user-discord-id-as-string, userName: rds-username-as-string} - an auth header similar to other apis that call the discord handler
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the existing APIs that call the Discord handler and trace their route, authentication header, and Cloudflare Worker request pattern. Add the API for PATCH /guild/member with the specified discordId and userName strings, then verify it sends the expected authenticated request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100