polarion_rest_api_client.open_api_client.api.test_record_attachments package

Contains endpoint functions for accessing the API

Submodules

polarion_rest_api_client.open_api_client.api.test_record_attachments.delete_test_record_attachment module

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

Deletes the specified Test Record Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (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:

Any | Errors

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

Deletes the specified Test Record Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (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[Any | Errors]

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

Deletes the specified Test Record Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (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:

Any | Errors

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

Deletes the specified Test Record Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (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[Any | Errors]

polarion_rest_api_client.open_api_client.api.test_record_attachments.delete_test_record_attachments module

async polarion_rest_api_client.open_api_client.api.test_record_attachments.delete_test_record_attachments.asyncio(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, *, client: AuthenticatedClient | Client, body: TestrecordAttachmentsListDeleteRequest) Any | Errors | None

Deletes a list of Test Record Attachments.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): body (TestrecordAttachmentsListDeleteRequest):

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:

Any | Errors

async polarion_rest_api_client.open_api_client.api.test_record_attachments.delete_test_record_attachments.asyncio_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, *, client: AuthenticatedClient | Client, body: TestrecordAttachmentsListDeleteRequest) Response[Any | Errors]

Deletes a list of Test Record Attachments.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): body (TestrecordAttachmentsListDeleteRequest):

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

polarion_rest_api_client.open_api_client.api.test_record_attachments.delete_test_record_attachments.sync(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, *, client: AuthenticatedClient | Client, body: TestrecordAttachmentsListDeleteRequest) Any | Errors | None

Deletes a list of Test Record Attachments.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): body (TestrecordAttachmentsListDeleteRequest):

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:

Any | Errors

polarion_rest_api_client.open_api_client.api.test_record_attachments.delete_test_record_attachments.sync_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, *, client: AuthenticatedClient | Client, body: TestrecordAttachmentsListDeleteRequest) Response[Any | Errors]

Deletes a list of Test Record Attachments.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): body (TestrecordAttachmentsListDeleteRequest):

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

polarion_rest_api_client.open_api_client.api.test_record_attachments.get_test_record_attachment module

async polarion_rest_api_client.open_api_client.api.test_record_attachments.get_test_record_attachment.asyncio(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, attachment_id: str, *, client: AuthenticatedClient | Client, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Errors | TestrecordAttachmentsSingleGetResponse | None

Returns the specified Test Record Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): attachment_id (str): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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:

Errors | TestrecordAttachmentsSingleGetResponse

async polarion_rest_api_client.open_api_client.api.test_record_attachments.get_test_record_attachment.asyncio_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, attachment_id: str, *, client: AuthenticatedClient | Client, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Errors | TestrecordAttachmentsSingleGetResponse]

Returns the specified Test Record Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): attachment_id (str): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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[Errors | TestrecordAttachmentsSingleGetResponse]

polarion_rest_api_client.open_api_client.api.test_record_attachments.get_test_record_attachment.sync(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, attachment_id: str, *, client: AuthenticatedClient | Client, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Errors | TestrecordAttachmentsSingleGetResponse | None

Returns the specified Test Record Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): attachment_id (str): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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:

Errors | TestrecordAttachmentsSingleGetResponse

polarion_rest_api_client.open_api_client.api.test_record_attachments.get_test_record_attachment.sync_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, attachment_id: str, *, client: AuthenticatedClient | Client, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Errors | TestrecordAttachmentsSingleGetResponse]

Returns the specified Test Record Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): attachment_id (str): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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[Errors | TestrecordAttachmentsSingleGetResponse]

polarion_rest_api_client.open_api_client.api.test_record_attachments.get_test_record_attachment_content module

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

Downloads the file content for a specified Test Record Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): attachment_id (str): revision (str | Unset):

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:

Any | Errors

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

Downloads the file content for a specified Test Record Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): attachment_id (str): revision (str | Unset):

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

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

Downloads the file content for a specified Test Record Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): attachment_id (str): revision (str | Unset):

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:

Any | Errors

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

Downloads the file content for a specified Test Record Attachment.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): attachment_id (str): revision (str | Unset):

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

polarion_rest_api_client.open_api_client.api.test_record_attachments.get_test_record_attachments module

async polarion_rest_api_client.open_api_client.api.test_record_attachments.get_test_record_attachments.asyncio(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, *, client: AuthenticatedClient | Client, pagesize: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Errors | TestrecordAttachmentsListGetResponse | None

Returns a list of Test Record Attachments.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): pagesize (int | Unset): pagenumber (int | Unset): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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:

Errors | TestrecordAttachmentsListGetResponse

async polarion_rest_api_client.open_api_client.api.test_record_attachments.get_test_record_attachments.asyncio_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, *, client: AuthenticatedClient | Client, pagesize: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Errors | TestrecordAttachmentsListGetResponse]

Returns a list of Test Record Attachments.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): pagesize (int | Unset): pagenumber (int | Unset): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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[Errors | TestrecordAttachmentsListGetResponse]

polarion_rest_api_client.open_api_client.api.test_record_attachments.get_test_record_attachments.sync(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, *, client: AuthenticatedClient | Client, pagesize: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Errors | TestrecordAttachmentsListGetResponse | None

Returns a list of Test Record Attachments.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): pagesize (int | Unset): pagenumber (int | Unset): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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:

Errors | TestrecordAttachmentsListGetResponse

polarion_rest_api_client.open_api_client.api.test_record_attachments.get_test_record_attachments.sync_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, *, client: AuthenticatedClient | Client, pagesize: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Errors | TestrecordAttachmentsListGetResponse]

Returns a list of Test Record Attachments.

Args:

project_id (str): test_run_id (str): test_case_project_id (str): test_case_id (str): iteration (str): pagesize (int | Unset): pagenumber (int | Unset): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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[Errors | TestrecordAttachmentsListGetResponse]

polarion_rest_api_client.open_api_client.api.test_record_attachments.patch_test_record_attachment module

async polarion_rest_api_client.open_api_client.api.test_record_attachments.patch_test_record_attachment.asyncio(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, attachment_id: str, *, client: AuthenticatedClient | Client, body: PatchTestRecordAttachmentsRequestBody | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Any | Errors | None

Updates the specified Test Record Attachment.

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

US/doc/230235217/PL20250606201928474.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): attachment_id (str): body (PatchTestRecordAttachmentsRequestBody | Unset):

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:

Any | Errors

async polarion_rest_api_client.open_api_client.api.test_record_attachments.patch_test_record_attachment.asyncio_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, attachment_id: str, *, client: AuthenticatedClient | Client, body: PatchTestRecordAttachmentsRequestBody | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Any | Errors]

Updates the specified Test Record Attachment.

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

US/doc/230235217/PL20250606201928474.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): attachment_id (str): body (PatchTestRecordAttachmentsRequestBody | Unset):

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

polarion_rest_api_client.open_api_client.api.test_record_attachments.patch_test_record_attachment.sync(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, attachment_id: str, *, client: AuthenticatedClient | Client, body: PatchTestRecordAttachmentsRequestBody | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Any | Errors | None

Updates the specified Test Record Attachment.

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

US/doc/230235217/PL20250606201928474.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): attachment_id (str): body (PatchTestRecordAttachmentsRequestBody | Unset):

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:

Any | Errors

polarion_rest_api_client.open_api_client.api.test_record_attachments.patch_test_record_attachment.sync_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, attachment_id: str, *, client: AuthenticatedClient | Client, body: PatchTestRecordAttachmentsRequestBody | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Any | Errors]

Updates the specified Test Record Attachment.

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

US/doc/230235217/PL20250606201928474.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): attachment_id (str): body (PatchTestRecordAttachmentsRequestBody | Unset):

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

polarion_rest_api_client.open_api_client.api.test_record_attachments.post_test_record_attachments module

async polarion_rest_api_client.open_api_client.api.test_record_attachments.post_test_record_attachments.asyncio(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, *, client: AuthenticatedClient | Client, body: PostTestRecordAttachmentsRequestBody) Errors | TestrecordAttachmentsListPostResponse | None

Creates a list of Test Record 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/PL20250606201928474.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): body (PostTestRecordAttachmentsRequestBody):

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:

Errors | TestrecordAttachmentsListPostResponse

async polarion_rest_api_client.open_api_client.api.test_record_attachments.post_test_record_attachments.asyncio_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, *, client: AuthenticatedClient | Client, body: PostTestRecordAttachmentsRequestBody) Response[Errors | TestrecordAttachmentsListPostResponse]

Creates a list of Test Record 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/PL20250606201928474.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): body (PostTestRecordAttachmentsRequestBody):

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[Errors | TestrecordAttachmentsListPostResponse]

polarion_rest_api_client.open_api_client.api.test_record_attachments.post_test_record_attachments.sync(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, *, client: AuthenticatedClient | Client, body: PostTestRecordAttachmentsRequestBody) Errors | TestrecordAttachmentsListPostResponse | None

Creates a list of Test Record 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/PL20250606201928474.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): body (PostTestRecordAttachmentsRequestBody):

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:

Errors | TestrecordAttachmentsListPostResponse

polarion_rest_api_client.open_api_client.api.test_record_attachments.post_test_record_attachments.sync_detailed(project_id: str, test_run_id: str, test_case_project_id: str, test_case_id: str, iteration: str, *, client: AuthenticatedClient | Client, body: PostTestRecordAttachmentsRequestBody) Response[Errors | TestrecordAttachmentsListPostResponse]

Creates a list of Test Record 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/PL20250606201928474.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): body (PostTestRecordAttachmentsRequestBody):

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[Errors | TestrecordAttachmentsListPostResponse]