Last active
April 27, 2023 14:56
-
-
Save ollyg/af55f3c3b2eecc2d2114e1d1a3af78e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUT http://localhost:5000/api/v1/object/device/192.0.2.1/nodes | |
# GET/DELETE methods take query string params to filter: | |
# device, port, action, status, username, userip, backend | |
# list of jobs in the queue | |
# accepts LIMIT option | |
GET http://localhost:5000/api/v1/queue/jobs | |
# submit one or more new jobs | |
POST http://localhost:5000/api/v1/queue/jobs | |
# empty the queue and skiplist hints | |
DELETE http://localhost:5000/api/v1/queue/jobs | |
# remove jobs for a device and clear skiplist hint | |
DELETE http://localhost:5000/api/v1/object/device/192.0.2.1/jobs | |
# get the names of backend running | |
GET http://localhost:5000/api/v1/queue/backends |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment