Skip to Content

Registry

The registry operations of the v1 API.

GET
/v1/registry/mirrors

Try it: use a key with the least scope; requests go straight from your browser to the API. The key stays in this tab's memory and is gone on reload.

Authorization

api_key
headerAuthorizationBearer <alc_ API key>

An A-Line.cloud API key, sent as Authorization: Bearer alc_.... Create keys in the dashboard; sessions are not accepted on /v1.

Response Body

The mirrors and presets

application/json
  1. response

The mirrors with the suggested remotes.

mirrors*array<>

The organization's mirrors.

presets*array<>

Suggested remotes for new mirrors.

Example Request
curl 'https://api.a-line.cloud/v1/registry/mirrors' \  -H 'Authorization: Bearer alc_test_EXAMPLE_not_a_real_key'
Example Response
{  "mirrors": [    {      "created_at": "2019-08-24T14:15:22Z",      "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",      "credential_name": "string",      "direction": "string",      "enabled": true,      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "include_signatures": true,      "interval_minutes": 0,      "last_bytes": 0,      "last_copied": 0,      "last_error": "string",      "last_run_at": "2019-08-24T14:15:22Z",      "last_status": "string",      "local_repository": "string",      "max_tags": 0,      "remote_repository": "string",      "remote_url": "string",      "repository": "string",      "running": true,      "sync_requested": true,      "tag_filter": [        "string"      ],      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "presets": [    {      "name": "string",      "remote_url": "string"    }  ]}
POST
/v1/registry/mirrors

Try it: use a key with the least scope; requests go straight from your browser to the API. The key stays in this tab's memory and is gone on reload.

A pull mirror copies tags of a remote repository into {org}/{local_repository} (normal pushes: events and deploy triggers fire); a push mirror copies that repository's tags to the remote. Tags are never deleted.

Authorization

api_key
headerAuthorizationBearer <alc_ API key>

An A-Line.cloud API key, sent as Authorization: Bearer alc_.... Create keys in the dashboard; sessions are not accepted on /v1.

Request Body

Body of a mirror create or update (an update gives the full settings).

application/json
  1. body

Body of a mirror create or update (an update gives the full settings).

credential_id?|

One of the organization's registry credentials for the remote host: the login for pulls and pushes. Anonymous when left out (pushes need one).

Formatuuid
Defaultnull
direction*string

pull (copy from the remote into this registry) or push (copy from this registry to the remote).

enabled?|

Whether scheduled and manual runs happen (default true).

Defaultnull
include_signatures?|

Also copy cosign signatures, attestations and OCI referrers of the copied images (default false).

Defaultnull
interval_minutes?|

Minutes between scheduled runs (15 to 10080); manual only when null or left out.

Formatint32
Defaultnull
local_repository*string

Repository here, relative to the organization (e.g. production/app): the target of a pull, the source of a push.

max_tags?|

Matching tags copied per run, the lexically last ones (1 to 1000, default 100).

Formatint32
Defaultnull
remote_repository*string

Repository at the remote (e.g. team/app; one-segment Docker Hub names get library/).

remote_url*string

Remote registry, https://host[:port] or a bare host (e.g. docker.io, ghcr.io).

tag_filter?array<string>|

Tag globs to copy (*, v*, latest); every tag when left out. At most 20.

Defaultnull

Response Body

The new mirror

application/json
  1. response

A registry mirror.

created_at*string

Creation time.

Formatdate-time
credential_id?|

Credential used against the remote, if any.

Formatuuid
credential_name?|

That credential's name.

direction*string

pull or push.

enabled*boolean

Whether runs happen.

id*string

Its id.

Formatuuid
include_signatures*boolean

Whether signatures and referrers are copied.

interval_minutes?|

Minutes between scheduled runs; null = manual only.

Formatint32
last_bytes?|

Bytes the last run copied.

Formatint64
last_copied?|

Tags the last run wrote.

Formatint32
last_error?|

Why the last run failed or stopped, if it did.

last_run_at?|

When the last run finished.

Formatdate-time
last_status?|

What the last run did.

local_repository*string

Repository here, relative to the organization.

max_tags*integer

Matching tags copied per run.

Formatint32
remote_repository*string

Repository at the remote.

remote_url*string

Remote registry URL.

repository*string

Full repository path here, {slug}/{local_repository}.

running*boolean

Whether a run is under way.

sync_requested*boolean

Whether a manual run is waiting to start.

tag_filter*array<string>

Tag globs copied.

updated_at*string

Last change.

Formatdate-time
Example Request
curl -X POST 'https://api.a-line.cloud/v1/registry/mirrors' \  -H 'Authorization: Bearer alc_test_EXAMPLE_not_a_real_key' \  -H 'Content-Type: application/json' \  -d '{"direction":"example","local_repository":"example","remote_repository":"example","remote_url":"example"}'
Example Response
{  "created_at": "2019-08-24T14:15:22Z",  "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",  "credential_name": "string",  "direction": "string",  "enabled": true,  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "include_signatures": true,  "interval_minutes": 0,  "last_bytes": 0,  "last_copied": 0,  "last_error": "string",  "last_run_at": "2019-08-24T14:15:22Z",  "last_status": "string",  "local_repository": "string",  "max_tags": 0,  "remote_repository": "string",  "remote_url": "string",  "repository": "string",  "running": true,  "sync_requested": true,  "tag_filter": [    "string"  ],  "updated_at": "2019-08-24T14:15:22Z"}
GET
/v1/registry/mirrors/{id}

Try it: use a key with the least scope; requests go straight from your browser to the API. The key stays in this tab's memory and is gone on reload.

Authorization

api_key
headerAuthorizationBearer <alc_ API key>

An A-Line.cloud API key, sent as Authorization: Bearer alc_.... Create keys in the dashboard; sessions are not accepted on /v1.

Path Parameters

id*string

The mirror UUID

Formatuuid

Response Body

The mirror

application/json
  1. response

A registry mirror.

created_at*string

Creation time.

Formatdate-time
credential_id?|

Credential used against the remote, if any.

Formatuuid
credential_name?|

That credential's name.

direction*string

pull or push.

enabled*boolean

Whether runs happen.

id*string

Its id.

Formatuuid
include_signatures*boolean

Whether signatures and referrers are copied.

interval_minutes?|

Minutes between scheduled runs; null = manual only.

Formatint32
last_bytes?|

Bytes the last run copied.

Formatint64
last_copied?|

Tags the last run wrote.

Formatint32
last_error?|

Why the last run failed or stopped, if it did.

last_run_at?|

When the last run finished.

Formatdate-time
last_status?|

What the last run did.

local_repository*string

Repository here, relative to the organization.

max_tags*integer

Matching tags copied per run.

Formatint32
remote_repository*string

Repository at the remote.

remote_url*string

Remote registry URL.

repository*string

Full repository path here, {slug}/{local_repository}.

running*boolean

Whether a run is under way.

sync_requested*boolean

Whether a manual run is waiting to start.

tag_filter*array<string>

Tag globs copied.

updated_at*string

Last change.

Formatdate-time
Example Request
curl 'https://api.a-line.cloud/v1/registry/mirrors/00000000-0000-4000-8000-000000000001' \  -H 'Authorization: Bearer alc_test_EXAMPLE_not_a_real_key'
Example Response
{  "created_at": "2019-08-24T14:15:22Z",  "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",  "credential_name": "string",  "direction": "string",  "enabled": true,  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "include_signatures": true,  "interval_minutes": 0,  "last_bytes": 0,  "last_copied": 0,  "last_error": "string",  "last_run_at": "2019-08-24T14:15:22Z",  "last_status": "string",  "local_repository": "string",  "max_tags": 0,  "remote_repository": "string",  "remote_url": "string",  "repository": "string",  "running": true,  "sync_requested": true,  "tag_filter": [    "string"  ],  "updated_at": "2019-08-24T14:15:22Z"}
PUT
/v1/registry/mirrors/{id}

Try it: use a key with the least scope; requests go straight from your browser to the API. The key stays in this tab's memory and is gone on reload.

Authorization

api_key
headerAuthorizationBearer <alc_ API key>

An A-Line.cloud API key, sent as Authorization: Bearer alc_.... Create keys in the dashboard; sessions are not accepted on /v1.

Path Parameters

id*string

The mirror UUID

Formatuuid

Request Body

Body of a mirror create or update (an update gives the full settings).

application/json
  1. body

Body of a mirror create or update (an update gives the full settings).

credential_id?|

One of the organization's registry credentials for the remote host: the login for pulls and pushes. Anonymous when left out (pushes need one).

Formatuuid
Defaultnull
direction*string

pull (copy from the remote into this registry) or push (copy from this registry to the remote).

enabled?|

Whether scheduled and manual runs happen (default true).

Defaultnull
include_signatures?|

Also copy cosign signatures, attestations and OCI referrers of the copied images (default false).

Defaultnull
interval_minutes?|

Minutes between scheduled runs (15 to 10080); manual only when null or left out.

Formatint32
Defaultnull
local_repository*string

Repository here, relative to the organization (e.g. production/app): the target of a pull, the source of a push.

max_tags?|

Matching tags copied per run, the lexically last ones (1 to 1000, default 100).

Formatint32
Defaultnull
remote_repository*string

Repository at the remote (e.g. team/app; one-segment Docker Hub names get library/).

remote_url*string

Remote registry, https://host[:port] or a bare host (e.g. docker.io, ghcr.io).

tag_filter?array<string>|

Tag globs to copy (*, v*, latest); every tag when left out. At most 20.

Defaultnull

Response Body

The changed mirror

application/json
  1. response

A registry mirror.

created_at*string

Creation time.

Formatdate-time
credential_id?|

Credential used against the remote, if any.

Formatuuid
credential_name?|

That credential's name.

direction*string

pull or push.

enabled*boolean

Whether runs happen.

id*string

Its id.

Formatuuid
include_signatures*boolean

Whether signatures and referrers are copied.

interval_minutes?|

Minutes between scheduled runs; null = manual only.

Formatint32
last_bytes?|

Bytes the last run copied.

Formatint64
last_copied?|

Tags the last run wrote.

Formatint32
last_error?|

Why the last run failed or stopped, if it did.

last_run_at?|

When the last run finished.

Formatdate-time
last_status?|

What the last run did.

local_repository*string

Repository here, relative to the organization.

max_tags*integer

Matching tags copied per run.

Formatint32
remote_repository*string

Repository at the remote.

remote_url*string

Remote registry URL.

repository*string

Full repository path here, {slug}/{local_repository}.

running*boolean

Whether a run is under way.

sync_requested*boolean

Whether a manual run is waiting to start.

tag_filter*array<string>

Tag globs copied.

updated_at*string

Last change.

Formatdate-time
Example Request
curl -X PUT 'https://api.a-line.cloud/v1/registry/mirrors/00000000-0000-4000-8000-000000000001' \  -H 'Authorization: Bearer alc_test_EXAMPLE_not_a_real_key' \  -H 'Content-Type: application/json' \  -d '{"direction":"example","local_repository":"example","remote_repository":"example","remote_url":"example"}'
Example Response
{  "created_at": "2019-08-24T14:15:22Z",  "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",  "credential_name": "string",  "direction": "string",  "enabled": true,  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "include_signatures": true,  "interval_minutes": 0,  "last_bytes": 0,  "last_copied": 0,  "last_error": "string",  "last_run_at": "2019-08-24T14:15:22Z",  "last_status": "string",  "local_repository": "string",  "max_tags": 0,  "remote_repository": "string",  "remote_url": "string",  "repository": "string",  "running": true,  "sync_requested": true,  "tag_filter": [    "string"  ],  "updated_at": "2019-08-24T14:15:22Z"}
DELETE
/v1/registry/mirrors/{id}

Try it: use a key with the least scope; requests go straight from your browser to the API. The key stays in this tab's memory and is gone on reload.

Tags it copied stay.

Authorization

api_key
headerAuthorizationBearer <alc_ API key>

An A-Line.cloud API key, sent as Authorization: Bearer alc_.... Create keys in the dashboard; sessions are not accepted on /v1.

Path Parameters

id*string

The mirror UUID

Formatuuid

Response Body

Removed

application/json
  1. response

Answer of a delete.

deleted*boolean

Always true.

Example Request
curl -X DELETE 'https://api.a-line.cloud/v1/registry/mirrors/00000000-0000-4000-8000-000000000001' \  -H 'Authorization: Bearer alc_test_EXAMPLE_not_a_real_key'
Example Response
{  "deleted": true}
POST
/v1/registry/mirrors/{id}/sync

Try it: use a key with the least scope; requests go straight from your browser to the API. The key stays in this tab's memory and is gone on reload.

Run a registry mirror now; the worker starts it within a minute.

Authorization

api_key
headerAuthorizationBearer <alc_ API key>

An A-Line.cloud API key, sent as Authorization: Bearer alc_.... Create keys in the dashboard; sessions are not accepted on /v1.

Path Parameters

id*string

The mirror UUID

Formatuuid

Response Body

Queued

application/json
  1. response

A registry mirror.

created_at*string

Creation time.

Formatdate-time
credential_id?|

Credential used against the remote, if any.

Formatuuid
credential_name?|

That credential's name.

direction*string

pull or push.

enabled*boolean

Whether runs happen.

id*string

Its id.

Formatuuid
include_signatures*boolean

Whether signatures and referrers are copied.

interval_minutes?|

Minutes between scheduled runs; null = manual only.

Formatint32
last_bytes?|

Bytes the last run copied.

Formatint64
last_copied?|

Tags the last run wrote.

Formatint32
last_error?|

Why the last run failed or stopped, if it did.

last_run_at?|

When the last run finished.

Formatdate-time
last_status?|

What the last run did.

local_repository*string

Repository here, relative to the organization.

max_tags*integer

Matching tags copied per run.

Formatint32
remote_repository*string

Repository at the remote.

remote_url*string

Remote registry URL.

repository*string

Full repository path here, {slug}/{local_repository}.

running*boolean

Whether a run is under way.

sync_requested*boolean

Whether a manual run is waiting to start.

tag_filter*array<string>

Tag globs copied.

updated_at*string

Last change.

Formatdate-time
Example Request
curl -X POST 'https://api.a-line.cloud/v1/registry/mirrors/00000000-0000-4000-8000-000000000001/sync' \  -H 'Authorization: Bearer alc_test_EXAMPLE_not_a_real_key'
Example Response
{  "created_at": "2019-08-24T14:15:22Z",  "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",  "credential_name": "string",  "direction": "string",  "enabled": true,  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "include_signatures": true,  "interval_minutes": 0,  "last_bytes": 0,  "last_copied": 0,  "last_error": "string",  "last_run_at": "2019-08-24T14:15:22Z",  "last_status": "string",  "local_repository": "string",  "max_tags": 0,  "remote_repository": "string",  "remote_url": "string",  "repository": "string",  "running": true,  "sync_requested": true,  "tag_filter": [    "string"  ],  "updated_at": "2019-08-24T14:15:22Z"}
POST
/v1/registry/mirrors/{id}/test

Try it: use a key with the least scope; requests go straight from your browser to the API. The key stays in this tab's memory and is gone on reload.

Test a registry mirror: ask the remote's /v2/ with the mirror's login.

Authorization

api_key
headerAuthorizationBearer <alc_ API key>

An A-Line.cloud API key, sent as Authorization: Bearer alc_.... Create keys in the dashboard; sessions are not accepted on /v1.

Path Parameters

id*string

The mirror UUID

Formatuuid

Response Body

What the remote said

application/json
  1. response

Result of a rule test.

message*string

What happened, for people.

ok*boolean

Whether the upstream answered and accepted the login (or anonymous access).

status?|

The upstream's HTTP status on /v2/, when it answered.

Formatuint16
Range0 <= value <= 65535
Example Request
curl -X POST 'https://api.a-line.cloud/v1/registry/mirrors/00000000-0000-4000-8000-000000000001/test' \  -H 'Authorization: Bearer alc_test_EXAMPLE_not_a_real_key'
Example Response
{  "message": "string",  "ok": true,  "status": 0}
GET
/v1/registry/pull-caches

Try it: use a key with the least scope; requests go straight from your browser to the API. The key stays in this tab's memory and is gone on reload.

Authorization

api_key
headerAuthorizationBearer <alc_ API key>

An A-Line.cloud API key, sent as Authorization: Bearer alc_.... Create keys in the dashboard; sessions are not accepted on /v1.

Response Body

The rules and presets

application/json
  1. response

The rules with the suggested upstreams.

presets*array<>

Suggested upstreams for new rules.

rules*array<>

The organization's rules, by alias.

Example Request
curl 'https://api.a-line.cloud/v1/registry/pull-caches' \  -H 'Authorization: Bearer alc_test_EXAMPLE_not_a_real_key'
Example Response
{  "presets": [    {      "alias": "string",      "upstream_url": "string"    }  ],  "rules": [    {      "alias": "string",      "created_at": "2019-08-24T14:15:22Z",      "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",      "credential_name": "string",      "enabled": true,      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "refresh_minutes": 0,      "repository_prefix": "string",      "updated_at": "2019-08-24T14:15:22Z",      "upstream_url": "string"    }  ]}
POST
/v1/registry/pull-caches

Try it: use a key with the least scope; requests go straight from your browser to the API. The key stays in this tab's memory and is gone on reload.

Pulling {org}/pull_cache/{alias}/{image}:{tag} then fills the cache from the upstream on demand.

Authorization

api_key
headerAuthorizationBearer <alc_ API key>

An A-Line.cloud API key, sent as Authorization: Bearer alc_.... Create keys in the dashboard; sessions are not accepted on /v1.

Request Body

Body of a rule create.

application/json
  1. body

Body of a rule create.

alias*string

Path segment after pull_cache/ (e.g. hub): lowercase letters and digits in hyphen-joined words, at most 32 characters. Fixed once created.

credential_id?|

One of the organization's pull credentials for the upstream host; anonymous when left out.

Formatuuid
Defaultnull
enabled?|

Whether pulls may fill the cache (default true).

Defaultnull
refresh_minutes?|

Minutes a resolved tag is trusted before the upstream is asked again (15 to 10080, default 360).

Formatint32
Defaultnull
upstream_url*string

Upstream registry, https://host[:port] or a bare host (e.g. docker.io, ghcr.io).

Response Body

The new rule

application/json
  1. response

A pull-through cache rule.

alias*string

Path segment after pull_cache/.

created_at*string

Creation time.

Formatdate-time
credential_id?|

Pull credential used against the upstream, if any.

Formatuuid
credential_name?|

That credential's name.

enabled*boolean

Whether pulls may fill the cache.

id*string

Its id.

Formatuuid
refresh_minutes*integer

Minutes a resolved tag is trusted.

Formatint32
repository_prefix*string

Repository prefix to pull through, {slug}/pull_cache/{alias}.

updated_at*string

Last change.

Formatdate-time
upstream_url*string

Upstream registry URL.

Example Request
curl -X POST 'https://api.a-line.cloud/v1/registry/pull-caches' \  -H 'Authorization: Bearer alc_test_EXAMPLE_not_a_real_key' \  -H 'Content-Type: application/json' \  -d '{"alias":"example","upstream_url":"example"}'
Example Response
{  "alias": "string",  "created_at": "2019-08-24T14:15:22Z",  "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",  "credential_name": "string",  "enabled": true,  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "refresh_minutes": 0,  "repository_prefix": "string",  "updated_at": "2019-08-24T14:15:22Z",  "upstream_url": "string"}
GET
/v1/registry/pull-caches/{id}

Try it: use a key with the least scope; requests go straight from your browser to the API. The key stays in this tab's memory and is gone on reload.

Authorization

api_key
headerAuthorizationBearer <alc_ API key>

An A-Line.cloud API key, sent as Authorization: Bearer alc_.... Create keys in the dashboard; sessions are not accepted on /v1.

Path Parameters

id*string

The pull-through cache UUID

Formatuuid

Response Body

The rule

application/json
  1. response

A pull-through cache rule.

alias*string

Path segment after pull_cache/.

created_at*string

Creation time.

Formatdate-time
credential_id?|

Pull credential used against the upstream, if any.

Formatuuid
credential_name?|

That credential's name.

enabled*boolean

Whether pulls may fill the cache.

id*string

Its id.

Formatuuid
refresh_minutes*integer

Minutes a resolved tag is trusted.

Formatint32
repository_prefix*string

Repository prefix to pull through, {slug}/pull_cache/{alias}.

updated_at*string

Last change.

Formatdate-time
upstream_url*string

Upstream registry URL.

Example Request
curl 'https://api.a-line.cloud/v1/registry/pull-caches/00000000-0000-4000-8000-000000000001' \  -H 'Authorization: Bearer alc_test_EXAMPLE_not_a_real_key'
Example Response
{  "alias": "string",  "created_at": "2019-08-24T14:15:22Z",  "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",  "credential_name": "string",  "enabled": true,  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "refresh_minutes": 0,  "repository_prefix": "string",  "updated_at": "2019-08-24T14:15:22Z",  "upstream_url": "string"}
PUT
/v1/registry/pull-caches/{id}

Try it: use a key with the least scope; requests go straight from your browser to the API. The key stays in this tab's memory and is gone on reload.

Replace a pull-through cache's upstream, credential, refresh interval and switch. The alias stays.

Authorization

api_key
headerAuthorizationBearer <alc_ API key>

An A-Line.cloud API key, sent as Authorization: Bearer alc_.... Create keys in the dashboard; sessions are not accepted on /v1.

Path Parameters

id*string

The pull-through cache UUID

Formatuuid

Request Body

Body of a rule update: the full new settings (the alias stays).

application/json
  1. body

Body of a rule update: the full new settings (the alias stays).

credential_id?|

Pull credential for the upstream host; anonymous when null or left out.

Formatuuid
Defaultnull
enabled*boolean

Whether pulls may fill the cache.

refresh_minutes*integer

Minutes a resolved tag is trusted (15 to 10080).

Formatint32
upstream_url*string

Upstream registry, https://host[:port] or a bare host.

Response Body

The changed rule

application/json
  1. response

A pull-through cache rule.

alias*string

Path segment after pull_cache/.

created_at*string

Creation time.

Formatdate-time
credential_id?|

Pull credential used against the upstream, if any.

Formatuuid
credential_name?|

That credential's name.

enabled*boolean

Whether pulls may fill the cache.

id*string

Its id.

Formatuuid
refresh_minutes*integer

Minutes a resolved tag is trusted.

Formatint32
repository_prefix*string

Repository prefix to pull through, {slug}/pull_cache/{alias}.

updated_at*string

Last change.

Formatdate-time
upstream_url*string

Upstream registry URL.

Example Request
curl -X PUT 'https://api.a-line.cloud/v1/registry/pull-caches/00000000-0000-4000-8000-000000000001' \  -H 'Authorization: Bearer alc_test_EXAMPLE_not_a_real_key' \  -H 'Content-Type: application/json' \  -d '{"enabled":false,"refresh_minutes":1,"upstream_url":"example"}'
Example Response
{  "alias": "string",  "created_at": "2019-08-24T14:15:22Z",  "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",  "credential_name": "string",  "enabled": true,  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "refresh_minutes": 0,  "repository_prefix": "string",  "updated_at": "2019-08-24T14:15:22Z",  "upstream_url": "string"}
DELETE
/v1/registry/pull-caches/{id}

Try it: use a key with the least scope; requests go straight from your browser to the API. The key stays in this tab's memory and is gone on reload.

Cached images stay until retention drops them.

Authorization

api_key
headerAuthorizationBearer <alc_ API key>

An A-Line.cloud API key, sent as Authorization: Bearer alc_.... Create keys in the dashboard; sessions are not accepted on /v1.

Path Parameters

id*string

The pull-through cache UUID

Formatuuid

Response Body

Removed

application/json
  1. response

Answer of a delete.

deleted*boolean

Always true.

Example Request
curl -X DELETE 'https://api.a-line.cloud/v1/registry/pull-caches/00000000-0000-4000-8000-000000000001' \  -H 'Authorization: Bearer alc_test_EXAMPLE_not_a_real_key'
Example Response
{  "deleted": true}
POST
/v1/registry/pull-caches/{id}/test

Try it: use a key with the least scope; requests go straight from your browser to the API. The key stays in this tab's memory and is gone on reload.

Test a pull-through cache: ask the upstream's /v2/ with the rule's login.

Authorization

api_key
headerAuthorizationBearer <alc_ API key>

An A-Line.cloud API key, sent as Authorization: Bearer alc_.... Create keys in the dashboard; sessions are not accepted on /v1.

Path Parameters

id*string

The pull-through cache UUID

Formatuuid

Response Body

What the upstream said

application/json
  1. response

Result of a rule test.

message*string

What happened, for people.

ok*boolean

Whether the upstream answered and accepted the login (or anonymous access).

status?|

The upstream's HTTP status on /v2/, when it answered.

Formatuint16
Range0 <= value <= 65535
Example Request
curl -X POST 'https://api.a-line.cloud/v1/registry/pull-caches/00000000-0000-4000-8000-000000000001/test' \  -H 'Authorization: Bearer alc_test_EXAMPLE_not_a_real_key'
Example Response
{  "message": "string",  "ok": true,  "status": 0}

On this page