Warning
The whole STAPI spec is very much a work in progress, so things are guaranteed to be not correct.
STAPI FastAPI provides an fastapi.APIRouter which must be included in
fastapi.FastAPI instance.
4 endpoints currently offer pagination:
GET:'/orders,/products,/orders/{order_id}/statusesPOST:/opportunities.
Pagination is token based and follows recommendations in the STAC API pagination.
Limit and token are passed in as query params for GET endpoints, and via the body as
separate key/value pairs for POST requests.
If pagination is available and more records remain the response object will contain a
next link object that can be used to get the next page of results. No next Link
returned indicates there are no further records available.
limit defaults to 10 and maxes at 100.
ADRs can be found in in the adrs directory.
- The test suite assumes the backend can be instantiated without any parameters required by the constructor.