collections_items_get_item_data¶
Retrieve the contents of an item
Functions
- async pydelfini.delfini_core.api.items.collections_items_get_item_data.asyncio(collection_id, version_id, item_id, *, client, dl=Unset)[source]¶
Retrieve the contents of an item
Retrieve the body of an item.
Not valid on folders.
For dataviews, this method retrieves the dataview’s definition code.
- Parameters:
collection_id (str)
version_id (str)
item_id (str)
dl (Union[Unset, CollectionsItemsGetItemDataDl])
client (AuthenticatedClient)
- Raises:
errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
Union[File]
- Return type:
- async pydelfini.delfini_core.api.items.collections_items_get_item_data.asyncio_detailed(collection_id, version_id, item_id, *, client, dl=Unset)[source]¶
Retrieve the contents of an item
Retrieve the body of an item.
Not valid on folders.
For dataviews, this method retrieves the dataview’s definition code.
- Parameters:
collection_id (str)
version_id (str)
item_id (str)
dl (Union[Unset, CollectionsItemsGetItemDataDl])
client (AuthenticatedClient)
- Raises:
errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
Response[Union[File, ServerError]]
- Return type:
- pydelfini.delfini_core.api.items.collections_items_get_item_data.sync(collection_id, version_id, item_id, *, client, dl=Unset)[source]¶
Retrieve the contents of an item
Retrieve the body of an item.
Not valid on folders.
For dataviews, this method retrieves the dataview’s definition code.
- Parameters:
collection_id (str)
version_id (str)
item_id (str)
dl (Union[Unset, CollectionsItemsGetItemDataDl])
client (AuthenticatedClient)
- Raises:
errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
Union[File]
- Return type:
- pydelfini.delfini_core.api.items.collections_items_get_item_data.sync_detailed(collection_id, version_id, item_id, *, client, dl=Unset)[source]¶
Retrieve the contents of an item
Retrieve the body of an item.
Not valid on folders.
For dataviews, this method retrieves the dataview’s definition code.
- Parameters:
collection_id (str)
version_id (str)
item_id (str)
dl (Union[Unset, CollectionsItemsGetItemDataDl])
client (AuthenticatedClient)
- Raises:
errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
Response[Union[File, ServerError]]
- Return type: