Function handle_sop_rename
pub async fn handle_sop_rename(
__arg0: State<AppState>,
headers: HeaderMap,
__arg2: Path<String>,
__arg3: Json<SopRenameBody>,
) -> Response<Body>Expand description
Move a SOP to a new name. PUT /api/sops/{name} can only ever overwrite
the SOP named in its own URL, so a name change is its own collision-checked
operation rather than a save with a different name in the body.