collections_get_collection_authorization

Get collection authorized users and groups

Functions

async pydelfini.delfini_core.api.collections.collections_get_collection_authorization.asyncio(collection_id, version_id, *, client, filter_=Unset)[source]

Get collection authorized users and groups

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Union[CollectionAuthorization]

Return type:

CollectionAuthorization

async pydelfini.delfini_core.api.collections.collections_get_collection_authorization.asyncio_detailed(collection_id, version_id, *, client, filter_=Unset)[source]

Get collection authorized users and groups

Parameters:
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[CollectionAuthorization, ServerError]]

Return type:

Response[CollectionAuthorization | ServerError]

pydelfini.delfini_core.api.collections.collections_get_collection_authorization.sync(collection_id, version_id, *, client, filter_=Unset)[source]

Get collection authorized users and groups

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Union[CollectionAuthorization]

Return type:

CollectionAuthorization

pydelfini.delfini_core.api.collections.collections_get_collection_authorization.sync_detailed(collection_id, version_id, *, client, filter_=Unset)[source]

Get collection authorized users and groups

Parameters:
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[CollectionAuthorization, ServerError]]

Return type:

Response[CollectionAuthorization | ServerError]