POST
/
templateversions
/
{templateversion}
/
dry-run
curl --request POST \
  --url https://cloud.local.wirtual.dev/api/v2/templateversions/{templateversion}/dry-run \
  --header 'Content-Type: application/json' \
  --header 'Wirtual-Session-Token: <api-key>' \
  --data '{
  "rich_parameter_values": [
    {
      "name": "<string>",
      "value": "<string>"
    }
  ],
  "user_variable_values": [
    {
      "name": "<string>",
      "value": "<string>"
    }
  ],
  "workspace_name": "<string>"
}'
{
  "canceled_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "error": "<string>",
  "error_code": "<any>",
  "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "queue_position": 123,
  "queue_size": 123,
  "started_at": "2023-11-07T05:31:56Z",
  "status": "<any>",
  "tags": {},
  "worker_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Wirtual-Session-Token
string
header
required

Path Parameters

templateversion
string
required

Template version ID

Body

application/json
Dry-run request
rich_parameter_values
object[]
user_variable_values
object[]
workspace_name
string

Response

201 - application/json
Created
canceled_at
string
completed_at
string
created_at
string
error
string
error_code
any
file_id
string
id
string
queue_position
integer
queue_size
integer
started_at
string
status
any
tags
object
worker_id
string