get_images

Function get_images 

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

Fetch IMS images from the backend, sorted by creation time.

Filters server-side by params.pattern (glob syntax, matched against image.name) and caps the result at params.limit.

An invalid glob (unbalanced bracket, malformed range, …) returns [Error::BadRequest] with the parser’s message; the caller’s handler layer maps that to HTTP 400.