polarion_rest_api_client.open_api_client.api.linked_work_items package

Contains endpoint functions for accessing the API.

Submodules

polarion_rest_api_client.open_api_client.api.linked_work_items.delete_linked_work_item module

async polarion_rest_api_client.open_api_client.api.linked_work_items.delete_linked_work_item.asyncio(project_id: str, work_item_id: str, role_id: str, target_project_id: str, linked_work_item_id: str, *, client: AuthenticatedClient | Client) Any | Errors | None

Deletes the specified Linked Work Item.

Deletes the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): role_id (str): target_project_id (str): linked_work_item_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.linked_work_items.delete_linked_work_item.asyncio_detailed(project_id: str, work_item_id: str, role_id: str, target_project_id: str, linked_work_item_id: str, *, client: AuthenticatedClient | Client) Response[Any | Errors]

Deletes the specified Linked Work Item.

Deletes the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): role_id (str): target_project_id (str): linked_work_item_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.linked_work_items.delete_linked_work_item.sync(project_id: str, work_item_id: str, role_id: str, target_project_id: str, linked_work_item_id: str, *, client: AuthenticatedClient | Client) Any | Errors | None

Deletes the specified Linked Work Item.

Deletes the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): role_id (str): target_project_id (str): linked_work_item_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.linked_work_items.delete_linked_work_item.sync_detailed(project_id: str, work_item_id: str, role_id: str, target_project_id: str, linked_work_item_id: str, *, client: AuthenticatedClient | Client) Response[Any | Errors]

Deletes the specified Linked Work Item.

Deletes the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): role_id (str): target_project_id (str): linked_work_item_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.linked_work_items.delete_linked_work_items module

async polarion_rest_api_client.open_api_client.api.linked_work_items.delete_linked_work_items.asyncio(project_id: str, work_item_id: str, *, client: AuthenticatedClient | Client, body: LinkedworkitemsListDeleteRequest) Any | Errors | None

Deletes a list of Linked Work Items.

Deletes the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): body (LinkedworkitemsListDeleteRequest):

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.linked_work_items.delete_linked_work_items.asyncio_detailed(project_id: str, work_item_id: str, *, client: AuthenticatedClient | Client, body: LinkedworkitemsListDeleteRequest) Response[Any | Errors]

Deletes a list of Linked Work Items.

Deletes the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): body (LinkedworkitemsListDeleteRequest):

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.linked_work_items.delete_linked_work_items.sync(project_id: str, work_item_id: str, *, client: AuthenticatedClient | Client, body: LinkedworkitemsListDeleteRequest) Any | Errors | None

Deletes a list of Linked Work Items.

Deletes the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): body (LinkedworkitemsListDeleteRequest):

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.linked_work_items.delete_linked_work_items.sync_detailed(project_id: str, work_item_id: str, *, client: AuthenticatedClient | Client, body: LinkedworkitemsListDeleteRequest) Response[Any | Errors]

Deletes a list of Linked Work Items.

Deletes the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): body (LinkedworkitemsListDeleteRequest):

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.linked_work_items.get_linked_work_item module

async polarion_rest_api_client.open_api_client.api.linked_work_items.get_linked_work_item.asyncio(project_id: str, work_item_id: str, role_id: str, target_project_id: str, linked_work_item_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 | LinkedworkitemsSingleGetResponse | None

Returns the specified Linked Work Item.

Returns the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): role_id (str): target_project_id (str): linked_work_item_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, LinkedworkitemsSingleGetResponse]

async polarion_rest_api_client.open_api_client.api.linked_work_items.get_linked_work_item.asyncio_detailed(project_id: str, work_item_id: str, role_id: str, target_project_id: str, linked_work_item_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 | LinkedworkitemsSingleGetResponse]

Returns the specified Linked Work Item.

Returns the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): role_id (str): target_project_id (str): linked_work_item_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, LinkedworkitemsSingleGetResponse]]

polarion_rest_api_client.open_api_client.api.linked_work_items.get_linked_work_item.sync(project_id: str, work_item_id: str, role_id: str, target_project_id: str, linked_work_item_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 | LinkedworkitemsSingleGetResponse | None

Returns the specified Linked Work Item.

Returns the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): role_id (str): target_project_id (str): linked_work_item_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, LinkedworkitemsSingleGetResponse]

polarion_rest_api_client.open_api_client.api.linked_work_items.get_linked_work_item.sync_detailed(project_id: str, work_item_id: str, role_id: str, target_project_id: str, linked_work_item_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 | LinkedworkitemsSingleGetResponse]

Returns the specified Linked Work Item.

Returns the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): role_id (str): target_project_id (str): linked_work_item_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, LinkedworkitemsSingleGetResponse]]

polarion_rest_api_client.open_api_client.api.linked_work_items.get_linked_work_items module

async polarion_rest_api_client.open_api_client.api.linked_work_items.get_linked_work_items.asyncio(project_id: str, work_item_id: 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 | LinkedworkitemsListGetResponse | None

Returns a list of Linked Work Items.

Returns the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (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, LinkedworkitemsListGetResponse]

async polarion_rest_api_client.open_api_client.api.linked_work_items.get_linked_work_items.asyncio_detailed(project_id: str, work_item_id: 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 | LinkedworkitemsListGetResponse]

Returns a list of Linked Work Items.

Returns the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (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, LinkedworkitemsListGetResponse]]

polarion_rest_api_client.open_api_client.api.linked_work_items.get_linked_work_items.sync(project_id: str, work_item_id: 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 | LinkedworkitemsListGetResponse | None

Returns a list of Linked Work Items.

Returns the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (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, LinkedworkitemsListGetResponse]

polarion_rest_api_client.open_api_client.api.linked_work_items.get_linked_work_items.sync_detailed(project_id: str, work_item_id: 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 | LinkedworkitemsListGetResponse]

Returns a list of Linked Work Items.

Returns the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (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, LinkedworkitemsListGetResponse]]

polarion_rest_api_client.open_api_client.api.linked_work_items.patch_linked_work_item module

async polarion_rest_api_client.open_api_client.api.linked_work_items.patch_linked_work_item.asyncio(project_id: str, work_item_id: str, role_id: str, target_project_id: str, linked_work_item_id: str, *, client: AuthenticatedClient | Client, body: LinkedworkitemsSinglePatchRequest) Any | Errors | None

Updates the specified Linked Work Item.

Updates the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): role_id (str): target_project_id (str): linked_work_item_id (str): body (LinkedworkitemsSinglePatchRequest):

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.linked_work_items.patch_linked_work_item.asyncio_detailed(project_id: str, work_item_id: str, role_id: str, target_project_id: str, linked_work_item_id: str, *, client: AuthenticatedClient | Client, body: LinkedworkitemsSinglePatchRequest) Response[Any | Errors]

Updates the specified Linked Work Item.

Updates the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): role_id (str): target_project_id (str): linked_work_item_id (str): body (LinkedworkitemsSinglePatchRequest):

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.linked_work_items.patch_linked_work_item.sync(project_id: str, work_item_id: str, role_id: str, target_project_id: str, linked_work_item_id: str, *, client: AuthenticatedClient | Client, body: LinkedworkitemsSinglePatchRequest) Any | Errors | None

Updates the specified Linked Work Item.

Updates the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): role_id (str): target_project_id (str): linked_work_item_id (str): body (LinkedworkitemsSinglePatchRequest):

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.linked_work_items.patch_linked_work_item.sync_detailed(project_id: str, work_item_id: str, role_id: str, target_project_id: str, linked_work_item_id: str, *, client: AuthenticatedClient | Client, body: LinkedworkitemsSinglePatchRequest) Response[Any | Errors]

Updates the specified Linked Work Item.

Updates the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): role_id (str): target_project_id (str): linked_work_item_id (str): body (LinkedworkitemsSinglePatchRequest):

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.linked_work_items.post_linked_work_items module

async polarion_rest_api_client.open_api_client.api.linked_work_items.post_linked_work_items.asyncio(project_id: str, work_item_id: str, *, client: AuthenticatedClient | Client, body: LinkedworkitemsListPostRequest) Errors | LinkedworkitemsListPostResponse | None

Creates a list of Linked Work Items.

Creates the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): body (LinkedworkitemsListPostRequest):

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, LinkedworkitemsListPostResponse]

async polarion_rest_api_client.open_api_client.api.linked_work_items.post_linked_work_items.asyncio_detailed(project_id: str, work_item_id: str, *, client: AuthenticatedClient | Client, body: LinkedworkitemsListPostRequest) Response[Errors | LinkedworkitemsListPostResponse]

Creates a list of Linked Work Items.

Creates the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): body (LinkedworkitemsListPostRequest):

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, LinkedworkitemsListPostResponse]]

polarion_rest_api_client.open_api_client.api.linked_work_items.post_linked_work_items.sync(project_id: str, work_item_id: str, *, client: AuthenticatedClient | Client, body: LinkedworkitemsListPostRequest) Errors | LinkedworkitemsListPostResponse | None

Creates a list of Linked Work Items.

Creates the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): body (LinkedworkitemsListPostRequest):

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, LinkedworkitemsListPostResponse]

polarion_rest_api_client.open_api_client.api.linked_work_items.post_linked_work_items.sync_detailed(project_id: str, work_item_id: str, *, client: AuthenticatedClient | Client, body: LinkedworkitemsListPostRequest) Response[Errors | LinkedworkitemsListPostResponse]

Creates a list of Linked Work Items.

Creates the direct outgoing links to other Work Items. (The same as the corresponding Java API

method.) Does not pertain to external links or backlinks.

Args:

project_id (str): work_item_id (str): body (LinkedworkitemsListPostRequest):

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, LinkedworkitemsListPostResponse]]