Skip to main content

update

Function update 

Source
pub async fn update(
    __arg0: State<Shared>,
    headers: HeaderMap,
    __arg2: Path<String>,
    __arg3: Json<Value>,
) -> Result<Json<ToolView>, Error>
Expand description

PATCH /api/tools/:id {name?, spec?, kind?, retired?}: a tool is retired, never deleted.