Saltar al contenido principal
POST
/
v1
/
workflow
/
{flow_id}
/
steps
/
{step_name}
/
test
Test an action step
import requests

url = "https://api.diga.io/v1/workflow/{flow_id}/steps/{step_name}/test"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.text)
{
  "success": true,
  "input": null,
  "output": null,
  "standardError": "",
  "standardOutput": ""
}

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

flow_id
string
requerido
step_name
string
requerido

Respuesta

Successful Response

Result of testing a single step.

success
boolean
requerido
input
unknown
output
unknown
standardError
string
predeterminado:""
standardOutput
string
predeterminado:""