Skip to content

Commit ebbc7fe

Browse files
committed
update docstrings
1 parent 6a95c8e commit ebbc7fe

File tree

1 file changed

+6
-3
lines changed
  • stac_fastapi/core/stac_fastapi/core

1 file changed

+6
-3
lines changed

stac_fastapi/core/stac_fastapi/core/core.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,14 +256,17 @@ async def all_collections(
256256
"""Read all collections from the database.
257257
258258
Args:
259-
datetime (Optional[str]): Filter collections by datetime range.
260259
limit (Optional[int]): Maximum number of collections to return.
260+
bbox (Optional[BBox]): Bounding box to filter collections by spatial extent.
261+
datetime (Optional[str]): Filter collections by datetime range.
261262
fields (Optional[List[str]]): Fields to include or exclude from the results.
262-
sortby (Optional[str]): Sorting options for the results.
263+
sortby (Optional[Union[str, List[str]]]): Sorting options for the results.
263264
filter_expr (Optional[str]): Structured filter expression in CQL2 JSON or CQL2-text format.
264-
query (Optional[str]): Legacy query parameter (deprecated).
265265
filter_lang (Optional[str]): Must be 'cql2-json' or 'cql2-text' if specified, other values will result in an error.
266266
q (Optional[Union[str, List[str]]]): Free text search terms.
267+
query (Optional[str]): Legacy query parameter (deprecated).
268+
request (Request): FastAPI Request object.
269+
token (Optional[str]): Pagination token for retrieving the next page of results.
267270
**kwargs: Keyword arguments from the request.
268271
269272
Returns:

0 commit comments

Comments
 (0)