get_configurations

Function get_configurations 

Source
pub async fn get_configurations(
    infra: &InfraContext<'_>,
    token: &str,
    params: &GetConfigurationParams,
) -> Result<Vec<CfsConfigurationResponse>, Error>
Expand description

List CFS configurations the caller may see.

When params.group_name is set, access to that group is validated first; otherwise the search is scoped to every group the token already grants access to. Name / pattern / date filters and the per-call limit are applied by the backend.

ยงErrors

  • [Error::BadRequest] when params.group_name names a group the caller cannot reach (raised by the authorization helper).
  • [Error::NetError] / [Error::CsmError] propagated from the get_group_available and get_and_filter_configuration backend calls.