pixano.app.routers.items_info
get_item_info(dataset_id, id, settings)
async
Get an item info.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
dataset_id
|
str
|
Dataset ID. |
required |
id
|
str
|
ID. |
required |
settings
|
Annotated[Settings, Depends(get_settings)]
|
App settings. |
required |
Returns:
Type | Description |
---|---|
ItemInfoModel
|
The item info. |
Source code in pixano/app/routers/items_info.py
get_items_info(dataset_id, settings, where=None, ids=Query(None), limit=None, skip=0)
async
Get items info.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
dataset_id
|
str
|
Dataset ID. |
required |
settings
|
Annotated[Settings, Depends(get_settings)]
|
App settings. |
required |
where
|
str | None
|
Where clause for the item table. |
None
|
ids
|
list[str] | None
|
IDs. |
Query(None)
|
limit
|
int | None
|
Limit number of items. |
None
|
skip
|
int
|
Skip number of items. |
0
|
Returns:
Type | Description |
---|---|
list[ItemInfoModel]
|
List of items info. |