Skip to main content

Module tools

Module tools 

Source
Expand description

The tools library over HTTP (crate::tools): anyone signed in reads it; the author group adds, edits, retires and pictures tools.

Structs§

ListQuery
ToolView
A tool as the API shows it: its fields, and where its picture is.

Functions§

create
POST /api/tools {name, spec?, kind?}.
get
list
GET /api/tools: the library by name.
picture
set_picture
PUT /api/tools/:id/picture: the body is the image, its type the Content-Type.
update
PATCH /api/tools/:id {name?, spec?, kind?, retired?}: a tool is retired, never deleted.