benchling_sdk.services.v2.beta.v2_beta_collaboration_service module¶
- class V2BetaCollaborationService¶
Bases:
benchling_sdk.services.v2.base_service.BaseService
V2-Beta Collaborations.
Collaborations represent which user or group has which access policies assigned to access an item.
See https://benchling.com/api/v2-beta/reference?showLA=true#/Collaboration
- get_by_id(collaboration_id: str) benchling_api_client.v2.beta.models.collaboration.Collaboration ¶
Get a collaboration by ID.
See https://benchling.com/api/v2-beta/reference?showLA=true#/Collaborations/getCollaboration
- list(*, item_ids: Optional[str] = None, item_type: Optional[benchling_api_client.v2.beta.models.list_collaborations_item_type.ListCollaborationsItemType] = None, user_id: Optional[str] = None, app_id: Optional[str] = None, team_id: Optional[str] = None, organization_id: Optional[str] = None, role: Optional[benchling_api_client.v2.beta.models.list_collaborations_role.ListCollaborationsRole] = None, ids: Optional[str] = None, modified_atlt: Optional[str] = None, modified_atgt: Optional[str] = None, modified_atlte: Optional[str] = None, modified_atgte: Optional[str] = None, created_atlt: Optional[str] = None, created_atgt: Optional[str] = None, page_size: Optional[int] = 50, sort: Optional[benchling_api_client.v2.beta.models.list_collaborations_sort.ListCollaborationsSort] = None) PageIterator[benchling_api_client.v2.beta.models.collaboration.Collaboration] ¶
List all collaborations.
See https://benchling.com/api/v2-beta/reference?showLA=true#/Collaborations/listCollaborations