Management API Reference
This reference is generated from the Arka OpenAPI contract. The contract includes parameters, request and response schemas, and operation security requirements.
OpenAPI 3.1.0 · Arka 1.0.0
Download the full OpenAPI JSON
assets
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/assets/{id}/sbom | getAssetSBOM | Get the asset SBOM documents |
audits
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/audits | listAuditEvents | List audit events with optional server-side filters (admin only) |
| GET | /api/v1/audits/export | exportAuditEvents | Export filtered audit events as CSV or JSON (admin only) |
auth
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/auth/ldap/providers | listLDAPProviders | |
| POST | /api/v1/auth/ldap/providers | upsertLDAPProvider | |
| DELETE | /api/v1/auth/ldap/providers/{id} | deleteLDAPProvider | |
| POST | /api/v1/auth/ldap/providers/{id}/test | testLDAPProvider | |
| POST | /api/v1/auth/login | login | Authenticate with username and password |
| GET | /api/v1/auth/me | getCurrentPrincipal | Return current authenticated principal |
| POST | /api/v1/auth/oidc/{provider}/callback | completeOIDCCallback | Exchange OIDC authorization code with PKCE and mint Arka session token |
| GET | /api/v1/auth/oidc/{provider}/start | startOIDCLogin | Start OIDC Authorization Code + PKCE login flow |
| POST | /api/v1/auth/oidc/exchange | exchangeWorkloadOIDCToken | Exchange a workload OIDC JWT for an Arka API token |
| GET | /api/v1/auth/oidc/providers | listOIDCProviders | List configured OIDC identity providers |
| POST | /api/v1/auth/oidc/providers | upsertOIDCProvider | Create or update an OIDC identity provider (admin only) |
| DELETE | /api/v1/auth/oidc/providers/{id} | deleteOIDCProvider | Delete an OIDC provider (admin only) |
| PUT | /api/v1/auth/password | changeMyPassword | Change the authenticated local user's password |
| GET | /api/v1/auth/workload-providers | listWorkloadOIDCProviders | List workload OIDC providers |
| POST | /api/v1/auth/workload-providers | createWorkloadOIDCProvider | Create a workload OIDC provider |
| DELETE | /api/v1/auth/workload-providers/{id} | deleteWorkloadOIDCProvider | Delete a workload OIDC provider |
| GET | /api/v1/auth/workload-providers/{id} | getWorkloadOIDCProvider | Get a workload OIDC provider |
| PATCH | /api/v1/auth/workload-providers/{id} | updateWorkloadOIDCProvider | Update a workload OIDC provider |
builds
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/builds | listBuilds | List authorized builds |
| POST | /api/v1/builds | createBuild | Record a build |
| DELETE | /api/v1/builds/{id} | deleteBuild | Delete build information |
| GET | /api/v1/builds/{id} | getBuild | Get build lineage and promotion history |
| POST | /api/v1/builds/{id}/promote | promoteBuild | Plan or commit an immutable build promotion |
formats
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/formats | listFormats | List registered package format drivers |
health
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/health | getHealth | Check server and PostgreSQL readiness |
| GET | /api/v1/health/live | getLiveness | Check process liveness without consulting dependencies |
jobs
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/jobs | listJobs | List durable jobs |
| POST | /api/v1/jobs | enqueueJob | Enqueue a maintenance job |
| GET | /api/v1/jobs/{id} | getJob | Get a durable job |
| POST | /api/v1/jobs/{id}/cancel | cancelJob | Cancel a queued or running job |
| POST | /api/v1/jobs/{id}/retry | retryJob | Retry a terminal job |
migrations
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/migrations/drivers | listMigrationDrivers | List registered migration source drivers |
| GET | /api/v1/migrations/jobs | listMigrationJobs | List recent migration jobs |
| POST | /api/v1/migrations/jobs | startMigrationJob | Start a checksum-verified migration job from a source repository |
| GET | /api/v1/migrations/jobs/{id} | getMigrationJob | Get migration job status and progress |
| GET | /api/v1/migrations/jobs/{id}/cutover-readiness | getMigrationCutoverReadiness | Check whether enrolled Nexus repositories are ready for cutover |
| GET | /api/v1/migrations/jobs/{id}/reconciliation | getMigrationReconciliation | List persisted migration reconciliation items |
| POST | /api/v1/migrations/jobs/{id}/resume | resumeMigrationJob | Resume a failed or canceled migration job from its saved continuation token |
| POST | /api/v1/migrations/jobs/{id}/retry-failed | retryFailedMigrationItems | Queue a retry of selected failed migration items |
| POST | /api/v1/migrations/jobs/{id}/sync | syncMigrationCutover | Queue an incremental Nexus migration pass from the saved watermark |
| GET | /api/v1/migrations/sources | listMigrationSources | List configured external migration sources (e.g. Nexus 3) |
| POST | /api/v1/migrations/sources | createMigrationSource | Register an external migration source (e.g. Nexus 3) |
| DELETE | /api/v1/migrations/sources/{id} | deleteMigrationSource | Delete a migration source |
| POST | /api/v1/migrations/sources/{id}/preflight | preflightMigrationSource | Check source connectivity, repository topology and security API readability |
| POST | /api/v1/migrations/sources/{id}/provision | provisionFromMigrationSource | Batch-provision hosted or pull-through proxy repositories from a Nexus 3 source |
| GET | /api/v1/migrations/sources/{id}/repositories | discoverMigrationSourceRepositories | Discover repositories on an external migration source |
| POST | /api/v1/migrations/sources/{id}/test | testMigrationSource | Test connectivity and credentials against a migration source |
| POST | /api/v1/migrations/sources/{id}/verify | verifyMigrationParity | Verify inventory and optional live byte parity before cutover |
observability
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/observability/status | getObservabilityStatus | Get live runtime telemetry, proxy cache counters, and offload status (admin only) |
overview
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/overview | getOverview | Get high-level registry metrics |
platform
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/platform/compat/nexus3 | getNexus3CompatStatus | Inspect the Nexus 3 REST compatibility adapter (admin only) |
| GET | /api/v1/platform/outbound-proxy | getOutboundProxy | Get system outbound proxy |
| PUT | /api/v1/platform/outbound-proxy | updateOutboundProxy | Update system outbound proxy |
ready
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/ready | getReadiness | Check PostgreSQL and default blob storage readiness |
repositories
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/repositories | listRepositories | List visible repositories |
| POST | /api/v1/repositories | createRepository | Create a hosted, proxy, or group repository |
| DELETE | /api/v1/repositories/{id} | deleteRepository | Delete a repository |
| GET | /api/v1/repositories/{id} | getRepository | Get repository details |
| PATCH | /api/v1/repositories/{id} | updateRepository | Update repository settings |
| GET | /api/v1/repositories/{id}/artifacts | listRepositoryArtifacts | List logical artifacts in a repository |
| DELETE | /api/v1/repositories/{id}/assets | deleteRepositoryAsset | Delete an asset by repository-relative path |
| GET | /api/v1/repositories/{id}/assets | listRepositoryAssets | List addressable assets in a repository |
| GET | /api/v1/repositories/{id}/assets/{assetId}/properties | getAssetProperties | Get custom asset properties |
| PUT | /api/v1/repositories/{id}/assets/{assetId}/properties | setAssetProperties | Merge or replace custom asset properties |
| DELETE | /api/v1/repositories/{id}/assets/{assetId}/properties/{key} | deleteAssetProperty | Delete a custom asset property |
| GET | /api/v1/repositories/{id}/assets/detail | getRepositoryAssetDetail | Inspect an asset by repository-relative path |
| GET | /api/v1/repositories/{id}/assets/tree | browseRepositoryTree | Browse immediate children of a repository directory |
| POST | /api/v1/repositories/{id}/directories/delete | deleteRepositoryDirectory | Confirm and atomically delete assets under a hosted repository directory |
| POST | /api/v1/repositories/{id}/directories/delete-preview | previewDirectoryDelete | Preview deletion of assets under a hosted repository directory |
| GET | /api/v1/repositories/{id}/grants | listRepositoryGrants | List RBAC grants on a repository |
| PUT | /api/v1/repositories/{id}/grants | upsertRepositoryGrant | Grant or update a user or team permission on a repository |
| DELETE | /api/v1/repositories/{id}/grants/{grantId} | deleteRepositoryGrant | Remove a repository grant |
| POST | /api/v1/repositories/{id}/promote | promoteRepository | Atomically promote a pull-through proxy repository to a standalone hosted repository |
| GET | /api/v1/repositories/{id}/retention | getRepositoryRetention | Get retention policy for a repository (admin only) |
| PUT | /api/v1/repositories/{id}/retention | upsertRepositoryRetention | Configure or update retention policy for a repository (admin only) |
| POST | /api/v1/repositories/{id}/retention/run | runRepositoryRetention | Execute or dry-run retention policy on a repository (admin only) |
| GET | /api/v1/repositories/{id}/security/allowlists | listQuarantineAllowlists | List quarantine exceptions |
| POST | /api/v1/repositories/{id}/security/allowlists | createQuarantineAllowlist | Create a quarantine exception |
| DELETE | /api/v1/repositories/{id}/security/allowlists/{allowlistId} | deleteQuarantineAllowlist | Delete a quarantine exception |
| GET | /api/v1/repositories/{id}/security/license-compliance | getRepositoryLicenseCompliance | Get repository license compliance and current violations |
| PUT | /api/v1/repositories/{id}/security/license-policy | updateRepositoryLicensePolicy | Update repository license policy fields |
| GET | /api/v1/repositories/{id}/security/policy | getRepositorySecurityPolicy | Get repository security policy |
| PUT | /api/v1/repositories/{id}/security/policy | upsertRepositorySecurityPolicy | Set repository security policy |
| GET | /api/v1/repositories/{id}/security/sboms | listRepositorySBOMs | List repository SBOMs |
| PUT | /api/v1/repositories/{id}/security/sboms | upsertAssetSBOM | Attach an SPDX or CycloneDX SBOM |
| DELETE | /api/v1/repositories/{id}/security/sboms/{sbomId} | deleteAssetSBOM | Delete an asset SBOM |
| GET | /api/v1/repositories/{id}/security/scans | listRepositoryScans | List vulnerability scans |
| POST | /api/v1/repositories/{id}/security/scans | triggerRepositoryScan | Queue a scan or ingest findings |
| GET | /api/v1/repositories/{id}/security/signatures | listAssetSignatures | List artifact signatures |
| POST | /api/v1/repositories/{id}/security/signatures | attachAssetSignature | Verify and attach an artifact signature |
| DELETE | /api/v1/repositories/{id}/security/signatures/{signatureId} | deleteAssetSignature | Delete an artifact signature |
| GET | /api/v1/repositories/{id}/snippets | getRepositorySnippets | Get format-specific client configuration snippets |
routing-rules
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/routing-rules | listRoutingRules | List routing rules |
| POST | /api/v1/routing-rules | createRoutingRule | Create a routing rule |
| DELETE | /api/v1/routing-rules/{id} | deleteRoutingRule | Delete an unbound routing rule |
| GET | /api/v1/routing-rules/{id} | getRoutingRule | Get routing rule |
| PUT | /api/v1/routing-rules/{id} | updateRoutingRule | Replace a routing rule |
| POST | /api/v1/routing-rules/test | testRoutingRule | Test a saved or draft rule against a canonical path |
search
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/search | searchAssets | Search assets across repositories |
security
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/security/content-selectors | listContentSelectors | List Portable CSEL content selectors |
| POST | /api/v1/security/content-selectors | createContentSelector | Create a Portable CSEL selector |
| DELETE | /api/v1/security/content-selectors/{id} | deleteContentSelector | Delete an unreferenced selector |
| GET | /api/v1/security/content-selectors/{id} | getContentSelector | Get a content selector |
| PUT | /api/v1/security/content-selectors/{id} | updateContentSelector | Update a content selector |
| POST | /api/v1/security/content-selectors/preview | previewContentSelector | Preview visible stored assets matching a selector |
| GET | /api/v1/security/scanner/status | getScannerStatus | Get external scanner health and capacity |
| GET | /api/v1/security/scans/{scanId} | getVulnerabilityScan | Get vulnerability scan |
| GET | /api/v1/security/signing-keys | listSigningKeys | List signing keys |
| DELETE | /api/v1/security/signing-keys/{id} | deleteSigningKey | Delete a managed signing key |
| POST | /api/v1/security/signing-keys/{id}/activate | activateSigningKey | Activate a repository signing key atomically |
| GET | /api/v1/security/signing-keys/{id}/public-key | getSigningPublicKey | Get public signing key material |
| POST | /api/v1/security/signing-keys/generate | generateSigningKey | Generate a managed signing key |
storage-pools
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/storage-pools | listStoragePools | List configured blob storage pools |
| POST | /api/v1/storage-pools | createStoragePool | Create a storage pool |
| DELETE | /api/v1/storage-pools/{id} | deleteStoragePool | Delete an unused storage pool |
| GET | /api/v1/storage-pools/{id} | getStoragePool | Get storage pool configuration and usage |
| PATCH | /api/v1/storage-pools/{id} | updateStoragePool | Update a storage pool |
| POST | /api/v1/storage-pools/{id}/test | testStoragePool | Test storage pool connectivity |
| GET | /api/v1/storage-pools/{id}/usage | getStoragePoolUsage | Inspect physical pool and logical repository usage |
storage
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| POST | /api/v1/storage/gc | runBlobGC | Run or dry-run race-safe unreferenced blob garbage collection (admin only) |
teams
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/teams | listTeams | |
| POST | /api/v1/teams | createTeam | |
| DELETE | /api/v1/teams/{id} | deleteTeam | |
| GET | /api/v1/teams/{id} | getTeam | |
| PATCH | /api/v1/teams/{id} | updateTeam | |
| DELETE | /api/v1/teams/{id}/members/{userId} | removeTeamMember | |
| PUT | /api/v1/teams/{id}/members/{userId} | addTeamMember |
tokens
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/tokens | listMyTokens | List API tokens for the current user |
| POST | /api/v1/tokens | createMyToken | Create a new API token for CI/CD or CLI usage |
| DELETE | /api/v1/tokens/{id} | revokeToken | Revoke an API token |
users
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/users | listUsers | List all users (admin only) |
| POST | /api/v1/users | createUser | Create a local user (admin only) |
| PATCH | /api/v1/users/{id} | updateUser | Update a user's profile, role, disabled state, or local password (admin only) |
webhook-deliveries
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| POST | /api/v1/webhook-deliveries/{id}/replay | replayWebhookDelivery | Replay a recorded webhook delivery (admin only) |
webhooks
| Method | Path | Operation ID | Summary |
|---|---|---|---|
| GET | /api/v1/webhooks | listWebhooks | List configured event webhooks (admin only) |
| POST | /api/v1/webhooks | createWebhook | Create a domain event webhook subscription (admin only) |
| DELETE | /api/v1/webhooks/{id} | deleteWebhook | Delete a webhook subscription (admin only) |
| GET | /api/v1/webhooks/{id} | getWebhook | Get a webhook subscription (admin only) |
| PATCH | /api/v1/webhooks/{id} | updateWebhook | Update a webhook subscription (admin only) |
| GET | /api/v1/webhooks/{id}/deliveries | listWebhookDeliveries | List recent delivery attempts for a webhook (admin only) |
| POST | /api/v1/webhooks/{id}/test | testWebhook | Send a webhook test ping (admin only) |
| GET | /api/v1/webhooks/events | listWebhookEvents | List supported webhook event actions (admin only) |