Workflow hub inspect request

Request of inspect hub workflow

Endpoint

GET /api/workflow/hub/inspect/

Auth

Authorization: Bearer ${token}

Query Parameters

KeyDefaultDescription
nameHub workflow name

Response

Json
[
    {
        "kind": "status",
        "payload": {
            "code": 0,
            "message": ""
        }
    },
    {
        "kind": "entity",
        "payload": {
            "ini": "",
            "json": "",
            "markdown": "",
            "name": "",
            "url": "",
            "yaml": ""
        }
    }
]

Notes

  • Workflow Permission Required
  • markdown is the full entry document; yaml is the definition deployed by create with hub://<name>; json (build metadata) and ini (override defaults) are empty when the entry omits them.
  • The definition is returned as-is and is not validated (validation happens at create time).