`POST /v1/orgs/{org}/jobs/{job_id}/signature`.
const url = 'https://api.updawg.net/v1/orgs/example/jobs/example/signature';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"signature":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.updawg.net/v1/orgs/example/jobs/example/signature \ --header 'Content-Type: application/json' \ --data '{ "signature": "example" }'The signature is checked here, against the key the job names, so that a wrong key or a signature over the wrong bytes fails now rather than on every host. It protects nothing by itself — each host verifies against the key it pinned — and that is the point of the design.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization slug.
The job_… id.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Base64 Ed25519 signature over the job’s signing bytes. Required; optional here only so a missing one is answered after the permission check.
Example generated
{ "signature": "example"}Responses
Section titled “Responses”Accepted: the job is queued for its host.
object
queued: its host picks it up at its next check-in.
Example generated
{ "id": "example", "status": "example"}No signature, or one that does not verify under the key the job names over the job’s signing bytes.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No session.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Not permitted for this role.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No such job here.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}The job is not waiting for a signature — signed already, expired, or cancelled by a halt — or the key it names has been retired.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}The organization’s data is in another region (wrong-region, DAWG-159). detail names that region’s API; send the request there.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Over the organization’s request limit. Retry-After says when to try again; RateLimit-Limit is the burst.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}