Runs

Render Workflow Graph

Validates and renders a workflow manifest as SVG without creating a run.

post/api/v1/graph/render

Request body

format'svg'
direction'lr' | 'tb'

Example request

{
  "manifest": {
    "version": 1,
    "parent_id": "01HV6D7S5YF4Z4B2M7K4N0Q6T8",
    "title": "Add rate limiting to auth endpoints",
    "cwd": "/tmp/project",
    "git": {
      "origin_url": "https://github.com/acme/my-app.git",
      "branch": "feature/foo",
      "sha": "abc123def"
    },
    "target": {
      "path": ".fabro/workflows/smoke/workflow.fabro"
    }
  }
}

Response

Rendered graph image

Changes

Changed in 9 of the 134 revisions of this API.2114

    • removed the request property manifest/git/push_outcome

      request-property-removed

    • removed the request property manifest/goal/path

      request-property-removed

    • removed the request property manifest/run_id

      request-property-removed

    • removed the request property manifest/target/identifier

      request-property-removed

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new required request property manifest/git/push_outcome

      new-required-request-property

    • added the new required request property manifest/target/identifier

      new-required-request-property

    • added the new optional request property manifest/goal/path

      new-optional-request-property

    • added the new optional request property manifest/run_id

      new-optional-request-property

    • removed the request property manifest/git/push_outcome

      request-property-removed

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the request property manifest/goal/path

      request-property-removed

    • removed the request property manifest/target/identifier

      request-property-removed

    • removed the request property manifest/run_id

      request-property-removed

    • removed the request property manifest/args/docker_image

      request-property-removed

    • added the new optional request property manifest/args/docker_image

      new-optional-request-property

    • removed the request property manifest/args/docker_image

      request-property-removed

  • 41937812f64011See the full diff
    • removed the request property manifest/args/sandbox

      request-property-removed

    • added the new optional request property manifest/args/environment

      new-optional-request-property

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog