-
Notifications
You must be signed in to change notification settings - Fork 21
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
uptick the api version to 2
#1112
Comments
For the UI I don't think it is needed. The backend can switch straight to |
What problem does this solve? I wouldn't expect an Maybe I'm not fully understanding the motivation for this? |
BREAKING-CHANGE: This changes the prefix of the API from /api/v1 to /api/v2 as this is the successor API of trustification (v1). Closes: trustification#1112
See: #1133 (comment) |
You meant the frontend can switch to use v2 directly ? |
I meant that if the backend changes the REST paths then it will be reflected in the openapi.yaml the trustify repo has therefore triggering this action https://github.com/trustification/trustify/blob/main/.github/workflows/openapi.yaml ... and I was hoping that is all the ui repo needs to catch the changes |
BREAKING-CHANGE: This changes the prefix of the API from /api/v1 to /api/v2 as this is the successor API of trustification (v1). Closes: trustification#1112
BREAKING-CHANGE: This changes the prefix of the API from /api/v1 to /api/v2 as this is the successor API of trustification (v1). Closes: trustification#1112
BREAKING-CHANGE: This changes the prefix of the API from /api/v1 to /api/v2 as this is the successor API of trustification (v1). Closes: trustification#1112
BREAKING-CHANGE: This changes the prefix of the API from /api/v1 to /api/v2 as this is the successor API of trustification (v1). Closes: #1112
Currently the REST APIs are mounted under
/api/v1
. However, we consider trustify "v2". So we should mount all REST APIs under/api/v2
instead, just to be clear on that, and also to (maybe) allow compatibility APIs.As that has a direct impact on the UI, maybe the first step would be to mount those APIs twice: once under
v1
once underv2
.The text was updated successfully, but these errors were encountered: