Skip to content
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

Question: how to get the etag of search results #72

Open
jblom opened this issue Aug 10, 2023 · 1 comment
Open

Question: how to get the etag of search results #72

jblom opened this issue Aug 10, 2023 · 1 comment
Assignees

Comments

@jblom
Copy link

jblom commented Aug 10, 2023

My client application (Media Suite) retrieves annotations mostly via a search/query call. When the user wishes to delete or update a certain annotation, the client/UI does not have the etag required to do so.

It wouldn't be very nice to have the client first do a GET request to get the annotation's etag and then do a delete or update.

Is there a more direct way to do this or is it necessary to extend the search result data with etag information (which would also be weird because it is part of the response header...)

@brambg
Copy link
Collaborator

brambg commented Aug 10, 2023

There is currently no more direct way, I think adding the eTags to the search results (in the body, not the header) would be the preferred way.

@brambg brambg self-assigned this Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants