Workflows
4 min
workflows the 15 multi step api chains that the litmus ui orchestrates behind a single user action this is the most valuable section of the docs none of these workflows can be reconstructed from a single endpoint reference run any workflow live all 47 chains are in the how to folder on api litmus io https //api litmus io/view/2s9y5r1rvg#e7f328dd c01f 496b 8f61 927ac6d619e8 each workflow page includes the ui action that triggers it a step by step table (method, endpoint, body, output) auth notes per step (which header, which token) variants and cleanup steps all workflows \# workflow product steps protocol 1 apply / upload template # le 3 rest 2 restore backup # le 3 rest 3 upload custom ca certificate # le 2 rest 4 upload analytics / tensorflow model # le 3 rest 5 upload ai/ml model to lem # lem 3 rest + s3 6 create devicehub device + tags # le 5 graphql 7 devicehub browse (bulk tag discovery) # le 7 graphql 8 deploy edge application # le 4 rest 9 configure opc ua server with tags # le 4 graphql 10 create integration instance # le 4 graphql 11 provision new edge device (zero touch) # lem 5 rest 12 deploy application to edge device (async task) # lem 5 rest 13 backup and restore an edge device from lem # lem 5 rest + s3 14 create lem project alert (trigger + action) # lem 4 rest 15 provision a uns mqtt account # luns 5 graphql pattern resumable upload sessions workflows 1 4 share the same resumable upload pattern phase method what it does 0 clear delete remove any stale upload session 1 create session post declare file size, get a session id 2 upload put stream the bytes see resumable uploads # pattern lem async task workflows 11 13 use the lem async task envelope post /async task/task with subtasks > { taskid } get /async task/{taskid}/subtasks > poll until success