-
Notifications
You must be signed in to change notification settings - Fork 47
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
Uncertainties around /catalogs/{catalog_id} #398
Comments
FYI: The landing page example of the children extension implicitly suggests to retrieve catalogs through the I have to say that with the current implementation of STAC API spec it is not clear how to retrieve Catalogs, therefore I think the introduction of the |
No, it defines /children, not /catalogs. And it uses the path structure as recommended in Core. That doesn't really imply a /catalogs endpoint to me. IMHO Catalogs is not really an API construct, it's more a static catalog thing. You just have them for browsing (and grouping) purposes right now and as such there seems at maximum a niche use case for catalog retrieval in something like /catalogs. But let's discuss... |
The history of this is that when we started Browseable, there had to be some path to create the child & item links to, and This section was one of the ones I had in mind of extracting to a "Best Practices" document outside the spec, so I'm happy to do that. One of the big problems with this is no one has implemented an API like this yet, so it's all hypothetical. However, we could change this description to describe a static catalog that has been indexed into an API, and the API's Landing Page |
I created a PR to remove that language, as it is incomplete and confusing. I don't think we have any implementations that have successfully implemented both search and browse in an API, so this needs more work. |
In issue #388 (comment) I was made aware of the
/catalogs/{catalog_id}
recommendation. In this issue the user understood it as if/catalogs
would also be a thing. This completely slipped through for me and I must say I'm also relatively confused by it. As far as I understand it's just a recommendation for where to place catalogs, but I think the definition / recommendation has flaws and issues and should maybe not be in the stable API spec as it is right now.Why is this recommendation necessary? Thorugh the hypermedia approach in the API pre-defined paths are not really necessary. You can just follow links. If you want to give the catalogs more structure, such a recommendation is fine, but then it should be better defined and give more context. It also feels a bit like this is something that may belong more into the Children conformance class?
Anyway, if is not removed we should probably make some things more clear:
child
).The text was updated successfully, but these errors were encountered: