post_sat_image_stamp

Function post_sat_image_stamp 

Source
pub async fn post_sat_image_stamp(
    ctx: RequestCtx,
    __arg1: Json<StampImageFromSessionRequest>,
) -> Result<impl IntoResponse, (StatusCode, Json<ErrorResponse>)>
Expand description

POST /api/v1/sat-file/images/stamp — fetch the named CFS session, derive the provenance stamp, and PATCH the produced IMS image.

Performs two boundary checks before delegating to the backend: the caller must have access to every HSM group the session targets, and the session must have produced a result image. See crate::service::session::validate_session_access + crate::service::session::require_result_image.