SDFIdk / skraafoto_stac_public

Other
6 stars 1 forks source link

Response JSON for `/search` and `/collections/{collectionsid/items` does not match #34

Closed seskildsen closed 2 years ago

seskildsen commented 2 years ago

GET https://api.dataforsyningen.dk/skraafotoapi_test/search?bbox=15,55,16,56

Body fremgår som null

image

GET https://api.dataforsyningen.dk/skraafotoapi_test/collections/skraafotos2019/items?bbox=15,55,16,56

Body fremgår som false

image

AsgerPetersen commented 2 years ago

body bruges til at angive den http request body, som skal medsendes ifbm paging. Se https://github.com/radiantearth/stac-api-spec/tree/62003db924fe6630545400a41b62fe052d65b8ff/item-search#pagination

Den rigtige løsning er at fjerne link.body helt ved GET requests.