cyphermed.api.files.put_files_data

def sync_detailed( group_id: str, path: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.put_files_body.PutFilesBody) -> cyphermed.types.Response[typing.Union[cyphermed.models.files_url_for_path.FilesUrlForPath, cyphermed.models.success.Success]]:

Put Files Data

Create a pre-signed file upload URL

Args: group_id (str): path (str): body (PutFilesBody): Which File fields to include in PUT request bodies

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['FilesUrlForPath', 'Success']]

def sync( group_id: str, path: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.put_files_body.PutFilesBody) -> Union[cyphermed.models.files_url_for_path.FilesUrlForPath, cyphermed.models.success.Success, NoneType]:

Put Files Data

Create a pre-signed file upload URL

Args: group_id (str): path (str): body (PutFilesBody): Which File fields to include in PUT request bodies

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: Union['FilesUrlForPath', 'Success']

async def asyncio_detailed( group_id: str, path: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.put_files_body.PutFilesBody) -> cyphermed.types.Response[typing.Union[cyphermed.models.files_url_for_path.FilesUrlForPath, cyphermed.models.success.Success]]:

Put Files Data

Create a pre-signed file upload URL

Args: group_id (str): path (str): body (PutFilesBody): Which File fields to include in PUT request bodies

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['FilesUrlForPath', 'Success']]

async def asyncio( group_id: str, path: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.put_files_body.PutFilesBody) -> Union[cyphermed.models.files_url_for_path.FilesUrlForPath, cyphermed.models.success.Success, NoneType]:

Put Files Data

Create a pre-signed file upload URL

Args: group_id (str): path (str): body (PutFilesBody): Which File fields to include in PUT request bodies

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: Union['FilesUrlForPath', 'Success']