Docker Dvp
Tool for the docker-dvp API.
- Base URL:
https://hub.docker.com/api/user/analytics/v1 - Auth:
bearer(pass your key via theapiKeyinput)
Operations
getnamespaces— GET / — Get namespaces and reposgetnamespace— GET /namespaces/{namespace} — Get namespacegetnamespaceyears— GET /namespaces/{namespace}/pulls/exports/years — Get years with datagetnamespacetimespans— GET /namespaces/{namespace}/pulls/exports/years/{year}/{timespantype} — Get timespans with datagetnamespacetimespanmetadata— GET /namespaces/{namespace}/pulls/exports/years/{year}/{timespantype}/{timespan} — Get namespace metadata for timespangetnamespacedatabytimespan— GET /namespaces/{namespace}/pulls/exports/years/{year}/{timespantype}/{timespan}/{dataview} — Get namespace data for timespan
Inputs
apiKey— your docker-dvp API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: getnamespaces
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: getnamespaces, getnamespace, getnamespaceyears, getnamespacetimespans, getnamespacetimespanmetadata, getnamespacedatabytimespan |
dataview |
string | no | — | Path parameter dataview (required by some operations). |
namespace |
string | no | — | Path parameter namespace (required by some operations). |
timespan |
string | no | — | Path parameter timespan (required by some operations). |
timespantype |
string | no | — | Path parameter timespantype (required by some operations). |
year |
string | no | — | Path parameter year (required by some operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |