Skip to main content

handle_host_job_templates

Function handle_host_job_templates 

Source
pub(crate) async fn handle_host_job_templates(
    __arg0: State<AppState>,
    headers: HeaderMap,
    __arg2: Json<Value>,
) -> Response
Expand description

POST /api/v1/host/job_templates: the operator’s decisions, relayed by the host with its own token. action is approve (id, hash, and the signer fingerprint their prompt showed), forget_key (publisher), add_catalog (url, public_key), remove_catalog (url), add_reporter (name, public_key) or forget_reporter (name).