Skip to content

Flowlord API

Joshua Smith edited this page Mar 11, 2024 · 1 revision

Flowlord API

GET / or /info

provides an overview of the flowlord application

  • version: binary version
  • runtime: uptime
  • next_cache: scheduled time to recheck the workflow files.
  • last_cache: last time workflow files were refreshed.
  • workflow: Details about the files loaded into the workflow cache
    • workflow file name
      • phases and details related to the file.

GET /refresh

force the workflow cache to refresh by reprocessing workflow files. Will return a list of all files that changed.

POST /backload

create tasks to be immediately scheduled and ran, The tasks can be predefined in the phase file by name and job or created fresh.

  • Task
  • Job
  • from
  • to
  • at
  • by
  • meta
  • meta-file
  • template
  • execute

GET /workflow/:file_path

show the associated workflow file (readonly)

GET /notify

sends a notification, if configured, with the version and runtime of the instance.

Clone this wiki locally