-
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
user_id in file management paths #218
Comments
You are right. We have introduced the |
Indeed, the user_id in the path is meant mostly for sharing purposes in the future. This is because path is not unique (there could be two users uploading and sharing a test.txt). All other resources have IDs which should be unique across all users. If this answers is sufficient, please close the issue. Otherwise let me know whether you like the parameter to be removed and why. Thank you. |
ok, I understand. On the other hand (and maybe I am picking up old discussions that are a closed deal): as a user I don't expect to see files from other users, let alone other users being able to see my files. |
Yes. I'm open to removing the user id. It also depends on the decision we make for #135, I guess... |
Let's drop it for now, will also make authentication easier as the client doesn't need to know the user id. Any concerns? If the user ID gets removed, we need to remove
from the API description twice. |
I'm in favour of dropping it |
Discussed on the dev telco today. Somewhat agreed on dropping the user_id, but several people (also VITO) raised that there's not enough experience yet with the /files/... endpoints yet. So there's a preference of dropping it, but before making this change maybe we wait for another month or so and then check back again. |
For sharing, we could still add a public URL for each file to the GET /files endpoint later. So I don't see a real reason to keep it. => Removed user_id from spec. |
…e user files (`/files/{user_id}`). #218
…e user files (`/files/{user_id}`). #218
The file management paths have user id in them:
https://open-eo.github.io/openeo-api/apireference/#tag/File-Management
Why is that, given that the requests already require a bearer authorization header which should identify the user?
The text was updated successfully, but these errors were encountered: