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

supporting HEAD for any endpoint #3

Open
tingzhao opened this issue Apr 24, 2015 · 4 comments
Open

supporting HEAD for any endpoint #3

tingzhao opened this issue Apr 24, 2015 · 4 comments
Assignees

Comments

@tingzhao
Copy link

This will allow a client to quickly check whether some data exists or not.

@DocSavage
Copy link
Member

Ting, could you clarify which endpoints need HEAD? Since each data type can implement the API in various ways, supporting HEAD will have to happen for each data type implementation. For example, HEAD for keyvalue type is just checking if they given key is stored, while HEAD for a labelvol has to check if any "label + block index" key is stored. So I need to know which API calls you'll need to quickly check for data.

Would it be the following endpoints in labelvol?

  • sparsevol
  • sparsevol-by-point
  • sparsevol-coarse

Or just the first one?

@DocSavage DocSavage self-assigned this Apr 24, 2015
@DocSavage
Copy link
Member

Also, shouldn't this issue be on DVID and not libdvid-cpp?

@stephenplaza
Copy link
Contributor

The issue should probably be on both repos. I can add an endpoint that can just call coarse vol or something that will return quickly. When you add the appropriate DVID endpoint, I can just call that instead.

@tingzhao
Copy link
Author

Yes, the issue should be on DVID. I posted it in the wrong place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants