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

Updated deprecated /users/self API endpoint to the current working endpoint /users?profile=true #1294

Conversation

Hariom01010
Copy link
Contributor

@Hariom01010 Hariom01010 commented Dec 8, 2024

Date: 09 Dec 2024

Developer Name: Hariom Vashista


Issue Ticket Number

Fixes: Real-Dev-Squad/todo-action-items#255 repo#3

Description

The deprecated API endpoint (/users/self) has been replaced by the current in use implementation (/users?profile=true)

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screenshot 1

Screenshot 2024-12-09 015119
The screenshot shows the working of the site with the /users/self API endpoint (before changes). Response Status: 200 OK

Screenshot 2

Screenshot 2024-12-09 015152
The screenshot shows the working of the site with the /users?profile=true API endpoint (after the changes). Response Status: 200 OK

Test Coverage

Screenshot 1

Screenshot 2025-01-04 233942
All tests are passing.

Additional Notes

Copy link

vercel bot commented Dec 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
status-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 8, 2024 8:35pm

Copy link

vercel bot commented Dec 8, 2024

@Hariom01010 is attempting to deploy a commit to the RDS-Team Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@prakashchoudhary07 prakashchoudhary07 left a comment

Choose a reason for hiding this comment

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

Tests are failing?

@Hariom01010
Copy link
Contributor Author

Will look into it again sir and rerun it on my workspace and try to fix them ASAP

@iamitprakash iamitprakash merged commit 00519da into Real-Dev-Squad:develop Jan 7, 2025
1 of 2 checks passed
@AnujChhikara AnujChhikara mentioned this pull request Jan 11, 2025
10 tasks
iAmAshuSahoo pushed a commit to iAmAshuSahoo/website-status that referenced this pull request Jan 29, 2025
…ers-self-api-endpoint

Updated deprecated /users/self API endpoint to the current working endpoint /users?profile=true
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.

Remove /users/self and implement a new API Endpoint
5 participants