-
Notifications
You must be signed in to change notification settings - Fork 11
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
/me: default_plan confusion #425
Comments
Here's how a back-end should resolve it:
The API can't know what "model" a back-end uses for billing (e.g. whether there's a user default) so it is flexible here (and point two was only added in v1.1 so point 3 is a bit of a legacy thing). I can try to clarify this in the descriptions. |
…h user_access_validation see openEOPlatform/architecture-docs#31 and Open-EO/openeo-api#425
Naming is probably not ideal, but we can't change it anymore so I'll try to improve the situation through documentation, see PR #428. The PR should also tackle the other issue raised. |
openeo-api/openapi.yaml
Lines 3431 to 3441 in f303d65
Field is called "default_plan" but description says "name of the plan the user has subscribed to, so field should be called "plan" instead of the fallback-sounding "default_plan" ?
I think this paragraph makes it even more confusing. A default that overrides another default: what's the point of the latter default then? And it also suggests that a user can work with multiple plans, so there should be a listing of this under
/me
as well I guess?The text was updated successfully, but these errors were encountered: