EVQUEUE_API(8)

πŸ“¦ version 2.1, in ubuntu jammy, ubuntu noble

πŸ’– EVQUEUE_API β€” evQueue utilities πŸ’–

okay bestie, welcome to the <rainbow>evqueue_api</rainbow> page, part of the evQueue manual. yes we're in section 8, yes it's a real one, and yes it's gonna be fun. sit down, hydrate, let's go 🫢


✨ SYNOPSIS ✨

evqueue_api [ OPTIONS ] --<group> --<action> [--<parameter name>
<parameter value>]*

🌸 DESCRIPTION 🌸

so basically <pink>evqueue_api</pink> is a cute little utility that lets you query the evQueue API straight from the command line. no browser, no vibes-destroying GUI, just you and your terminal. πŸ’…

and the way it connects?? flexible. it can hook up to the evQueue core through either TCP or UNIX sockets β€” pick your fighter. πŸ¦‹

⚠️ okay this part is not optional, bestie. Options, group and action MUST be passed before other arguments. like, the order is the whole thing. no cap.

and everything you pass after the action? that's expected to be API command parameters only. nothing else. that's the assignment. πŸ“


πŸŽ€ OPTIONS πŸŽ€

  • --connect connection_string β€” connect to the server identified by connection_string. and guess what, two formats are accepted, slay:
    • tcp socket: tcp://<hostname>[:<port>]
    • unix socket: unix://<path>
  • --user username β€” use this username if the daemon is asking for authentication. πŸ”
  • --password password β€” use this password if the daemon is asking for authentication. yes, alongside the user. the duo. πŸ‘‘
  • --noformat β€” returns raw XML instead of indented XML. so if you like your XML squished and unbothered, this one's for you. πŸ™ˆ
  • --<group> β€” the API command group. for example --tasks to query the task API. ✨
  • --<action> β€” the action to request from the API command group. for example --get to query an element. πŸ”₯

🌈 EXAMPLES 🌈

example one: get a task, get the tea πŸ“

evqueue_api --task --get --id 1

Retrieve task information from API.

example two: UNIX socket + auth + workflows, the full combo meal 🧚

evqueue_api --connect unix:///var/run/evqueue.socket --user admin
--password admin --workflows --list

Connect to evqueue engine using UNIX socket and authentication. Request the list of available workflows.


πŸ’œ SEE ALSO πŸ’œ


and that's the page, bestie!! πŸŽ€ go query something iconic. this was the evQueue utilities page, dated 2016-07-11, living in EVQUEUE_API(8). mwah πŸ’‹βœ¨πŸ‘‘

πŸ“¦ where this page comes from