com.publicdomainrelay.temp.gateway.requestComputeWorkerEphemeral
Request an ephemeral Deno worker through the compute contract gateway. Gateway bundles source, creates workerManifest record, runs the full RFP protocol, and returns the worker instance ref for single-request execution.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | gateway.temp.publicdomainrelay.com |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.denoJsonNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.denoLockNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.sourceNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.errorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Request an ephemeral Deno worker through the compute contract gateway. Gateway bundles source, creates workerManifest record, runs the full RFP protocol, and returns the worker instance ref for single-request execution.",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "AuthRequired"
},
{
"name": "NoBidders"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"bidWindowSec": {
"default": 30,
"description": "Seconds to wait for bids.",
"type": "integer"
},
"denoJson": {
"description": "deno.json configuration for the worker bundle.",
"type": "string"
},
"denoLock": {
"description": "Optional deno.lock for reproducible builds.",
"type": "string"
},
"source": {
"description": "TypeScript source code for the worker.",
"type": "string"
}
},
"required": [
"source",
"denoJson"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"error": {
"type": "string"
},
"receiptCid": {
"format": "cid",
"type": "string"
},
"receiptOk": {
"type": "boolean"
},
"receiptUri": {
"format": "at-uri",
"type": "string"
},
"workerInstanceUri": {
"format": "at-uri",
"type": "string"
}
},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "com.publicdomainrelay.temp.gateway.requestComputeWorkerEphemeral",
"lexicon": 1
}