Print

Use the replicant's onboard 3D printer to make a device from a blueprint. Resources are taken from the current location. The printer is busy until the job completes.

Endpoint

POST /v1/replicants/{code}/print

Body parameters

NameTypeDescription
device_typestringBlueprint device type from GET /v1/blueprints. Must be something you know how to print.

Example

POST /v1/replicants/{code}/print 202 accepted
$ curl -X POST https://api.replicant.space/v1/replicants/57F0F6C8/print \
    -H "Authorization: Bearer $API_KEY" \
    -d '{"blueprint": "mining_drone_small", "quantity": 3}'
response response
{
  "status": "enqueued"
}