-
Notifications
You must be signed in to change notification settings - Fork 12
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
Revoke signed URLs #341 #381
base: draft
Are you sure you want to change the base?
Conversation
Proposed commit looks fine. some thoughts:
|
That would still be possible.
Endpoints in general should not be listed in the capabilities so that clients don't request them. Whether back-ends return a 501 or 404 or something else in the 4xx or 5xx range, if clients request the endpoint anyway is mostly up to them. |
To be honest, this looks quite cryptic and somewhat ad-hoc to me |
Indeed, looking at it after a while makes it look weird. Maybe a specific HTTP header or a separate HTTP endpoint (although an issue with REST conventions) are better options. |
Proposal for issue #341.
Please note that this endpoint could also be used for other functions in the future, that's why there is the specific requirement to send a specific command (i.e. assets = null) to the back-end to indicate that it should revoke access to assets.
This is more an idea for now, but would like to get feedback on the idea.