POST
/
deployments

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
user_address
string
required

User's blockchain address (in hex format).

proposal_id
integer
required

Proposal 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
required

User's blockchain address (in hex format).

proposal_id
integer
required

Proposal 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