cyphermed.api.data.post_json_data

def sync_detailed( group_id: str, path: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.upload_data_body.UploadDataBody) -> cyphermed.types.Response[cyphermed.models.success.Success]:

Post Json Data

Post data by group ID and path

Args: group_id (str): path (str): body (UploadDataBody): PUT/PATCH group data

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[Success]

def sync( group_id: str, path: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.upload_data_body.UploadDataBody) -> Optional[cyphermed.models.success.Success]:

Post Json Data

Post data by group ID and path

Args: group_id (str): path (str): body (UploadDataBody): PUT/PATCH group data

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: Success

async def asyncio_detailed( group_id: str, path: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.upload_data_body.UploadDataBody) -> cyphermed.types.Response[cyphermed.models.success.Success]:

Post Json Data

Post data by group ID and path

Args: group_id (str): path (str): body (UploadDataBody): PUT/PATCH group data

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[Success]

async def asyncio( group_id: str, path: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.upload_data_body.UploadDataBody) -> Optional[cyphermed.models.success.Success]:

Post Json Data

Post data by group ID and path

Args: group_id (str): path (str): body (UploadDataBody): PUT/PATCH group data

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: Success