키, 시크릿 및 레지스트리: API v1의 모든 작업을 필요한 스코프, 매개변수, curl·JavaScript·Python 예시와 응답으로 설명합니다. 인증, 오류, 페이지 나누기, 속도 제한, 멱등성은 API 레퍼런스 개요를 참고하세요. SDK와 명령줄 도구도 확인해 보세요.
내 키로 시도해 보기: 콘솔에서 API 키를 만들고 터미널에서
export APIDLY_API_KEY=...를 실행한 다음 아래 curl 예시를 붙여 넣으세요. 예시 값은 설명용입니다. 이 페이지에는 키를 입력하는 곳이 없습니다.
작업과 필드 설명은 API 정의에서 가져오며 영어로 되어 있습니다.
| 작업 | 필요한 스코프 | 요약 |
|---|---|---|
GET /ssh-keys |
read |
조직의 SSH 공개 키 |
POST /ssh-keys |
full |
SSH 공개 키 추가 |
GET /ssh-keys/{id} |
read |
SSH 공개 키 하나 |
PATCH /ssh-keys/{id} |
full |
SSH 공개 키 이름 변경 |
DELETE /ssh-keys/{id} |
full |
SSH 공개 키 제거 |
GET /secrets |
servers |
조직의 시크릿 이름(값은 표시하지 않음) |
PUT /secrets |
full |
시크릿 만들기 또는 값 교체 |
DELETE /secrets |
full |
시크릿 삭제(?name=NAME) |
GET /variable-sets |
servers |
Saved variable sets (names only, never values) |
POST /variable-sets |
full |
Save a variable set |
GET /variable-sets/{id} |
servers |
One variable set (by id or name; never values) |
PATCH /variable-sets/{id} |
full |
Rename a variable set or change its variables |
DELETE /variable-sets/{id} |
full |
Delete a variable set |
GET /api-keys |
full |
조직의 활성 API 키(시크릿은 표시하지 않음) |
POST /api-keys |
full |
API 키 만들기 |
PUT /api-keys/{id}/spending-limit |
full |
API 키의 월 지출 한도 설정 또는 해제 |
DELETE /api-keys/{id} |
full |
API 키 해지 |
PATCH /api-keys/{id} |
full |
API 키 편집 |
POST /api-keys/{id}/rotate |
full |
API 키 교체 (새 시크릿, 같은 설정) |
GET /registries |
read |
비공개 이미지 레지스트리(토큰은 표시하지 않음) |
POST /registries |
full |
레지스트리 로그인 추가 |
DELETE /registries/{id} |
full |
레지스트리 로그인 제거 |
PATCH /registries/{id} |
full |
레지스트리 로그인의 사용자 이름 또는 토큰 교체 |
POST /registries/{id}/check |
full |
Check a registry login (nothing is pulled) |
SSH 키
GET /ssh-keys
조직의 SSH 공개 키
필요한 스코프: read
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
limit |
query | integer | 아니요 | |
cursor |
query | string | 아니요 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/ssh-keys?limit=20" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.sshKeys.list({ limit: 20 });Python (SDK)
client.ssh_keys.list()명령줄 도구: apidly init, apidly doctor, apidly ssh-keys, apidly export, apidly plan, apidly apply (CLI 레퍼런스)
응답 예시 (200)
{
"keys": [
{
"id": "example",
"name": "example",
"fingerprint": "example",
"publicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExample you@example.com",
"createdAt": "2026-11-21T10:00:00.000Z"
}
],
"nextCursor": "example"
}오류 상태: 401, 403, 429.
POST /ssh-keys
SSH 공개 키 추가
필요한 스코프: full
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 예 | |
publicKey |
string | 예 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/ssh-keys" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"example","publicKey":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExample you@example.com"}'JavaScript (SDK)
await apidly.sshKeys.create({
name: "example",
publicKey: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExample you@example.com"
});Python (SDK)
client.ssh_keys.create(name="example", public_key="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExample you@example.com")명령줄 도구: apidly init, apidly ssh-keys, apidly apply (CLI 레퍼런스)
응답 예시 (201)
{
"key": {
"id": "example",
"name": "example",
"fingerprint": "example",
"publicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExample you@example.com",
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 403, 409, 429.
GET /ssh-keys/{id}
SSH 공개 키 하나
The same fields as an item of GET /ssh-keys. 404 not_found for an id that is not a key of your organization.
필요한 스코프: read
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/ssh-keys/ssh_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.sshKeys.get("ssh_example");Python (SDK)
client.ssh_keys.get("ssh_example")명령줄 도구: apidly ssh-keys (CLI 레퍼런스)
응답 예시 (200)
{
"key": {
"id": "example",
"name": "example",
"fingerprint": "example",
"publicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExample you@example.com",
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 401, 403, 404, 429.
PATCH /ssh-keys/{id}
SSH 공개 키 이름 변경
Only the name changes; servers that already carry the key are untouched. Members can rename only their own keys.
필요한 스코프: full
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 예 |
요청 예시 (curl)
curl -X PATCH "https://apidly.com/api/v1/ssh-keys/ssh_example" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"example"}'JavaScript (SDK)
await apidly.sshKeys.rename("ssh_example", "example");Python (SDK)
client.ssh_keys.rename("ssh_example", name="example")명령줄 도구: apidly ssh-keys (CLI 레퍼런스)
응답 예시 (200)
{
"key": {
"id": "example",
"name": "example",
"fingerprint": "example",
"publicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExample you@example.com",
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 403, 404, 429.
DELETE /ssh-keys/{id}
SSH 공개 키 제거
필요한 스코프: full
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl -X DELETE "https://apidly.com/api/v1/ssh-keys/ssh_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.sshKeys.delete("ssh_example");Python (SDK)
client.ssh_keys.delete("ssh_example")명령줄 도구: apidly ssh-keys (CLI 레퍼런스)
응답 예시 (200)
{
"deleted": false,
"id": "example"
}오류 상태: 401, 403, 404, 429.
시크릿
GET /secrets
조직의 시크릿 이름(값은 표시하지 않음)
Reference a secret from a template or a server request as an environment value secret:NAME; it is resolved when the server starts. The key's creator needs secrets.manage, servers.deploy or templates.manage (the permissions that use secret names), and as none of them is within the read scope the key needs scope servers (a read key gets 403 insufficient_scope); a key whose creator holds none of them gets 403 forbidden.
필요한 스코프: servers
요청 예시 (curl)
curl "https://apidly.com/api/v1/secrets" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.secrets.list();Python (SDK)
client.secrets.list()명령줄 도구: apidly secrets, apidly plan, apidly apply (CLI 레퍼런스)
응답 예시 (200)
{
"secrets": [
{
"name": "example",
"last4": "example",
"updatedAt": "2026-11-21T10:00:00.000Z"
}
]
}오류 상태: 401, 403, 429.
PUT /secrets
시크릿 만들기 또는 값 교체
The value is write-only. Names are capital letters, digits and underscores, starting with a letter (up to 64).
필요한 스코프: full · 생성자 역할: admin
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 예 | |
value |
string | 예 |
요청 예시 (curl)
curl -X PUT "https://apidly.com/api/v1/secrets" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"example","value":"example"}'JavaScript (SDK)
await apidly.secrets.set("example", "example");Python (SDK)
client.secrets.set(name="example", value="example")명령줄 도구: apidly secrets (CLI 레퍼런스)
응답 예시 (200)
{
"name": "example",
"created": false
}오류 상태: 400, 401, 403, 409, 429.
DELETE /secrets
시크릿 삭제(?name=NAME)
Refused with 409 secret_in_use while a template or a server request still references it.
필요한 스코프: full · 생성자 역할: admin
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
name |
query | string | 예 |
요청 예시 (curl)
curl -X DELETE "https://apidly.com/api/v1/secrets?name=example" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.secrets.delete("example");Python (SDK)
client.secrets.delete(name="example")명령줄 도구: apidly secrets (CLI 레퍼런스)
응답 예시 (200)
{
"deleted": false
}오류 상태: 401, 403, 404, 409, 429.
GET /variable-sets
Saved variable sets (names only, never values)
A variable set is a named set of environment variables (secret values included) that a server request attaches in one go with variableSetIds. Values are encrypted and never returned; this lists the names of the sets and of their variables. Same access as GET /secrets. 404 feature_unavailable while variable sets are off.
필요한 스코프: servers
요청 예시 (curl)
curl "https://apidly.com/api/v1/variable-sets" \
-H "Authorization: Bearer $APIDLY_API_KEY"Python (SDK)
client.variable_sets.list()명령줄 도구: apidly variable-sets (CLI 레퍼런스)
응답 예시 (200)
{
"variableSets": [
{
"id": "example",
"name": "example",
"variableNames": [
"example"
],
"createdAt": "2026-11-21T10:00:00.000Z",
"updatedAt": "2026-11-21T10:00:00.000Z"
}
]
}오류 상태: 401, 403, 404, 429.
POST /variable-sets
Save a variable set
name: 1 to 48 letters, digits, ., _ or -. variables: 1 to 50 names and values (the same rules as server variables). Values are write-only. At most 50 sets per organization (409 limit_reached); a name in use answers 409 name_taken.
필요한 스코프: full · 권한: secrets.manage
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 예 | |
variables |
object | 예 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/variable-sets" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"example","variables":{}}'Python (SDK)
client.variable_sets.create(name="example", variables={})명령줄 도구: apidly variable-sets (CLI 레퍼런스)
응답 예시 (201)
{
"variableSet": {
"id": "example",
"name": "example",
"variableNames": [
"example"
],
"createdAt": "2026-11-21T10:00:00.000Z",
"updatedAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 403, 404, 409, 429.
GET /variable-sets/{id}
One variable set (by id or name; never values)
필요한 스코프: servers
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/variable-sets/variableset_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"Python (SDK)
client.variable_sets.get("variableset_example")명령줄 도구: apidly variable-sets (CLI 레퍼런스)
응답 예시 (200)
{
"variableSet": {
"id": "example",
"name": "example",
"variableNames": [
"example"
],
"createdAt": "2026-11-21T10:00:00.000Z",
"updatedAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 401, 403, 404, 429.
PATCH /variable-sets/{id}
Rename a variable set or change its variables
variables are merged in: a value replaces the stored one, null removes the variable. A set keeps at least one variable. Requests already made keep the values they were given.
필요한 스코프: full · 권한: secrets.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 아니요 | |
variables |
object | 아니요 |
요청 예시 (curl)
curl -X PATCH "https://apidly.com/api/v1/variable-sets/variableset_example" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"example","variables":{}}'Python (SDK)
client.variable_sets.update("variableset_example")명령줄 도구: apidly variable-sets (CLI 레퍼런스)
응답 예시 (200)
{
"variableSet": {
"id": "example",
"name": "example",
"variableNames": [
"example"
],
"createdAt": "2026-11-21T10:00:00.000Z",
"updatedAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 403, 404, 409, 429.
DELETE /variable-sets/{id}
Delete a variable set
Requests already made keep the values they were given.
필요한 스코프: full · 권한: secrets.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl -X DELETE "https://apidly.com/api/v1/variable-sets/variableset_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"Python (SDK)
client.variable_sets.delete("variableset_example")명령줄 도구: apidly variable-sets (CLI 레퍼런스)
응답 예시 (200)
{
"deleted": false
}오류 상태: 401, 403, 404, 429.
API 키
GET /api-keys
조직의 활성 API 키(시크릿은 표시하지 않음)
필요한 스코프: full · 권한: api_keys.manage
요청 예시 (curl)
curl "https://apidly.com/api/v1/api-keys" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.apiKeys.list();Python (SDK)
client.api_keys.list()명령줄 도구: apidly api-keys (CLI 레퍼런스)
응답 예시 (200)
{
"keys": [
{
"id": "example",
"name": "example",
"prefix": "example",
"scope": "read",
"expiresAt": "2026-11-21T10:00:00.000Z",
"allowedCidrs": [
"example"
],
"permissions": [
"example"
],
"endpointId": "id_example",
"lastUsedAt": "2026-11-21T10:00:00.000Z",
"lastUsedNetwork": "example",
"callCount": 1,
"createdAt": "2026-11-21T10:00:00.000Z"
}
]
}오류 상태: 401, 403, 429.
POST /api-keys
API 키 만들기
Needs a full key. The new key acts as the same member and can never do more than that member may. allowedCidrs limits the addresses the key accepts calls from; a call from elsewhere answers 401. endpointId binds the key to one serverless endpoint of the organization: it can then only call that endpoint's proxy, OpenAI-style and jobs routes (404 for any other endpoint, 403 on every other route).
필요한 스코프: full · 권한: api_keys.manage
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 예 | |
scope |
read | servers | full |
아니요 | |
permissions |
servers.view | servers.deploy | servers.manage | servers.destroy | servers.exec | templates.manage | endpoints.manage | endpoints.invoke | storage.manage | ssh_keys.manage | secrets.manage | api_keys.manage | webhooks.manage | automation.manage | billing.view | billing.topup | billing.manage | team.manage | settings.manage | activity.view의 배열 |
아니요 | |
expiresAt |
string 또는 null | 아니요 | |
endpointId |
string 또는 null | 아니요 | |
monthlyLimitCents |
integer 또는 null | 아니요 | |
allowedCidrs |
string의 배열 | 아니요 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/api-keys" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"example"}'JavaScript (SDK)
await apidly.apiKeys.create({
name: "example"
});Python (SDK)
client.api_keys.create(name="example")명령줄 도구: apidly api-keys (CLI 레퍼런스)
응답 예시 (201)
{
"key": {
"id": "example",
"name": "example",
"prefix": "example",
"scope": "read",
"expiresAt": "2026-11-21T10:00:00.000Z",
"allowedCidrs": [
"example"
],
"permissions": [
"example"
],
"endpointId": "id_example",
"createdAt": "2026-11-21T10:00:00.000Z",
"key": "example"
}
}오류 상태: 400, 401, 403, 409, 429.
PUT /api-keys/{id}/spending-limit
API 키의 월 지출 한도 설정 또는 해제
monthlyLimitCents in US cents; null removes the limit. The key's month-to-date usage is the usage this UTC month of the servers and endpoints launched with it. At the limit, new launches and starts with that key answer 403 key_limit_reached until the limit is raised or the month ends; servers already running are not stopped. The owner gets one email per key per month. A key that has a limit of its own cannot change limits (403 forbidden).
필요한 스코프: full · 권한: api_keys.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
monthlyLimitCents |
integer 또는 null | 예 |
요청 예시 (curl)
curl -X PUT "https://apidly.com/api/v1/api-keys/apikey_example/spending-limit" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"monthlyLimitCents":1}'JavaScript (SDK)
await apidly.apiKeys.setSpendingLimit("apikey_example", 1);Python (SDK)
client.api_keys.set_spending_limit("apikey_example", monthly_limit_cents=1)명령줄 도구: apidly api-keys (CLI 레퍼런스)
응답 예시 (200)
{
"key": {
"id": "example",
"monthlyLimitMicros": "1000000",
"monthlyLimitUsd": "1.000000",
"monthToDateMicros": "1000000",
"monthToDateUsd": "1.000000"
}
}오류 상태: 400, 401, 403, 404, 429.
DELETE /api-keys/{id}
API 키 해지
필요한 스코프: full · 권한: api_keys.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl -X DELETE "https://apidly.com/api/v1/api-keys/apikey_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.apiKeys.revoke("apikey_example");Python (SDK)
client.api_keys.revoke("apikey_example")명령줄 도구: apidly api-keys (CLI 레퍼런스)
응답 예시 (200)
{
"revoked": false,
"id": "example"
}오류 상태: 401, 403, 404, 429.
PATCH /api-keys/{id}
API 키 편집
Send at least one field. name changes freely. scope, permissions and expiresAt can only narrow: a lower scope, a subset of the key's own list (any list when it has none), an earlier end (any end when it has none); anything wider answers 403 key_change_widens. allowedCidrs replaces the IP allowlist (an empty list removes it); a list that lets the key be called from more addresses needs a calling key that can already do everything the edited key can, inside its own IP allowlist and expiry (403 forbidden otherwise). The secret, id and endpoint binding never change.
필요한 스코프: full · 권한: api_keys.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 아니요 | |
scope |
read | servers | full |
아니요 | |
permissions |
servers.view | servers.deploy | servers.manage | servers.destroy | servers.exec | templates.manage | endpoints.manage | endpoints.invoke | storage.manage | ssh_keys.manage | secrets.manage | api_keys.manage | webhooks.manage | automation.manage | billing.view | billing.topup | billing.manage | team.manage | settings.manage | activity.view의 배열 |
아니요 | |
expiresAt |
string | 아니요 | |
allowedCidrs |
string의 배열 | 아니요 |
요청 예시 (curl)
curl -X PATCH "https://apidly.com/api/v1/api-keys/apikey_example" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"example","scope":"read","permissions":["servers.view"]}'JavaScript (SDK)
await apidly.apiKeys.update("apikey_example", {
name: "example",
scope: "read",
permissions: [
"servers.view"
]
});Python (SDK)
client.api_keys.update("apikey_example")명령줄 도구: apidly api-keys (CLI 레퍼런스)
응답 예시 (200)
{
"key": {
"id": "example",
"name": "example",
"prefix": "example",
"scope": "read",
"expiresAt": "2026-11-21T10:00:00.000Z",
"allowedCidrs": [
"example"
],
"permissions": [
"example"
],
"endpointId": "id_example",
"lastUsedAt": "2026-11-21T10:00:00.000Z",
"lastUsedNetwork": "example",
"callCount": 1,
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 403, 404, 429.
POST /api-keys/{id}/rotate
API 키 교체 (새 시크릿, 같은 설정)
Creates a new key with the same name, scope, permissions, IP allowlist, expiry, endpoint binding and creator, and returns its secret once. The new key has a new id. graceMinutes 0 (the default) revokes the old secret at once; 1 to 1440 keeps it working for that many minutes (never past its own expiry) so your programs can switch over, and both keys count against the key limit until then (409 limit_reached). Refused with 403 forbidden unless the calling key can already do everything the rotated key can, inside its own IP allowlist and expiry; 409 invalid_state for an expired key.
필요한 스코프: full · 권한: api_keys.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
graceMinutes |
integer | 아니요 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/api-keys/apikey_example/rotate" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"graceMinutes":0}'JavaScript (SDK)
await apidly.apiKeys.rotate("apikey_example");Python (SDK)
client.api_keys.rotate("apikey_example")명령줄 도구: apidly api-keys (CLI 레퍼런스)
응답 예시 (201)
{
"key": {
"id": "example",
"name": "example",
"prefix": "example",
"scope": "read",
"expiresAt": "2026-11-21T10:00:00.000Z",
"allowedCidrs": [
"example"
],
"permissions": [
"example"
],
"endpointId": "id_example",
"createdAt": "2026-11-21T10:00:00.000Z",
"key": "example"
},
"previous": {
"id": "example",
"prefix": "example",
"endsAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 403, 404, 409, 429.
레지스트리
GET /registries
비공개 이미지 레지스트리(토큰은 표시하지 않음)
필요한 스코프: read
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
limit |
query | integer | 아니요 | |
cursor |
query | string | 아니요 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/registries?limit=20" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.registries.list();Python (SDK)
client.registries.list()명령줄 도구: apidly registries (CLI 레퍼런스)
응답 예시 (200)
{
"registries": [
{
"id": "example",
"host": "example",
"username": "example",
"last4": "example",
"createdAt": "2026-11-21T10:00:00.000Z"
}
],
"nextCursor": "example"
}오류 상태: 401, 403, 429.
POST /registries
레지스트리 로그인 추가
The token is write-only.
필요한 스코프: full · 생성자 역할: admin
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
host |
string | 예 | |
username |
string | 예 | |
token |
string | 예 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/registries" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"host":"example","username":"example","token":"example"}'JavaScript (SDK)
await apidly.registries.create({
host: "example",
username: "example",
token: "example"
});Python (SDK)
client.registries.create(host="example", username="example", token="example")명령줄 도구: apidly registries (CLI 레퍼런스)
응답 예시 (201)
{
"registry": {
"id": "example",
"host": "example",
"username": "example",
"last4": "example",
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 403, 409, 429.
DELETE /registries/{id}
레지스트리 로그인 제거
필요한 스코프: full · 생성자 역할: admin
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl -X DELETE "https://apidly.com/api/v1/registries/registrie_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.registries.delete("registrie_example");Python (SDK)
client.registries.delete("registrie_example")명령줄 도구: apidly registries (CLI 레퍼런스)
응답 예시 (200)
{
"deleted": false
}오류 상태: 401, 403, 404, 429.
PATCH /registries/{id}
레지스트리 로그인의 사용자 이름 또는 토큰 교체
The host does not change; add a new login for another host.
필요한 스코프: full · 권한: templates.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
username |
string | 아니요 | |
token |
string | 아니요 |
요청 예시 (curl)
curl -X PATCH "https://apidly.com/api/v1/registries/registrie_example" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"username":"example","token":"example"}'JavaScript (SDK)
await apidly.registries.update("registrie_example", {
username: "example",
token: "example"
});Python (SDK)
client.registries.update("registrie_example")명령줄 도구: apidly registries (CLI 레퍼런스)
응답 예시 (200)
{
"registry": {
"id": "example",
"host": "example",
"username": "example",
"last4": "example",
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 403, 404, 409, 429.
POST /registries/{id}/check
Check a registry login (nothing is pulled)
Runs the registry's own sign-in handshake against the registry host only (GET /v2/, then the login it asks for); no image is pulled and nothing is launched. result: accepted, refused (the registry said 401 or 403 to this username and token), or unchecked with reason: auth_elsewhere (the registry sends sign-in to another host, which is not contacted), open (the registry answers without a login), no_registry_api (no registry API at that host), blocked_host (the host resolves to a private or local address), unreachable (no answer within 5 seconds), unexpected (any other answer). At most 10 checks a minute per organization (429).
필요한 스코프: full · 권한: templates.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/registries/registrie_example/check" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.registries.check("registrie_example");Python (SDK)
client.registries.check("registrie_example")명령줄 도구: apidly registries (CLI 레퍼런스)
응답 예시 (200)
{
"check": {
"host": "example",
"result": "accepted",
"reason": "auth_elsewhere"
}
}오류 상태: 401, 403, 404, 429.
써볼 준비가 되셨나요?
무료 계정을 만들고, 서버를 시작하고 싶을 때 크레딧을 충전하세요. 최소 충전 금액은 $10입니다.
도움이 되었나요?