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

Deprecate /self API Endpoints and Provide Meaningful Alternative Routes #2219

Open
17 of 21 tasks
vikasosmium opened this issue Oct 18, 2024 · 1 comment · May be fixed by #2312
Open
17 of 21 tasks

Deprecate /self API Endpoints and Provide Meaningful Alternative Routes #2219

vikasosmium opened this issue Oct 18, 2024 · 1 comment · May be fixed by #2312
Assignees
Labels
good first issue Good for newcomers refactor Refactor to keep the code clean

Comments

@vikasosmium
Copy link
Contributor

vikasosmium commented Oct 18, 2024

Issue Description

Deprecate the /self API endpoint across all routes from the website-backend. And provide a alternative route that will serve the purpose of /self.

Below is the mentioned list of routes where /self is currently being used:

    • GET /arts/user/self
    • GET /extensionRequests/self
    • GET /stocks/user/self
    • GET /tasks/self
    • PATCH /tasks/self/:id
    • PATCH /tasks/assign/self
    • POST /trading/stock/new/self
    • PATCH /users/self
    • PUT /users/self/intro
    • GET /userStatus/self
    • PATCH /userStatus/self

Expected Behavior

The API Endpoint should have a more meaningful name.

Current Behavior

Reproducibility

  • This issue is reproducible
  • This issue is not reproducible

Severity/Priority

  • Critical
  • High
  • Medium
  • Low

Additional Information

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.
@vikasosmium
Copy link
Contributor Author

Can you please assign this issue to me?
@vinit717

@vikasosmium vikasosmium changed the title Deprecate the /self API endpoint across all routes Deprecate /self API Endpoints and provide alternative Routes Oct 25, 2024
@vikasosmium vikasosmium changed the title Deprecate /self API Endpoints and provide alternative Routes Deprecate /self API Endpoints and Provide Meaningful Alternative Routes Oct 25, 2024
This was referenced Nov 18, 2024
@vikasosmium vikasosmium added good first issue Good for newcomers refactor Refactor to keep the code clean labels Dec 5, 2024
@vikasosmium vikasosmium linked a pull request Dec 27, 2024 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers refactor Refactor to keep the code clean
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant