polarion_rest_api_client.open_api_client.api.feature_selections package¶
Contains endpoint functions for accessing the API
Submodules¶
polarion_rest_api_client.open_api_client.api.feature_selections.get_feature_selection module¶
- async polarion_rest_api_client.open_api_client.api.feature_selections.get_feature_selection.asyncio(project_id: str, work_item_id: str, selection_type_id: str, target_project_id: str, target_work_item_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 | FeatureselectionsSingleGetResponse | None¶
Returns the specified Feature Selection.
- Args:
project_id (str): work_item_id (str): selection_type_id (str): target_project_id (str): target_work_item_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 | FeatureselectionsSingleGetResponse
- async polarion_rest_api_client.open_api_client.api.feature_selections.get_feature_selection.asyncio_detailed(project_id: str, work_item_id: str, selection_type_id: str, target_project_id: str, target_work_item_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 | FeatureselectionsSingleGetResponse]¶
Returns the specified Feature Selection.
- Args:
project_id (str): work_item_id (str): selection_type_id (str): target_project_id (str): target_work_item_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 | FeatureselectionsSingleGetResponse]
- polarion_rest_api_client.open_api_client.api.feature_selections.get_feature_selection.sync(project_id: str, work_item_id: str, selection_type_id: str, target_project_id: str, target_work_item_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 | FeatureselectionsSingleGetResponse | None¶
Returns the specified Feature Selection.
- Args:
project_id (str): work_item_id (str): selection_type_id (str): target_project_id (str): target_work_item_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 | FeatureselectionsSingleGetResponse
- polarion_rest_api_client.open_api_client.api.feature_selections.get_feature_selection.sync_detailed(project_id: str, work_item_id: str, selection_type_id: str, target_project_id: str, target_work_item_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 | FeatureselectionsSingleGetResponse]¶
Returns the specified Feature Selection.
- Args:
project_id (str): work_item_id (str): selection_type_id (str): target_project_id (str): target_work_item_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 | FeatureselectionsSingleGetResponse]
polarion_rest_api_client.open_api_client.api.feature_selections.get_feature_selections module¶
- async polarion_rest_api_client.open_api_client.api.feature_selections.get_feature_selections.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 | FeatureselectionsListGetResponse | None¶
Returns a list of Feature Selections.
- 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 | FeatureselectionsListGetResponse
- async polarion_rest_api_client.open_api_client.api.feature_selections.get_feature_selections.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 | FeatureselectionsListGetResponse]¶
Returns a list of Feature Selections.
- 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 | FeatureselectionsListGetResponse]
- polarion_rest_api_client.open_api_client.api.feature_selections.get_feature_selections.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 | FeatureselectionsListGetResponse | None¶
Returns a list of Feature Selections.
- 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 | FeatureselectionsListGetResponse
- polarion_rest_api_client.open_api_client.api.feature_selections.get_feature_selections.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 | FeatureselectionsListGetResponse]¶
Returns a list of Feature Selections.
- 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 | FeatureselectionsListGetResponse]