Executes the test-run of the code in the block
. Only users with the Standard Registry role are allowed to make the request.
Authorizations
Path parameters
policyIdstringRequiredExample:
Policy Id
000000000000000000000001
Body
dataall ofRequired
Input data
Responses
200
Result.
application/json
401
Unauthorized.
403
Forbidden.
500
Internal server error.
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": [
{}
]
}
PreviousReturns the list of saved mock-up data for the selected blockNextPython Implementation in Guardian
Last updated