Skip to content

!refactor(backend): restructure user endpoints #9604

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matmair
Copy link
Contributor

@matmair matmair commented Apr 28, 2025

This realigns the user API endpoints by:

  • moving endpoints that only return results for the current user to /user/me/
  • renaming the list endpoint for tokens from 'tokens' to 'token' as that name is now free

THIS IS BREAKING, do not merge for 1.0

@matmair matmair added api Relates to the API breaking Indicates a major update or change which breaks compatibility labels Apr 28, 2025
@matmair matmair added this to the 2.0.0 milestone Apr 28, 2025
@matmair matmair self-assigned this Apr 28, 2025
Copy link

netlify bot commented Apr 28, 2025

Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit ca39264
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/680ff6eb261b5500083ea9ab
😎 Deploy Preview https://deploy-preview-9604--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 95 (🔴 down 1 from production)
Accessibility: 89 (no change from production)
Best Practices: 100 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Apr 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.36%. Comparing base (cee679d) to head (ca39264).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #9604   +/-   ##
=======================================
  Coverage   86.36%   86.36%           
=======================================
  Files        1229     1229           
  Lines       53952    53952           
  Branches     2260     2260           
=======================================
+ Hits        46593    46596    +3     
+ Misses       6787     6784    -3     
  Partials      572      572           
Flag Coverage Δ
backend 88.32% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Relates to the API breaking Indicates a major update or change which breaks compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant