qcrboxapiclient.api.data_files.get_data_file_by_id¶
- async qcrboxapiclient.api.data_files.get_data_file_by_id.asyncio(id, *, client)¶
Get a data file
Retrieve a data files by it’s ID.
- Parameters:
id (str)
client (AuthenticatedClient | Client)
- 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.
- Return type:
Union
[QCrBoxErrorResponse
,QCrBoxResponseDataFilesResponse
,None
]- Returns:
Union[QCrBoxErrorResponse, QCrBoxResponseDataFilesResponse]
- async qcrboxapiclient.api.data_files.get_data_file_by_id.asyncio_detailed(id, *, client)¶
Get a data file
Retrieve a data files by it’s ID.
- Parameters:
id (str)
client (AuthenticatedClient | Client)
- 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.
- Return type:
Response
[Union
[QCrBoxErrorResponse
,QCrBoxResponseDataFilesResponse
]]- Returns:
Response[Union[QCrBoxErrorResponse, QCrBoxResponseDataFilesResponse]]
- qcrboxapiclient.api.data_files.get_data_file_by_id.sync(id, *, client)¶
Get a data file
Retrieve a data files by it’s ID.
- Parameters:
id (str)
client (AuthenticatedClient | Client)
- 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.
- Return type:
Union
[QCrBoxErrorResponse
,QCrBoxResponseDataFilesResponse
,None
]- Returns:
Union[QCrBoxErrorResponse, QCrBoxResponseDataFilesResponse]
- qcrboxapiclient.api.data_files.get_data_file_by_id.sync_detailed(id, *, client)¶
Get a data file
Retrieve a data files by it’s ID.
- Parameters:
id (str)
client (AuthenticatedClient | Client)
- 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.
- Return type:
Response
[Union
[QCrBoxErrorResponse
,QCrBoxResponseDataFilesResponse
]]- Returns:
Response[Union[QCrBoxErrorResponse, QCrBoxResponseDataFilesResponse]]