diff --git a/eodag/resources/stac_api.yml b/eodag/resources/stac_api.yml index 8ae1a9b8b..945d8f372 100644 --- a/eodag/resources/stac_api.yml +++ b/eodag/resources/stac_api.yml @@ -169,9 +169,13 @@ paths: summary: The feature collections in the dataset. description: A body of Feature Collections that belong or are used together with additional links. Request may not return the full set of metadata per Feature Collection. operationId: getCollections + parameters: + - $ref: '#/components/parameters/q' responses: '200': $ref: '#/components/responses/Collections' + '202': + $ref: '#/components/responses/Accepted' '500': $ref: '#/components/responses/ServerError' /collections/{collectionId}: @@ -1842,6 +1846,12 @@ components: text/html: schema: type: string + Accepted: + description: The request has been accepted, but the data is not yet ready. Please wait a few minutes before trying again. + content: + application/json: + schema: + $ref: '#/components/schemas/exception' Collections: description: >- The feature collections shared by this API.