Deployment APIs
Create deployment information
Creates new deployment information for a specified user or proposal.
POST
/
deployments
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
user_address
string
requiredUser's blockchain address (in hex format).
proposal_id
integer
requiredProposal ID.
id
number
Deployment ID.
request_id
string
Request ID from the blockchain.
worker_name
string
Name of the worker involved in the deployment.
worker_uuid
string
UUID of the worker involved in the deployment.
proposal_hash
string
Proposal hash (SHA-256).
deployment_details
object
JSON object containing detailed deployment information.
proposal
object
Status
enum<string>
Status of the deployment.
Available options:
init
, pick_up
, deploying
, deployed
, generated_proof
Response
200 - application/json
user_address
string
requiredUser's blockchain address (in hex format).
proposal_id
integer
requiredProposal ID.
id
number
Deployment ID.
request_id
string
Request ID from the blockchain.
worker_name
string
Name of the worker involved in the deployment.
worker_uuid
string
UUID of the worker involved in the deployment.
proposal_hash
string
Proposal hash (SHA-256).
deployment_details
object
JSON object containing detailed deployment information.
proposal
object
Status
enum<string>
Status of the deployment.
Available options:
init
, pick_up
, deploying
, deployed
, generated_proof