Skip to main content

manta_shared/types/api/
image.rs

1//! Parameters for `GET /images`.
2
3/// Typed parameters for fetching IMS images.
4pub struct GetImagesParams {
5  /// Exact IMS image ID; returns just that image when set.
6  pub id: Option<String>,
7  /// Glob pattern matched against image name; applied server-side.
8  /// Invalid glob returns HTTP 400.
9  pub pattern: Option<String>,
10  /// Cap on the number of images returned (most recent first).
11  pub limit: Option<u8>,
12}