You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I make a request to an endpoint for a collection that doesn't exists, I get a 404
In [14]: importrequestsIn [19]: r=requests.get("https://pct-pqe-staging.westeurope.cloudapp.azure.com/stac/v1/collections/not-a-collection")
In [20]: r.status_codeOut[20]: 404
But if I make a request to that collection's /items I get a 200, and the response includes an empty FeatureCollection.
Ported from stac-utils/stac-fastapi#120.
Original Issue:
If I make a request to an endpoint for a collection that doesn't exists, I get a 404
But if I make a request to that collection's
/items
I get a 200, and the response includes an empty FeatureCollection.I wanted to verify that this is the expected behavior. I didn't find anything in the API spec, but I admittedly didn't look too closely.
Reported in TomAugspurger/stac-dask-discussion#1
The text was updated successfully, but these errors were encountered: