cli for anna
Project description
anna-api
RESTful API for anna
usage
GET /v1.0/get
Get job(s)
| parameter | type | description | required |
|---|---|---|---|
| id | integer or list of integers | possible id(s) | no |
| name | string or list of strings | possible name(s) | no |
| status | string or list of strings | possible status(es) | no |
| driver | string or list of strings | possible driver(s) | no |
| container | string or list of strings | possible container(s) | no |
| sites | string or list of strings | possible site(s) | no |
$ curl -H "Content-Type: application/json" -X GET --data '{"id": [1, 2, 3]}' http://localhost:5000/v1.0/get
POST /v1.0/push
Push a new job to the end of the queue
| parameter | type | description | required |
|---|---|---|---|
| drivers | list of strings | driver(s) to test | yes |
| sites | list of strings | site(s) to test | yes |
$ curl -H "Content-Type: application/json" -X POST --data '{"drivers": ["chrome", "firefox"], "sites": ["somesite"]}' http://localhost:5000/v1.0/push
POST /v1.0/clear
Stop & remove all running jobs and their corresponding containers
| parameter | type | description | required |
|---|
$ curl -H "Content-Type: application/json" -X POST --data '{}' http://localhost:5000/v1.0/clear
POST /v1.0/rm
Stop & remove the matching jobs and their corresponding containers
| parameter | type | description | required |
|---|---|---|---|
| id | integer or list of integers | possible id(s) | no |
| name | string or list of strings | possible name(s) | no |
| status | string or list of strings | possible status(es) | no |
| driver | string or list of strings | possible driver(s) | no |
| container | string or list of strings | possible container(s) | no |
| sites | string or list of strings | possible site(s) | no |
$ curl -H "Content-Type: application/json" -X POST --data '{"id": [1, 2, 3]}' http://localhost:5000/v1.0/rm
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file anna_cli-1.0.0-py3.7.egg.
File metadata
- Download URL: anna_cli-1.0.0-py3.7.egg
- Upload date:
- Size: 3.1 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9663a6f398bf60d17948cc965fe4bf87be14874dcaeed5d278f4bdd3bf262c51
|
|
| MD5 |
f23b945a079307f9e7b9df23748ff5d6
|
|
| BLAKE2b-256 |
609dfe5372f4437de08e9621359dd0bcc78df44f264a0fd91204b19c97e4c5dd
|