Executes the test-run of the code in the block

.

post

. Only users with the Standard Registry role are allowed to make the request.

Authorizations
Path parameters
policyIdstringRequired

Policy Id

Example: 000000000000000000000001
Body
dataall ofRequired

Input data

Responses
200

Result.

application/json
post
POST /api/v1/policies/{policyId}/dry-run/block HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 128

{
  "block": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "data": {
    "input": "RunEvent",
    "output": "RunEvent",
    "type": "json",
    "document": "text"
  }
}
{
  "logs": [
    "text"
  ],
  "errors": [
    "text"
  ],
  "input": [
    {}
  ],
  "output": [
    {}
  ]
}

Last updated