polarion_rest_api_client.open_api_client.api.test_step_result_attachments package

Contains endpoint functions for accessing the API.

Submodules

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.delete_test_step_result_attachment module

async polarion_rest_api_client.open_api_client.api.test_step_result_attachments.delete_test_step_result_attachment.asyncio(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: AuthenticatedClient | Client) Any | Errors | None

Deletes the specified Test Step Result Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str):

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[Any, Errors]

async polarion_rest_api_client.open_api_client.api.test_step_result_attachments.delete_test_step_result_attachment.asyncio_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: AuthenticatedClient | Client) Response[Any | Errors]

Deletes the specified Test Step Result Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str):

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[Any, Errors]]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.delete_test_step_result_attachment.sync(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: AuthenticatedClient | Client) Any | Errors | None

Deletes the specified Test Step Result Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str):

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[Any, Errors]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.delete_test_step_result_attachment.sync_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: AuthenticatedClient | Client) Response[Any | Errors]

Deletes the specified Test Step Result Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str):

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[Any, Errors]]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.delete_test_step_result_attachments module

async polarion_rest_api_client.open_api_client.api.test_step_result_attachments.delete_test_step_result_attachments.asyncio(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, *, client: AuthenticatedClient | Client, body: TeststepresultAttachmentsListDeleteRequest) Any | Errors | None

Deletes a list of Test Step Result Attachments.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): body (TeststepresultAttachmentsListDeleteRequest):

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[Any, Errors]

async polarion_rest_api_client.open_api_client.api.test_step_result_attachments.delete_test_step_result_attachments.asyncio_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, *, client: AuthenticatedClient | Client, body: TeststepresultAttachmentsListDeleteRequest) Response[Any | Errors]

Deletes a list of Test Step Result Attachments.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): body (TeststepresultAttachmentsListDeleteRequest):

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[Any, Errors]]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.delete_test_step_result_attachments.sync(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, *, client: AuthenticatedClient | Client, body: TeststepresultAttachmentsListDeleteRequest) Any | Errors | None

Deletes a list of Test Step Result Attachments.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): body (TeststepresultAttachmentsListDeleteRequest):

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[Any, Errors]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.delete_test_step_result_attachments.sync_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, *, client: AuthenticatedClient | Client, body: TeststepresultAttachmentsListDeleteRequest) Response[Any | Errors]

Deletes a list of Test Step Result Attachments.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): body (TeststepresultAttachmentsListDeleteRequest):

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[Any, Errors]]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachment module

async polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachment.asyncio(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>) Errors | TeststepresultAttachmentsSingleGetResponse | None

Returns the specified Test Step Result Attachment for the specified Test Record.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str): fields (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):

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[Errors, TeststepresultAttachmentsSingleGetResponse]

async polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachment.asyncio_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Errors | TeststepresultAttachmentsSingleGetResponse]

Returns the specified Test Step Result Attachment for the specified Test Record.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str): fields (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):

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[Errors, TeststepresultAttachmentsSingleGetResponse]]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachment.sync(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>) Errors | TeststepresultAttachmentsSingleGetResponse | None

Returns the specified Test Step Result Attachment for the specified Test Record.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str): fields (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):

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[Errors, TeststepresultAttachmentsSingleGetResponse]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachment.sync_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Errors | TeststepresultAttachmentsSingleGetResponse]

Returns the specified Test Step Result Attachment for the specified Test Record.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str): fields (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):

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[Errors, TeststepresultAttachmentsSingleGetResponse]]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachment_content module

async polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachment_content.asyncio(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>) Any | Errors | None

Downloads the file content for a specified Test Step Result Attachment for the specified Test Record.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str): revision (Union[Unset, str]):

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[Any, Errors]

async polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachment_content.asyncio_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Any | Errors]

Downloads the file content for a specified Test Step Result Attachment for the specified Test Record.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str): revision (Union[Unset, str]):

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[Any, Errors]]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachment_content.sync(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>) Any | Errors | None

Downloads the file content for a specified Test Step Result Attachment for the specified Test Record.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str): revision (Union[Unset, str]):

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[Any, Errors]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachment_content.sync_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Any | Errors]

Downloads the file content for a specified Test Step Result Attachment for the specified Test Record.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str): revision (Union[Unset, str]):

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[Any, Errors]]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachments module

async polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachments.asyncio(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, *, client: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, pagesize: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>) Errors | TeststepresultAttachmentsListGetResponse | None

Returns a list of Attachments for the specified Test Step Result.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): pagesize (Union[Unset, int]): pagenumber (Union[Unset, int]): fields (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):

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[Errors, TeststepresultAttachmentsListGetResponse]

async polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachments.asyncio_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, *, client: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, pagesize: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Errors | TeststepresultAttachmentsListGetResponse]

Returns a list of Attachments for the specified Test Step Result.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): pagesize (Union[Unset, int]): pagenumber (Union[Unset, int]): fields (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):

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[Errors, TeststepresultAttachmentsListGetResponse]]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachments.sync(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, *, client: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, pagesize: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>) Errors | TeststepresultAttachmentsListGetResponse | None

Returns a list of Attachments for the specified Test Step Result.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): pagesize (Union[Unset, int]): pagenumber (Union[Unset, int]): fields (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):

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[Errors, TeststepresultAttachmentsListGetResponse]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.get_test_step_result_attachments.sync_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, *, client: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, pagesize: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Errors | TeststepresultAttachmentsListGetResponse]

Returns a list of Attachments for the specified Test Step Result.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): pagesize (Union[Unset, int]): pagenumber (Union[Unset, int]): fields (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):

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[Errors, TeststepresultAttachmentsListGetResponse]]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.patch_test_step_result_attachment module

async polarion_rest_api_client.open_api_client.api.test_step_result_attachments.patch_test_step_result_attachment.asyncio(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: AuthenticatedClient | Client, body: PatchTestStepResultAttachmentsRequestBody) Any | Errors | None

Updates the specified Test Step Result Attachment.

See more in the <a href="https://docs.sw.siemens.com/en-

US/doc/230235217/PL20241023686685479.polarion_help_sc.xid2134849/xid2134871" target="_blank">REST API User Guide</a>.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str): body (PatchTestStepResultAttachmentsRequestBody):

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[Any, Errors]

async polarion_rest_api_client.open_api_client.api.test_step_result_attachments.patch_test_step_result_attachment.asyncio_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: AuthenticatedClient | Client, body: PatchTestStepResultAttachmentsRequestBody) Response[Any | Errors]

Updates the specified Test Step Result Attachment.

See more in the <a href="https://docs.sw.siemens.com/en-

US/doc/230235217/PL20241023686685479.polarion_help_sc.xid2134849/xid2134871" target="_blank">REST API User Guide</a>.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str): body (PatchTestStepResultAttachmentsRequestBody):

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[Any, Errors]]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.patch_test_step_result_attachment.sync(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: AuthenticatedClient | Client, body: PatchTestStepResultAttachmentsRequestBody) Any | Errors | None

Updates the specified Test Step Result Attachment.

See more in the <a href="https://docs.sw.siemens.com/en-

US/doc/230235217/PL20241023686685479.polarion_help_sc.xid2134849/xid2134871" target="_blank">REST API User Guide</a>.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str): body (PatchTestStepResultAttachmentsRequestBody):

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[Any, Errors]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.patch_test_step_result_attachment.sync_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, attachment_id: str, *, client: AuthenticatedClient | Client, body: PatchTestStepResultAttachmentsRequestBody) Response[Any | Errors]

Updates the specified Test Step Result Attachment.

See more in the <a href="https://docs.sw.siemens.com/en-

US/doc/230235217/PL20241023686685479.polarion_help_sc.xid2134849/xid2134871" target="_blank">REST API User Guide</a>.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): attachment_id (str): body (PatchTestStepResultAttachmentsRequestBody):

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[Any, Errors]]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.post_test_step_result_attachments module

async polarion_rest_api_client.open_api_client.api.test_step_result_attachments.post_test_step_result_attachments.asyncio(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, *, client: AuthenticatedClient | Client, body: PostTestStepResultAttachmentsRequestBody) Errors | TeststepresultAttachmentsListPostResponse | None

Creates a list of Test Step Result Attachments.

Files are identified by order or optionally by the ‘lid’ attribute. See more in the <a

href="https://docs.sw.siemens.com/en- US/doc/230235217/PL20241023686685479.polarion_help_sc.xid2134849/xid2134871" target="_blank">REST API User Guide</a>.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): body (PostTestStepResultAttachmentsRequestBody):

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[Errors, TeststepresultAttachmentsListPostResponse]

async polarion_rest_api_client.open_api_client.api.test_step_result_attachments.post_test_step_result_attachments.asyncio_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, *, client: AuthenticatedClient | Client, body: PostTestStepResultAttachmentsRequestBody) Response[Errors | TeststepresultAttachmentsListPostResponse]

Creates a list of Test Step Result Attachments.

Files are identified by order or optionally by the ‘lid’ attribute. See more in the <a

href="https://docs.sw.siemens.com/en- US/doc/230235217/PL20241023686685479.polarion_help_sc.xid2134849/xid2134871" target="_blank">REST API User Guide</a>.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): body (PostTestStepResultAttachmentsRequestBody):

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[Errors, TeststepresultAttachmentsListPostResponse]]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.post_test_step_result_attachments.sync(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, *, client: AuthenticatedClient | Client, body: PostTestStepResultAttachmentsRequestBody) Errors | TeststepresultAttachmentsListPostResponse | None

Creates a list of Test Step Result Attachments.

Files are identified by order or optionally by the ‘lid’ attribute. See more in the <a

href="https://docs.sw.siemens.com/en- US/doc/230235217/PL20241023686685479.polarion_help_sc.xid2134849/xid2134871" target="_blank">REST API User Guide</a>.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): body (PostTestStepResultAttachmentsRequestBody):

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[Errors, TeststepresultAttachmentsListPostResponse]

polarion_rest_api_client.open_api_client.api.test_step_result_attachments.post_test_step_result_attachments.sync_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, test_step_index: str, *, client: AuthenticatedClient | Client, body: PostTestStepResultAttachmentsRequestBody) Response[Errors | TeststepresultAttachmentsListPostResponse]

Creates a list of Test Step Result Attachments.

Files are identified by order or optionally by the ‘lid’ attribute. See more in the <a

href="https://docs.sw.siemens.com/en- US/doc/230235217/PL20241023686685479.polarion_help_sc.xid2134849/xid2134871" target="_blank">REST API User Guide</a>.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): test_step_index (str): body (PostTestStepResultAttachmentsRequestBody):

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[Errors, TeststepresultAttachmentsListPostResponse]]