polarion_rest_api_client.open_api_client.api.work_item_comments package¶
Contains endpoint functions for accessing the API
Submodules¶
polarion_rest_api_client.open_api_client.api.work_item_comments.get_comment module¶
- async polarion_rest_api_client.open_api_client.api.work_item_comments.get_comment.asyncio(project_id: str, work_item_id: str, comment_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 | WorkitemCommentsSingleGetResponse | None¶
Returns the specified Work Item Comment.
- Args:
project_id (str): work_item_id (str): comment_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 | WorkitemCommentsSingleGetResponse
- async polarion_rest_api_client.open_api_client.api.work_item_comments.get_comment.asyncio_detailed(project_id: str, work_item_id: str, comment_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 | WorkitemCommentsSingleGetResponse]¶
Returns the specified Work Item Comment.
- Args:
project_id (str): work_item_id (str): comment_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 | WorkitemCommentsSingleGetResponse]
- polarion_rest_api_client.open_api_client.api.work_item_comments.get_comment.sync(project_id: str, work_item_id: str, comment_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 | WorkitemCommentsSingleGetResponse | None¶
Returns the specified Work Item Comment.
- Args:
project_id (str): work_item_id (str): comment_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 | WorkitemCommentsSingleGetResponse
- polarion_rest_api_client.open_api_client.api.work_item_comments.get_comment.sync_detailed(project_id: str, work_item_id: str, comment_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 | WorkitemCommentsSingleGetResponse]¶
Returns the specified Work Item Comment.
- Args:
project_id (str): work_item_id (str): comment_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 | WorkitemCommentsSingleGetResponse]
polarion_rest_api_client.open_api_client.api.work_item_comments.get_comments module¶
- async polarion_rest_api_client.open_api_client.api.work_item_comments.get_comments.asyncio(project_id: str, work_item_id: 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 | WorkitemCommentsListGetResponse | None¶
Returns a list of Work Item Comments.
- Args:
project_id (str): work_item_id (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 | WorkitemCommentsListGetResponse
- async polarion_rest_api_client.open_api_client.api.work_item_comments.get_comments.asyncio_detailed(project_id: str, work_item_id: 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 | WorkitemCommentsListGetResponse]¶
Returns a list of Work Item Comments.
- Args:
project_id (str): work_item_id (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 | WorkitemCommentsListGetResponse]
- polarion_rest_api_client.open_api_client.api.work_item_comments.get_comments.sync(project_id: str, work_item_id: 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 | WorkitemCommentsListGetResponse | None¶
Returns a list of Work Item Comments.
- Args:
project_id (str): work_item_id (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 | WorkitemCommentsListGetResponse
- polarion_rest_api_client.open_api_client.api.work_item_comments.get_comments.sync_detailed(project_id: str, work_item_id: 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 | WorkitemCommentsListGetResponse]¶
Returns a list of Work Item Comments.
- Args:
project_id (str): work_item_id (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 | WorkitemCommentsListGetResponse]
polarion_rest_api_client.open_api_client.api.work_item_comments.patch_comment module¶
- async polarion_rest_api_client.open_api_client.api.work_item_comments.patch_comment.asyncio(project_id: str, work_item_id: str, comment_id: str, *, client: AuthenticatedClient | Client, body: WorkitemCommentsSinglePatchRequest) Any | Errors | None¶
Updates the specified Work Item Comment.
- Args:
project_id (str): work_item_id (str): comment_id (str): body (WorkitemCommentsSinglePatchRequest):
- 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.work_item_comments.patch_comment.asyncio_detailed(project_id: str, work_item_id: str, comment_id: str, *, client: AuthenticatedClient | Client, body: WorkitemCommentsSinglePatchRequest) Response[Any | Errors]¶
Updates the specified Work Item Comment.
- Args:
project_id (str): work_item_id (str): comment_id (str): body (WorkitemCommentsSinglePatchRequest):
- 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.work_item_comments.patch_comment.sync(project_id: str, work_item_id: str, comment_id: str, *, client: AuthenticatedClient | Client, body: WorkitemCommentsSinglePatchRequest) Any | Errors | None¶
Updates the specified Work Item Comment.
- Args:
project_id (str): work_item_id (str): comment_id (str): body (WorkitemCommentsSinglePatchRequest):
- 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.work_item_comments.patch_comment.sync_detailed(project_id: str, work_item_id: str, comment_id: str, *, client: AuthenticatedClient | Client, body: WorkitemCommentsSinglePatchRequest) Response[Any | Errors]¶
Updates the specified Work Item Comment.
- Args:
project_id (str): work_item_id (str): comment_id (str): body (WorkitemCommentsSinglePatchRequest):
- 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.work_item_comments.post_comments module¶
- async polarion_rest_api_client.open_api_client.api.work_item_comments.post_comments.asyncio(project_id: str, work_item_id: str, *, client: AuthenticatedClient | Client, body: WorkitemCommentsListPostRequest) Errors | WorkitemCommentsListPostResponse | None¶
Creates a list of Work Item Comments.
- Args:
project_id (str): work_item_id (str): body (WorkitemCommentsListPostRequest):
- 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 | WorkitemCommentsListPostResponse
- async polarion_rest_api_client.open_api_client.api.work_item_comments.post_comments.asyncio_detailed(project_id: str, work_item_id: str, *, client: AuthenticatedClient | Client, body: WorkitemCommentsListPostRequest) Response[Errors | WorkitemCommentsListPostResponse]¶
Creates a list of Work Item Comments.
- Args:
project_id (str): work_item_id (str): body (WorkitemCommentsListPostRequest):
- 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 | WorkitemCommentsListPostResponse]
- polarion_rest_api_client.open_api_client.api.work_item_comments.post_comments.sync(project_id: str, work_item_id: str, *, client: AuthenticatedClient | Client, body: WorkitemCommentsListPostRequest) Errors | WorkitemCommentsListPostResponse | None¶
Creates a list of Work Item Comments.
- Args:
project_id (str): work_item_id (str): body (WorkitemCommentsListPostRequest):
- 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 | WorkitemCommentsListPostResponse
- polarion_rest_api_client.open_api_client.api.work_item_comments.post_comments.sync_detailed(project_id: str, work_item_id: str, *, client: AuthenticatedClient | Client, body: WorkitemCommentsListPostRequest) Response[Errors | WorkitemCommentsListPostResponse]¶
Creates a list of Work Item Comments.
- Args:
project_id (str): work_item_id (str): body (WorkitemCommentsListPostRequest):
- 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 | WorkitemCommentsListPostResponse]