Management API
Every operation of the management API of this version, by area, with the permission a caller needs.
On this page
- system
- meta
- audit
- jobs
- storage
- users
- groups
- service-accounts
- tokens
- limits
- auth-settings
- visibility
- auth
- sessions
- preferences
- permissions
- projects
- ci
- repositories
- deb
- ansible
- upstream
- remote-curation
- items
- files
- endpoints
- packages
- ownership
- bastions
- bastion
- vulnerabilities
- malware
- download-links
- signatures
- search
The paths are below /api/v1/, the raw transfer of files below /files/. The OpenAPI document itself is served at /api/v1/openapi.yaml and /api/v1/openapi.json without sign-in; an error is application/problem+json with a code of Error codes. The package protocols of the formats are not part of this API.
| Permission | Who may call |
|---|---|
| Anyone | Every caller, also without a credential |
| Signed in | Every caller with a valid credential |
A capability, such as settings:read |
A holder of the capability through a role or a permission policy (Permissions) |
| … or Owner, … or Reader | Also a member of the project the request names with at least that role |
An action on the repository, such as read |
A caller allowed that action on the repository, such as a project member through their role |
| Administrator | An administrator of the installation |
| Bastion | A registered Bastion with its token |
| a recent sign-in | A caller with a session must have signed in recently; a token is not asked |
system
Liveness of the API, build facts, installation facts and the replica registry.
22 operations
| Summary | Operation | Permission |
|---|---|---|
| Check that this replica is ready to take work | GET /api/v1/system/ping |
Anyone |
| Build facts of this replica | GET /api/v1/system/version |
Signed in; anyone while system.public_version is on |
| The system banner | GET /api/v1/system/banner |
Anyone |
| Set the system banner | PUT /api/v1/system/banner |
settings:write |
| The maintenance mode | GET /api/v1/system/maintenance |
Signed in |
| Switch the maintenance mode | PUT /api/v1/system/maintenance |
settings:write |
| The installation's default form of a time | GET /api/v1/system/time-format |
Anyone |
| Set the installation's default form of a time | PUT /api/v1/system/time-format |
settings:write |
| Installation facts | GET /api/v1/system/info |
settings:read |
| The replica registry | GET /api/v1/system/replicas |
settings:read |
| The scanner replicas and the kinds of scanner | GET /api/v1/system/scanners |
settings:read |
| The schema migrations and the background data migrations | GET /api/v1/system/migrations |
settings:read |
| The counts and the stored content of the installation | GET /api/v1/system/overview |
settings:read |
| The running downloads from the upstreams of remote repositories and the last 100 finished | GET /api/v1/system/upstream-downloads |
content:metadata-read |
| How many downloads from upstreams run now | GET /api/v1/system/upstream-downloads/summary |
content:metadata-read |
| The object-store connections | GET /api/v1/system/storage-connections |
settings:read |
| One object-store connection | GET /api/v1/system/storage-connections/{id} |
settings:read |
| Status of the stored-secret key ring | GET /api/v1/system/encryption |
settings:read |
| Read the imprint and the privacy notice | GET /api/v1/legal |
Anyone |
| List backup runs | GET /api/v1/system/backups |
settings:read |
| Status of the backup job | GET /api/v1/system/backups/summary |
settings:read |
| Read a backup run | GET /api/v1/system/backups/{runId} |
settings:read |
meta
This document and the problem catalog.
3 operations
| Summary | Operation | Permission |
|---|---|---|
| This document as JSON | GET /api/v1/openapi.json |
Anyone |
| This document as YAML | GET /api/v1/openapi.yaml |
Anyone |
| Describe a problem code | GET /api/v1/problems/{code} |
Anyone |
audit
Query and export of the audit trail.
5 operations
| Summary | Operation | Permission |
|---|---|---|
| Query the audit trail | GET /api/v1/audit/events |
audit:read |
| Export the audit trail | GET /api/v1/audit/events/export |
audit:read |
| Read one audit event | GET /api/v1/audit/events/{id} |
audit:read |
| Read the audit log's rows | GET /api/v1/audit/rows |
audit:read |
| List the events of one row | GET /api/v1/audit/rows/{id}/events |
audit:read |
jobs
Background jobs and the maintenance tasks that start them.
5 operations
| Summary | Operation | Permission |
|---|---|---|
| List jobs | GET /api/v1/system/jobs |
Signed in |
| Read a job | GET /api/v1/system/jobs/{id} |
Signed in |
| Cancel a job | POST /api/v1/system/jobs/{id}/cancel |
Signed in |
| List the maintenance tasks | GET /api/v1/system/tasks |
settings:read |
| Run a maintenance task now | POST /api/v1/system/tasks/{name}/run |
settings:write |
storage
The stored content itself - the blobs whose copies are damaged, and a check of one blob now.
8 operations
| Summary | Operation | Permission |
|---|---|---|
| List the damaged blobs | GET /api/v1/storage/damaged-blobs |
settings:read |
| Read every copy of a blob whole now | POST /api/v1/storage/damaged-blobs/{sha256}/recheck |
settings:write |
| The storage overview | GET /api/v1/storage/overview |
settings:read |
| The cells of a period per connection | GET /api/v1/storage/history |
settings:read |
| List the problems of a period | GET /api/v1/storage/problems |
settings:read |
| List the damaged copies of a period | GET /api/v1/storage/findings |
settings:read |
| Acknowledge a damaged copy | POST /api/v1/storage/findings/{id}/acknowledge |
settings:write |
| The storage summary | GET /api/v1/storage/summary |
settings:read |
users
Users, their groups, disabling, deletion and the break-glass unlock.
14 operations
| Summary | Operation | Permission |
|---|---|---|
| List users | GET /api/v1/users |
identities:read |
| Create a user | POST /api/v1/users |
identities:write |
| Read the caller's own user record | GET /api/v1/users/me |
Signed in |
| Set the caller's avatar | PUT /api/v1/users/me/avatar |
Signed in |
| Remove the caller's avatar | DELETE /api/v1/users/me/avatar |
Signed in |
| Remove a user's avatar | DELETE /api/v1/users/{username}/avatar |
identities:write |
| Read an avatar image | GET /api/v1/avatars/{digest} |
Signed in |
| Read a user | GET /api/v1/users/{username} |
identities:read |
| Correct a user's profile data | PATCH /api/v1/users/{username} |
identities:write |
| Delete a user | DELETE /api/v1/users/{username} |
identities:write |
| Disable a user | POST /api/v1/users/{username}/disable |
identities:write |
| Enable a user | POST /api/v1/users/{username}/enable |
identities:write |
| Add and remove manual group memberships of a user | PATCH /api/v1/users/{username}/groups |
identities:write |
| Clear the lockout of the break-glass account | POST /api/v1/users/{username}/unlock |
Administrator |
groups
Groups and their memberships.
7 operations
| Summary | Operation | Permission |
|---|---|---|
| List groups | GET /api/v1/groups |
identities:read |
| Create a group | POST /api/v1/groups |
identities:write |
| Read a group | GET /api/v1/groups/{name} |
identities:read |
| Change a group | PATCH /api/v1/groups/{name} |
identities:write |
| Delete a group | DELETE /api/v1/groups/{name} |
identities:write |
| List the members of a group | GET /api/v1/groups/{name}/members |
identities:read |
| Add and remove members of a group | PATCH /api/v1/groups/{name}/members |
identities:write |
service-accounts
Service accounts for automation.
39 operations
| Summary | Operation | Permission |
|---|---|---|
| List service accounts | GET /api/v1/service-accounts |
identities:read |
| Create a service account | POST /api/v1/service-accounts |
identities:write |
| List the service accounts of a project | GET /api/v1/projects/{projectKey}/service-accounts |
identities:read, or Owner of the project |
| Create a service account of a project | POST /api/v1/projects/{projectKey}/service-accounts |
identities:write, or Owner of the project |
| Read a service account | GET /api/v1/service-accounts/{name} |
identities:read |
| Change a service account | PATCH /api/v1/service-accounts/{name} |
identities:write |
| Delete a service account | DELETE /api/v1/service-accounts/{name} |
identities:write |
| Read a service account of a project | GET /api/v1/projects/{projectKey}/service-accounts/{name} |
identities:read, or Owner of the project |
| Change a service account of a project | PATCH /api/v1/projects/{projectKey}/service-accounts/{name} |
identities:write, or Owner of the project |
| Delete a service account of a project | DELETE /api/v1/projects/{projectKey}/service-accounts/{name} |
identities:write, or Owner of the project |
| Disable a service account | POST /api/v1/service-accounts/{name}/disable |
identities:write |
| Disable a service account of a project | POST /api/v1/projects/{projectKey}/service-accounts/{name}/disable |
identities:write, or Owner of the project |
| Enable a service account | POST /api/v1/service-accounts/{name}/enable |
identities:write |
| Enable a service account of a project | POST /api/v1/projects/{projectKey}/service-accounts/{name}/enable |
identities:write, or Owner of the project |
| List the service accounts of a repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/service-accounts |
identities:read, or Owner of the project |
| Create a service account of a repository | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/service-accounts |
identities:write, or Owner of the project |
| Read a service account of a repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/service-accounts/{name} |
identities:read, or Owner of the project |
| Change a service account of a repository | PATCH /api/v1/projects/{projectKey}/repositories/{repoKey}/service-accounts/{name} |
identities:write, or Owner of the project |
| Delete a service account of a repository | DELETE /api/v1/projects/{projectKey}/repositories/{repoKey}/service-accounts/{name} |
identities:write, or Owner of the project |
| Disable a service account of a repository | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/service-accounts/{name}/disable |
identities:write, or Owner of the project |
| Enable a service account of a repository | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/service-accounts/{name}/enable |
identities:write, or Owner of the project |
| List the technical tokens of an instance-wide service account | GET /api/v1/service-accounts/{name}/technical-tokens |
identities:read |
| Create a technical token of an instance-wide service account | POST /api/v1/service-accounts/{name}/technical-tokens |
Signed in; a recent sign-in |
| Read a technical token of an instance-wide service account | GET /api/v1/service-accounts/{name}/technical-tokens/{tokenName} |
identities:read |
| Change a technical token of an instance-wide service account | PATCH /api/v1/service-accounts/{name}/technical-tokens/{tokenName} |
identities:write |
| Delete a technical token of an instance-wide service account | DELETE /api/v1/service-accounts/{name}/technical-tokens/{tokenName} |
tokens:revoke |
| Issue a new secret of a technical token of an instance-wide service account | POST /api/v1/service-accounts/{name}/technical-tokens/{tokenName}/secrets |
Signed in; a recent sign-in |
| List the technical tokens of a project's service account | GET /api/v1/projects/{projectKey}/service-accounts/{name}/technical-tokens |
identities:read, or Owner of the project |
| Create a technical token of a project's service account | POST /api/v1/projects/{projectKey}/service-accounts/{name}/technical-tokens |
Signed in; a recent sign-in |
| Read a technical token of a project's service account | GET /api/v1/projects/{projectKey}/service-accounts/{name}/technical-tokens/{tokenName} |
identities:read, or Owner of the project |
| Change a technical token of a project's service account | PATCH /api/v1/projects/{projectKey}/service-accounts/{name}/technical-tokens/{tokenName} |
identities:write, or Owner of the project |
| Delete a technical token of a project's service account | DELETE /api/v1/projects/{projectKey}/service-accounts/{name}/technical-tokens/{tokenName} |
tokens:revoke, or Owner of the project |
| Issue a new secret of a technical token of a project's service account | POST /api/v1/projects/{projectKey}/service-accounts/{name}/technical-tokens/{tokenName}/secrets |
Signed in; a recent sign-in |
| List the technical tokens of a repository's service account | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/service-accounts/{name}/technical-tokens |
identities:read, or Owner of the project |
| Create a technical token of a repository's service account | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/service-accounts/{name}/technical-tokens |
Signed in; a recent sign-in |
| Read a technical token of a repository's service account | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/service-accounts/{name}/technical-tokens/{tokenName} |
identities:read, or Owner of the project |
| Change a technical token of a repository's service account | PATCH /api/v1/projects/{projectKey}/repositories/{repoKey}/service-accounts/{name}/technical-tokens/{tokenName} |
identities:write, or Owner of the project |
| Delete a technical token of a repository's service account | DELETE /api/v1/projects/{projectKey}/repositories/{repoKey}/service-accounts/{name}/technical-tokens/{tokenName} |
tokens:revoke, or Owner of the project |
| Issue a new secret of a technical token of a repository's service account | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/service-accounts/{name}/technical-tokens/{tokenName}/secrets |
Signed in; a recent sign-in |
tokens
Personal and service-account tokens. A token value is returned by the call that creates it and never again.
13 operations
| Summary | Operation | Permission |
|---|---|---|
| Create a personal access token | POST /api/v1/tokens |
Signed in; a recent sign-in |
| List tokens | GET /api/v1/tokens |
Signed in |
| Read the token that authenticates the request | GET /api/v1/tokens/current |
Signed in |
| Revoke the token that authenticates the request | DELETE /api/v1/tokens/current |
Signed in |
| Rotate the token that authenticates the request | POST /api/v1/tokens/current/rotate |
Signed in |
| Revoke a token by its value | POST /api/v1/tokens/revoke |
Anyone |
| Read a token | GET /api/v1/tokens/{id} |
Signed in |
| Revoke a token | DELETE /api/v1/tokens/{id} |
Signed in |
| Rotate a token | POST /api/v1/tokens/{id}/rotate |
Signed in; a recent sign-in |
| Revoke all own tokens | DELETE /api/v1/users/me/tokens |
Signed in |
| Revoke all tokens of a user | DELETE /api/v1/users/{username}/tokens |
tokens:revoke |
| Revoke all tokens of a service account | DELETE /api/v1/service-accounts/{name}/tokens |
tokens:revoke |
| Revoke all tokens of a project service account | DELETE /api/v1/projects/{projectKey}/service-accounts/{name}/tokens |
tokens:revoke, or Owner of the project |
limits
The download limits and the usage overview.
46 operations
| Summary | Operation | Permission |
|---|---|---|
| List the profiles of the download limits | GET /api/v1/limits/profiles |
limits:read, or Owner of a project |
| Create a profile | POST /api/v1/limits/profiles |
limits:write |
| Read a profile | GET /api/v1/limits/profiles/{key} |
limits:read, or Owner of a project |
| Replace a profile | PUT /api/v1/limits/profiles/{key} |
limits:write |
| Delete a profile | DELETE /api/v1/limits/profiles/{key} |
limits:write |
| List the rules of the instance | GET /api/v1/limits/assignments |
limits:read |
| Create a rule at the instance | POST /api/v1/limits/assignments |
limits:write |
| Read a rule of the instance | GET /api/v1/limits/assignments/{id} |
limits:read |
| Replace a rule of the instance | PUT /api/v1/limits/assignments/{id} |
limits:write |
| Delete a rule of the instance | DELETE /api/v1/limits/assignments/{id} |
limits:write |
| List the rules of a Bastion's place | GET /api/v1/bastions/{name}/limits/assignments |
limits:read |
| Create a rule at a Bastion's place | POST /api/v1/bastions/{name}/limits/assignments |
limits:write |
| Read a rule of a Bastion's place | GET /api/v1/bastions/{name}/limits/assignments/{id} |
limits:read |
| Replace a rule of a Bastion's place | PUT /api/v1/bastions/{name}/limits/assignments/{id} |
limits:write |
| Delete a rule of a Bastion's place | DELETE /api/v1/bastions/{name}/limits/assignments/{id} |
limits:write |
| List the rules of a project | GET /api/v1/projects/{projectKey}/limits/assignments |
limits:read, or Owner of the project |
| Create a rule at a project | POST /api/v1/projects/{projectKey}/limits/assignments |
limits:write, or Owner of the project |
| Read a rule of a project | GET /api/v1/projects/{projectKey}/limits/assignments/{id} |
limits:read, or Owner of the project |
| Replace a rule of a project | PUT /api/v1/projects/{projectKey}/limits/assignments/{id} |
limits:write, or Owner of the project |
| Delete a rule of a project | DELETE /api/v1/projects/{projectKey}/limits/assignments/{id} |
limits:write, or Owner of the project |
| List the rules of a repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/limits/assignments |
limits:read, or Owner of the project |
| Create a rule at a repository | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/limits/assignments |
limits:write, or Owner of the project |
| Read a rule of a repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/limits/assignments/{id} |
limits:read, or Owner of the project |
| Replace a rule of a repository | PUT /api/v1/projects/{projectKey}/repositories/{repoKey}/limits/assignments/{id} |
limits:write, or Owner of the project |
| Delete a rule of a repository | DELETE /api/v1/projects/{projectKey}/repositories/{repoKey}/limits/assignments/{id} |
limits:write, or Owner of the project |
| Read the ceilings of a remote repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/limits/ceilings |
repositories:read-config, or Owner of the project |
| Replace the ceilings of a remote repository | PUT /api/v1/projects/{projectKey}/repositories/{repoKey}/limits/ceilings |
repositories:write-config, or Owner of the project |
| Read the mode and the block time | GET /api/v1/limits/settings |
limits:read |
| Change the mode or the block time | PATCH /api/v1/limits/settings |
limits:write; a recent sign-in |
| What enforce would have done | GET /api/v1/limits/mode-preview |
limits:read |
| Read a project's maximum | GET /api/v1/projects/{projectKey}/limits/maximum |
limits:read, or Owner of the project |
| Set a project's maximum | PUT /api/v1/projects/{projectKey}/limits/maximum |
limits:write |
| Remove a project's maximum | DELETE /api/v1/projects/{projectKey}/limits/maximum |
limits:write |
| List blocks | GET /api/v1/limits/blocks |
limits:read, or Owner of a project |
| Lift a block | DELETE /api/v1/limits/blocks/{id} |
limits:write, or Owner of a project |
| Which limit applies | GET /api/v1/limits/explain |
limits:read, or Owner of a project |
| Suggest technical tokens and CI projects | GET /api/v1/limits/subjects |
limits:read, or Owner of a project |
| Every project's maximum and rule counts | GET /api/v1/limits/projects |
limits:read |
| Every subject's usage | GET /api/v1/usage |
usage:read |
| Every subject's usage as CSV | GET /api/v1/usage/export |
usage:read |
| One subject's usage | GET /api/v1/usage/subjects/{kind}/{id} |
usage:read |
| Usage in a project | GET /api/v1/projects/{projectKey}/usage |
usage:read, or Owner of the project |
| Usage in a project as CSV | GET /api/v1/projects/{projectKey}/usage/export |
usage:read, or Owner of the project |
| One subject's usage in a project | GET /api/v1/projects/{projectKey}/usage/subjects/{kind}/{id} |
usage:read, or Owner of the project |
| The caller's own usage | GET /api/v1/users/me/usage |
Signed in |
| Which limit applies to the caller | GET /api/v1/users/me/limits |
Signed in |
auth-settings
The runtime authentication settings.
2 operations
| Summary | Operation | Permission |
|---|---|---|
| Read the runtime authentication settings | GET /api/v1/settings/auth |
settings:read |
| Change the runtime authentication settings | PATCH /api/v1/settings/auth |
settings:write; a recent sign-in |
visibility
The installation's default visibility level and the visibility of a project.
4 operations
| Summary | Operation | Permission |
|---|---|---|
| Read the installation's visibility settings | GET /api/v1/settings/visibility |
settings:read |
| Change the installation's default visibility level and its restricted levels | PATCH /api/v1/settings/visibility |
security-settings:write; a recent sign-in |
| Read the visibility levels the caller may choose | GET /api/v1/visibility-choices |
Signed in |
| Set the visibility level of a project | PUT /api/v1/projects/{projectKey}/visibility |
projects:write; a recent sign-in |
auth
The sign-in options and the caller's principal and credential.
2 operations
| Summary | Operation | Permission |
|---|---|---|
| Read what the sign-in screen offers | GET /api/v1/auth/login-options |
Anyone |
| Read the caller's principal and credential | GET /api/v1/auth/whoami |
Signed in |
sessions
The UI sessions of a user.
5 operations
| Summary | Operation | Permission |
|---|---|---|
| List the caller's active sessions | GET /api/v1/users/me/sessions |
Signed in |
| End all of the caller's sessions | DELETE /api/v1/users/me/sessions |
Signed in |
| End one of the caller's sessions | DELETE /api/v1/users/me/sessions/{id} |
Signed in |
| List a user's active sessions | GET /api/v1/users/{username}/sessions |
identities:read |
| End all sessions of a user | DELETE /api/v1/users/{username}/sessions |
identities:write |
preferences
The caller's UI preferences.
2 operations
| Summary | Operation | Permission |
|---|---|---|
| Read the caller's UI preferences | GET /api/v1/users/me/preferences |
Signed in |
| Change the caller's UI preferences | PATCH /api/v1/users/me/preferences |
Signed in |
permissions
Permission policies, system roles and role bindings, and the permission checks of the caller.
19 operations
| Summary | Operation | Permission |
|---|---|---|
| List permission policies | GET /api/v1/permission-policies |
policies:read |
| Create a permission policy | POST /api/v1/permission-policies |
policies:write; a recent sign-in |
| List the permission policies of a project | GET /api/v1/projects/{projectKey}/policies |
policies:read, or Owner of the project |
| Create a permission policy of a project | POST /api/v1/projects/{projectKey}/policies |
policies:write, or Owner of the project; a recent sign-in |
| Read a permission policy | GET /api/v1/permission-policies/{name} |
policies:read |
| Replace a permission policy | PUT /api/v1/permission-policies/{name} |
policies:write; a recent sign-in |
| Change members of a permission policy | PATCH /api/v1/permission-policies/{name} |
policies:write; a recent sign-in |
| Delete a permission policy | DELETE /api/v1/permission-policies/{name} |
policies:write; a recent sign-in |
| Read a permission policy of a project | GET /api/v1/projects/{projectKey}/policies/{name} |
policies:read, or Owner of the project |
| Replace a permission policy of a project | PUT /api/v1/projects/{projectKey}/policies/{name} |
policies:write, or Owner of the project; a recent sign-in |
| Change members of a permission policy of a project | PATCH /api/v1/projects/{projectKey}/policies/{name} |
policies:write, or Owner of the project; a recent sign-in |
| Delete a permission policy of a project | DELETE /api/v1/projects/{projectKey}/policies/{name} |
policies:write, or Owner of the project; a recent sign-in |
| Validate a permission policy without storing it | POST /api/v1/authz/validate-policy |
Signed in |
| List the system roles | GET /api/v1/roles |
Signed in |
| List role bindings | GET /api/v1/role-bindings |
roles:read |
| Bind a role to a principal | PUT /api/v1/role-bindings/{role}/{principalRef} |
roles:write; a recent sign-in |
| Remove a role binding | DELETE /api/v1/role-bindings/{role}/{principalRef} |
roles:write; a recent sign-in |
| What the caller may do | GET /api/v1/authz/me |
Signed in |
| Check repository actions for the caller | POST /api/v1/authz/check |
Signed in |
projects
Projects, the container of repositories and the unit of delegated administration, their members with a role and the objects a project holds.
10 operations
| Summary | Operation | Permission |
|---|---|---|
| List projects | GET /api/v1/projects |
Anyone |
| Create a project | POST /api/v1/projects |
projects:write |
| Read a project | GET /api/v1/projects/{projectKey} |
Anyone |
| Replace a project's display name and description | PUT /api/v1/projects/{projectKey} |
projects:write, or Owner of the project; a recent sign-in |
| Delete an empty project | DELETE /api/v1/projects/{projectKey} |
projects:write; a recent sign-in |
| List the members of a project | GET /api/v1/projects/{projectKey}/members |
projects:read, or Reader of the project |
| Add a member to a project, or change its role | PUT /api/v1/projects/{projectKey}/members/{principalRef} |
projects:write, or Owner of the project; a recent sign-in |
| Remove a member from a project | DELETE /api/v1/projects/{projectKey}/members/{principalRef} |
projects:write, or Owner of the project; a recent sign-in |
| List the Bastions that allow a project | GET /api/v1/projects/{projectKey}/bastions |
repositories:read-config, or Owner of the project |
| Look up users, groups and service accounts to name in a project | GET /api/v1/projects/{projectKey}/principals |
identities:read, or Owner of the project |
ci
GitLab CI OIDC federation: trusted CI issuers and their signing keys, identity mappings, the dry run, the issued CI tokens, and the token exchange at POST /api/v1/auth/oidc/token.
27 operations
| Summary | Operation | Permission |
|---|---|---|
| List CI issuers | GET /api/v1/ci/issuers |
ci:read |
| Create a CI issuer | POST /api/v1/ci/issuers |
ci:write; a recent sign-in |
| Read a CI issuer | GET /api/v1/ci/issuers/{name} |
ci:read |
| Replace a CI issuer | PUT /api/v1/ci/issuers/{name} |
ci:write; a recent sign-in |
| Delete a CI issuer | DELETE /api/v1/ci/issuers/{name} |
ci:write; a recent sign-in |
| Read the cached key set of a CI issuer | GET /api/v1/ci/issuers/{name}/keys |
ci:read |
| Fetch the discovery document and keys of a CI issuer now | POST /api/v1/ci/issuers/{name}/keys/refresh |
ci:write |
| List the mappings of a CI issuer | GET /api/v1/ci/issuers/{issuer}/mappings |
ci:read |
| Create a mapping | POST /api/v1/ci/issuers/{issuer}/mappings |
ci:write; a recent sign-in |
| Read a mapping | GET /api/v1/ci/issuers/{issuer}/mappings/{name} |
ci:read |
| Replace a mapping | PUT /api/v1/ci/issuers/{issuer}/mappings/{name} |
ci:write; a recent sign-in |
| Delete a mapping | DELETE /api/v1/ci/issuers/{issuer}/mappings/{name} |
ci:write; a recent sign-in |
| Dry-run the mappings of a CI issuer against a claim set | POST /api/v1/ci/issuers/{issuer}/evaluate |
ci:read |
| Read a ready-to-paste CI snippet | GET /api/v1/ci/issuers/{issuer}/snippets/{kind} |
ci:read |
| List the issued CI tokens | GET /api/v1/ci/issuances |
tokens:read |
| Read one issuance record with its usage | GET /api/v1/ci/issuances/{tokenId} |
tokens:read |
| Revoke the unexpired CI tokens that match a filter | POST /api/v1/ci/issuances/revoke |
tokens:revoke |
| Exchange a CI ID token for a short-lived CI token | POST /api/v1/auth/oidc/token |
Anyone |
| List the CI issuers an Owner of a project can choose from | GET /api/v1/projects/{projectKey}/ci/issuers |
ci:read, or Owner of the project |
| List the CI mappings of a project | GET /api/v1/projects/{projectKey}/ci/mappings |
ci:read, or Owner of the project |
| Create a CI mapping of a project | POST /api/v1/projects/{projectKey}/ci/mappings |
ci:write, or Owner of the project; a recent sign-in |
| Read a CI mapping of a project | GET /api/v1/projects/{projectKey}/ci/mappings/{issuer}/{name} |
ci:read, or Owner of the project |
| Replace a CI mapping of a project | PUT /api/v1/projects/{projectKey}/ci/mappings/{issuer}/{name} |
ci:write, or Owner of the project; a recent sign-in |
| Delete a CI mapping of a project | DELETE /api/v1/projects/{projectKey}/ci/mappings/{issuer}/{name} |
ci:write, or Owner of the project; a recent sign-in |
| Dry-run the project's mappings against a claim set | POST /api/v1/projects/{projectKey}/ci/issuers/{issuer}/evaluate |
ci:read, or Owner of the project |
| Read a ready-to-paste CI snippet for a mapping of a project | GET /api/v1/projects/{projectKey}/ci/issuers/{issuer}/snippets/{kind} |
ci:read, or Owner of the project |
| List the CI tokens issued through a project's mappings | GET /api/v1/projects/{projectKey}/ci/issuances |
tokens:read, or Owner of the project |
repositories
Repository configuration (create, read, update, list, delete) and the format catalog.
24 operations
| Summary | Operation | Permission |
|---|---|---|
| List the package formats | GET /api/v1/formats |
Anyone |
| List repositories | GET /api/v1/repositories |
Anyone |
| Read the defaults of a new repository | GET /api/v1/projects/{projectKey}/repository-defaults |
repositories:write-config, or Owner of the project |
| List the repositories of a project | GET /api/v1/projects/{projectKey}/repositories |
Anyone |
| Create a repository | POST /api/v1/projects/{projectKey}/repositories |
repositories:write-config, or Owner of the project |
| Read a repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey} |
Anyone |
| Replace a repository configuration | PUT /api/v1/projects/{projectKey}/repositories/{repoKey} |
repositories:write-config, or Owner of the project |
| Update a repository configuration | PATCH /api/v1/projects/{projectKey}/repositories/{repoKey} |
repositories:write-config, or Owner of the project |
| Delete a repository | DELETE /api/v1/projects/{projectKey}/repositories/{repoKey} |
repositories:write-config, or Owner of the project; a recent sign-in |
| Move a repository to another project | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/move |
repositories:write-config, or Owner of the project; a recent sign-in |
| Issue the short-lived token of an upload from the screen | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/upload-tokens |
deploy on the repository |
| Client setup snippets of a repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/client-setup |
read on the repository |
| The guide of a repository for one client | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/guide |
read on the repository |
| The guide of a format for one class and client | GET /api/v1/formats/{format}/guide |
Anyone |
| Invalidate the cached metadata or misses of a remote or virtual repository | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/cache/invalidate |
manage on the repository |
| List the cache entries of a remote repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/cache/entries |
Signed in |
| Test the saved upstream of a remote repository | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/upstream-test |
repositories:write-config, or Owner of the project |
| Test an upstream configuration that is not saved | POST /api/v1/projects/{projectKey}/upstream-tests |
repositories:write-config, or Owner of the project |
| Read the namespace claims of a repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/claims |
read on the repository |
| Replace the manual namespace claims of a repository | PUT /api/v1/projects/{projectKey}/repositories/{repoKey}/claims |
manage on the repository |
| Explain how a virtual repository resolves a client path | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/resolution |
read on the repository |
| Read the status of a remote repository's mirror | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/mirror |
Signed in |
| Request a pass of a remote repository's mirror now | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/mirror/run |
Signed in |
| Rebuild the derived metadata of a repository | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/reindex |
manage on the repository |
deb
The Debian (APT) format's management operations - signing keys, coordinates of package files and the index state (T-17).
7 operations
| Summary | Operation | Permission |
|---|---|---|
| List the signing keys of a Debian repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/deb/signing-keys |
read on the repository |
| Create the next signing key of a Debian repository | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/deb/signing-keys |
manage on the repository |
| Make the next signing key the primary one | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/deb/signing-keys/promote |
manage on the repository |
| Retire the next signing key, or confirm the retirement of a withheld one | DELETE /api/v1/projects/{projectKey}/repositories/{repoKey}/deb/signing-keys/{fingerprint} |
manage on the repository |
| Return a withheld signing key to the repository | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/deb/signing-keys/{fingerprint}/reinstate |
manage on the repository |
| Replace the suites and components a package file is listed in | PUT /api/v1/projects/{projectKey}/repositories/{repoKey}/deb/coordinates |
Signed in |
| Read the state of the indexes of a Debian repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/deb/index |
read on the repository |
ansible
The Ansible Galaxy format's management operations - the token of the screens' publish, import tasks and tombstones (F0).
6 operations
| Summary | Operation | Permission |
|---|---|---|
| List the import tasks of an Ansible Galaxy repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/ansible/imports |
read on the repository |
| List the tombstones of an Ansible Galaxy repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/ansible/tombstones |
manage on the repository |
| Clear the tombstone of a deleted version | DELETE /api/v1/projects/{projectKey}/repositories/{repoKey}/ansible/tombstones/{collection}/{version} |
manage on the repository |
| Read one import task of an Ansible Galaxy repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/ansible/imports/{taskId} |
read on the repository |
| Add a detached signature to a version of a local Ansible Galaxy repository | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/ansible/collections/{collection}/versions/{version}/signatures |
deploy on the repository |
| Remove a signature of a version of a local Ansible Galaxy repository | DELETE /api/v1/projects/{projectKey}/repositories/{repoKey}/ansible/collections/{collection}/versions/{version}/signatures/{fingerprint} |
delete on the repository |
upstream
The well-known repositories of the built-in project upstream: one remote repository per upstream preset of the format catalog and the system repositories of the product's own work. An administrator switches each on and off, sets its level, overrides its address and stores an account; the repository document takes the settings that narrow what it serves.
14 operations
| Summary | Operation | Permission |
|---|---|---|
| Read the installation's registry presets | GET /api/v1/settings/registry-presets |
repositories:read-config |
| Replace the installation's registry presets | PUT /api/v1/settings/registry-presets |
repositories:write-config |
| List the well-known repositories of the project upstream | GET /api/v1/upstream-repositories |
repositories:read-config |
| Read one well-known repository | GET /api/v1/upstream-repositories/{key} |
repositories:read-config |
| Switch a well-known repository on or off | PUT /api/v1/upstream-repositories/{key}/state |
repositories:write-config |
| Switch on every well-known repository that is off | POST /api/v1/upstream-repositories/switch-on-all |
repositories:write-config |
| Set the level of a well-known repository | PUT /api/v1/upstream-repositories/{key}/visibility |
repositories:write-config |
| Switch ClamAV definition updates on or off | PUT /api/v1/upstream-repositories/{key}/clients |
repositories:write-config |
| Set the level of every well-known repository | POST /api/v1/upstream-repositories/set-visibility |
repositories:write-config |
| Override the address of a well-known repository | PUT /api/v1/upstream-repositories/{key}/address |
repositories:write-config; a recent sign-in |
| Reset the address of a well-known repository to the product's | DELETE /api/v1/upstream-repositories/{key}/address |
repositories:write-config; a recent sign-in |
| Store an account for a well-known repository | PUT /api/v1/upstream-repositories/{key}/account |
repositories:write-config; a recent sign-in |
| Remove the account of a well-known repository | DELETE /api/v1/upstream-repositories/{key}/account |
repositories:write-config; a recent sign-in |
| List the well-known repositories a virtual repository of a format can list | GET /api/v1/formats/{format}/upstream-repositories |
repositories:write-config, or Owner of a project |
remote-curation
The curation of a remote repository: its delivery rules, the upstream catalogue, the downloads ahead of a client with their queue, and the requests for an allow.
35 operations
| Summary | Operation | Permission |
|---|---|---|
| List the delivery rules of a remote repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/delivery-rules |
Signed in |
| Create or replace the delivery rule of a subject | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/delivery-rules |
Signed in |
| Ask which delivery rule decides a package or a version | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/delivery-rules/check |
Signed in |
| Turn the switch of a package or a version | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/delivery-rules/switch |
Signed in |
| What a change of the delivery mode affects | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/delivery-rules/summary |
Signed in |
| Allow every stored package the mode decides | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/delivery-rules/allow-stored |
Signed in |
| Remove a delivery rule | DELETE /api/v1/projects/{projectKey}/repositories/{repoKey}/delivery-rules/{ruleId} |
Signed in |
| List the requests for an allow of a remote repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/delivery-requests |
Signed in |
| Ask for an allow of a package or a version | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/delivery-requests |
Signed in |
| Allow a request | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/delivery-requests/{requestId}/allow |
Signed in |
| Decline a request with a reason | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/delivery-requests/{requestId}/decline |
Signed in |
| Withdraw from a request | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/delivery-requests/{requestId}/withdraw |
Signed in |
| Discard what a remote stores and does not deliver | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/examinations/discard |
Signed in |
| Preview a download ahead of a client | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/downloads/preview |
Signed in |
| List the download queue of a remote repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/downloads |
Signed in |
| Start a download ahead of a client | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/downloads |
Signed in |
| Retry every failed download that matches | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/downloads/retry |
Signed in |
| Read one row of the download queue | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/downloads/{downloadId} |
Signed in |
| Retry a failed or cancelled download | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/downloads/{downloadId}/retry |
Signed in |
| Cancel a download | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/downloads/{downloadId}/cancel |
Signed in |
| List the bulk downloads of a remote repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/download-bulks |
Signed in |
| Read a bulk download | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/download-bulks/{bulkId} |
Signed in |
| Cancel a bulk download | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/download-bulks/{bulkId}/cancel |
Signed in |
| List the downloads a remote repository keeps in sync | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/download-syncs |
Signed in |
| Keep a package or a sub-section of a remote repository in sync | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/download-syncs |
Signed in |
| Stop keeping a package or a sub-section in sync | DELETE /api/v1/projects/{projectKey}/repositories/{repoKey}/download-syncs/{syncId} |
Signed in |
| Run a sync now | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/download-syncs/{syncId}/run |
Signed in |
| Pause a sync | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/download-syncs/{syncId}/pause |
Signed in |
| Resume a sync | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/download-syncs/{syncId}/resume |
Signed in |
| The upstream catalogue's capabilities of a remote repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/upstream |
Signed in |
| Search the upstream of a remote repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/upstream/search |
Signed in |
| List a level of the upstream of a remote repository | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/upstream/levels |
Signed in |
| Look a package of the upstream up by its exact name | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/upstream/package |
Signed in |
| The README of a package of the upstream, read through | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/upstream/readme |
Signed in |
| The vulnerability verdicts of versions the repository has not stored | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/upstream/vulnerabilities |
Signed in |
items
Files and folders of a repository, their listing, statistics and deletion.
4 operations
| Summary | Operation | Permission |
|---|---|---|
| Describe a file or folder | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/items |
read on the repository |
| Delete a file or folder | DELETE /api/v1/projects/{projectKey}/repositories/{repoKey}/items |
delete on the repository |
| List the children of a folder | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/children |
read on the repository |
| Read the download statistics of a file | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/stats |
read on the repository |
files
Raw file transfer below /files/<projectKey>/<repoKey>/ (PUT, GET, HEAD, DELETE), without a format protocol, and the same transfer for the UI below /api/v1/projects/{projectKey}/repositories/{repoKey}/content/ (GET, HEAD, PUT), which the session cookie authenticates.
7 operations
| Summary | Operation | Permission |
|---|---|---|
| Download a file or list a folder | GET /files/{projectKey}/{repoKey}/{path} |
read on the repository |
| Read the headers of a file | HEAD /files/{projectKey}/{repoKey}/{path} |
read on the repository |
| Deploy a file or create a folder | PUT /files/{projectKey}/{repoKey}/{path} |
deploy on the repository |
| Delete a file or folder | DELETE /files/{projectKey}/{repoKey}/{path} |
delete on the repository |
| Download a file for the UI | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/content/{path} |
read on the repository |
| Read the headers of a file for the UI | HEAD /api/v1/projects/{projectKey}/repositories/{repoKey}/content/{path} |
read on the repository |
| Deploy a file or create a folder for the UI | PUT /api/v1/projects/{projectKey}/repositories/{repoKey}/content/{path} |
deploy on the repository |
endpoints
The configured endpoints and the exposure rules that decide what an endpoint with exposure: rules serves. Endpoints are configuration-file data and are read only here; exposure rules change at runtime and take effect on every replica within the bound of the grant index.
9 operations
| Summary | Operation | Permission |
|---|---|---|
| List the endpoints | GET /api/v1/endpoints |
endpoints:read |
| Read an endpoint | GET /api/v1/endpoints/{endpoint} |
endpoints:read |
| List the exposure rules of an endpoint | GET /api/v1/endpoints/{endpoint}/exposure-rules |
endpoints:read |
| Create an exposure rule | POST /api/v1/endpoints/{endpoint}/exposure-rules |
endpoints:write; a recent sign-in |
| Read an exposure rule | GET /api/v1/endpoints/{endpoint}/exposure-rules/{name} |
endpoints:read |
| Replace an exposure rule | PUT /api/v1/endpoints/{endpoint}/exposure-rules/{name} |
endpoints:write; a recent sign-in |
| Change an exposure rule with a merge patch | PATCH /api/v1/endpoints/{endpoint}/exposure-rules/{name} |
endpoints:write; a recent sign-in |
| Delete an exposure rule | DELETE /api/v1/endpoints/{endpoint}/exposure-rules/{name} |
endpoints:write; a recent sign-in |
| Check what an endpoint exposes | POST /api/v1/endpoints/{endpoint}/check-exposure |
endpoints:read |
packages
Packages across repositories, their versions, files and rendered READMEs; the client setup snippets of a repository are in the repositories tag.
16 operations
| Summary | Operation | Permission |
|---|---|---|
| List packages | GET /api/v1/packages |
Anyone |
| Who may publish into a namespace | GET /api/v1/packages/namespace |
Anyone |
| Resolve a package name | GET /api/v1/packages/lookup |
Anyone |
| Read a package | GET /api/v1/packages/{packageId} |
Anyone |
| List the packages that depend on a package | GET /api/v1/packages/{packageId}/dependents |
Anyone |
| List the versions of a package | GET /api/v1/packages/{packageId}/versions |
Anyone |
| Read a version of a package | GET /api/v1/packages/{packageId}/versions/{version} |
Anyone |
| Read the rendered README of a version | GET /api/v1/packages/{packageId}/versions/{version}/readme |
Anyone |
| Read the icon a version's package embeds | GET /api/v1/packages/{packageId}/versions/{version}/icon |
Anyone |
| Read the licence file a version's package embeds | GET /api/v1/packages/{packageId}/versions/{version}/license |
Anyone |
| Read what Quader read from a version's package file | GET /api/v1/packages/{packageId}/versions/{version}/contents |
Anyone |
| Read the documentation tree of a version | GET /api/v1/packages/{packageId}/versions/{version}/docs |
Anyone |
| Read the documentation page of one module, plugin or role | GET /api/v1/packages/{packageId}/versions/{version}/docs/entries/{type}/{name} |
Anyone |
| Read the README, a Markdown file or the changelog of the documentation of a version | GET /api/v1/packages/{packageId}/versions/{version}/docs/files/{file} |
Anyone |
| Deprecate a version or a package | PUT /api/v1/projects/{projectKey}/repositories/{repoKey}/packages/{packageName}/deprecation |
Signed in |
| Undo the deprecation of a version or a package | DELETE /api/v1/projects/{projectKey}/repositories/{repoKey}/packages/{packageName}/deprecation |
Signed in |
ownership
Package ownership: who may change a package name in a local repository whose packageOwnership is enforce. The first publish claims a name for the owners its grant designates; these operations read the owners, add and remove them, pre-assign a name nobody has published, and list the names an identity owns.
4 operations
| Summary | Operation | Permission |
|---|---|---|
| Read the owners of a package name | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/packages/{packageName}/owners |
read on the repository |
| Add an owner, or pre-assign a name nobody has published | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/packages/{packageName}/owners |
Signed in; a recent sign-in |
| Remove an owner, or release the name with its last owner | DELETE /api/v1/projects/{projectKey}/repositories/{repoKey}/packages/{packageName}/owners/{owner} |
Signed in; a recent sign-in |
| List the names an identity owns | GET /api/v1/package-owners |
Signed in |
bastions
Registrations of Bastions on the main installation and their tokens: the principal of the kind bastion, its bst tokens and the last contact of each replica.
11 operations
| Summary | Operation | Permission |
|---|---|---|
| List the Bastion registrations | GET /api/v1/bastions |
endpoints:read |
| Register a Bastion | POST /api/v1/bastions |
endpoints:write |
| List the presets of a Bastion's limits | GET /api/v1/bastions/presets |
limits:read |
| Read a Bastion registration | GET /api/v1/bastions/{name} |
Signed in |
| Change, disable or configure a Bastion registration | PATCH /api/v1/bastions/{name} |
Signed in |
| Delete a Bastion registration | DELETE /api/v1/bastions/{name} |
endpoints:write |
| Issue a Bastion token | POST /api/v1/bastions/{name}/tokens |
endpoints:write; a recent sign-in |
| Revoke a Bastion token | DELETE /api/v1/bastions/{name}/tokens/{id} |
Signed in |
| List the projects a Bastion allows | GET /api/v1/bastions/{name}/projects |
endpoints:read |
| Allow a project for a Bastion | PUT /api/v1/bastions/{name}/projects/{projectKey} |
endpoints:write |
| Take a project off a Bastion's list | DELETE /api/v1/bastions/{name}/projects/{projectKey} |
endpoints:write |
bastion
The Bastion interface of the main installation: handshake, credential and read check, revocation feed and download intake. The operations are called by a Bastion with its token, carry the interface version in x-quader-bastion-interface and are not part of the management API's v1 promise but of the interface version.
8 operations
| Summary | Operation | Permission |
|---|---|---|
| Bastion handshake | GET /api/v1/bastion/handshake |
Bastion |
| Check a caller's credential and read shape | POST /api/v1/bastion/check |
Bastion |
| The revocation feed | GET /api/v1/bastion/feed |
Bastion |
| Report downloads served from a Bastion's cache | POST /api/v1/bastion/downloads |
Bastion |
| The change list of a Bastion's public catalogue | GET /api/v1/bastion/catalogue |
Bastion |
| One document of a Bastion's public catalogue | GET /api/v1/bastion/catalogue/document |
Bastion |
| Several documents of a Bastion's public catalogue | POST /api/v1/bastion/catalogue/documents |
Bastion |
| The public set of a Bastion's catalogue | GET /api/v1/bastion/catalogue/public |
Bastion |
vulnerabilities
Vulnerability scanning: the findings and their triage, the advisories, the summary and the trend, the advisory sources, the claimed-name matches, the vulnerabilities of a package version and the rescan of a repository.
15 operations
| Summary | Operation | Permission |
|---|---|---|
| List vulnerability findings | GET /api/v1/vulnerabilities/findings |
Signed in |
| Export the findings of a filter as CSV | GET /api/v1/vulnerabilities/findings/export |
Signed in |
| Change the status of several findings | POST /api/v1/vulnerabilities/findings/set-status |
vulnerabilities:triage |
| Read one finding | GET /api/v1/vulnerabilities/findings/{id} |
Signed in |
| Triage one finding | PATCH /api/v1/vulnerabilities/findings/{id} |
vulnerabilities:triage |
| Read an advisory with its readable findings | GET /api/v1/vulnerabilities/advisories/{ecosystem}/{id} |
Anyone |
| Counts of the open findings | GET /api/v1/vulnerabilities/summary |
Signed in |
| Open findings per day | GET /api/v1/vulnerabilities/trend |
Signed in |
| The advisory sources and their state | GET /api/v1/vulnerabilities/sources |
settings:read |
| Today's vulnerability database of the image scanning | GET /api/v1/vulnerabilities/database |
Anyone |
| What the image scanning does now | GET /api/v1/vulnerabilities/image-scans |
settings:read |
| Public advisories that name an internal name | GET /api/v1/vulnerabilities/claimed-name-matches |
repositories:read-config |
| The vulnerabilities of one version, per repository | GET /api/v1/packages/{packageId}/versions/{version}/vulnerabilities |
Anyone |
| The open findings of a package, per version | GET /api/v1/packages/{packageId}/vulnerabilities |
Anyone |
| Evaluate every stored version of a repository again | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/vulnerabilities/rescan |
manage on the repository |
malware
Malware scanning: the installation's switch Only checked artifacts can be downloaded, the state of the scanning, the finds of the security dashboard, the verdict of a blob, the release of a blob and the rescan.
11 operations
| Summary | Operation | Permission |
|---|---|---|
| Whether the scanning is on and only checked artifacts can be downloaded | GET /api/v1/malware/switch |
Signed in |
| Today's signatures of the malware scan | GET /api/v1/malware/signatures |
Anyone |
| Read the switch and the state of the malware scanning | GET /api/v1/malware/settings |
settings:read |
| Switch Only checked artifacts can be downloaded on or off, and set the rescans | PATCH /api/v1/malware/settings |
settings:write |
| Read what the scan controller sees | GET /api/v1/malware/controller |
settings:read |
| Read how current the malware checks are | GET /api/v1/malware/coverage |
content:metadata-read |
| List the blobs the malware scan found or could not check | GET /api/v1/malware/finds |
Signed in |
| The verdict of one blob | GET /api/v1/malware/blobs/{sha256} |
Anyone |
| Release a blob the malware scan refuses | POST /api/v1/malware/releases |
vulnerabilities:triage |
| Withdraw the release of a blob | DELETE /api/v1/malware/releases/{sha256} |
vulnerabilities:triage |
| Scan every verdict again | POST /api/v1/malware/rescan |
settings:write |
download-links
Delivery by signed links of the object store: the installation's switch and its details, each connection's state for links, the test link of a public address, and the switch's facts for a repository's settings.
4 operations
| Summary | Operation | Permission |
|---|---|---|
| Read the switch of the signed links, its details and each connection's state | GET /api/v1/download-links/settings |
settings:read |
| Change the switch of the signed links or its details | PATCH /api/v1/download-links/settings |
settings:write |
| Make a test link to a probe, signed against a public address as typed | POST /api/v1/download-links/test |
settings:write |
| Whether the signed links are on, and the formats they can reach | GET /api/v1/download-links/switch |
Signed in |
signatures
Signatures on artifacts: the signatures, attestations and origin of a version and of a stored file, the download of a signature's original, the trust anchors of the installation and of the projects, the switch for project anchors, the blocked signers and the security dashboard's view of invalid and blocked signatures; the gate per repository: the preview before it is switched on, the impact of a change of anchors, the releases of a repository's gate and the refused downloads.
34 operations
| Summary | Operation | Permission |
|---|---|---|
| The signatures of one version, per repository | GET /api/v1/packages/{packageId}/versions/{version}/signatures |
Anyone |
| The signatures of one stored file | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/signatures |
read on the repository |
| Download the original of a signature | GET /api/v1/signatures/objects/{sha256} |
Anyone |
| Read the switch for project trust anchors and the state of the signatures | GET /api/v1/signatures/settings |
settings:read |
| Allow or forbid project trust anchors | PATCH /api/v1/signatures/settings |
security-settings:write; a recent sign-in |
| List the trust anchors | GET /api/v1/signatures/anchors |
settings:read |
| Add a trust anchor of the installation | POST /api/v1/signatures/anchors |
security-settings:write |
| Read one trust anchor | GET /api/v1/signatures/anchors/{id} |
settings:read |
| Change or switch a trust anchor | PATCH /api/v1/signatures/anchors/{id} |
security-settings:write |
| Remove a trust anchor | DELETE /api/v1/signatures/anchors/{id} |
security-settings:write |
| List the trust anchors of a project | GET /api/v1/projects/{projectKey}/signatures/anchors |
settings:read, or Reader of the project |
| Add a trust anchor of a project | POST /api/v1/projects/{projectKey}/signatures/anchors |
security-settings:write, or Owner of the project |
| Change or switch a trust anchor of a project | PATCH /api/v1/projects/{projectKey}/signatures/anchors/{id} |
security-settings:write, or Owner of the project |
| Remove a trust anchor of a project | DELETE /api/v1/projects/{projectKey}/signatures/anchors/{id} |
security-settings:write, or Owner of the project |
| List the blocked signers | GET /api/v1/signatures/blocks |
settings:read |
| Block a signer | POST /api/v1/signatures/blocks |
security-settings:write |
| Lift a block | DELETE /api/v1/signatures/blocks/{id} |
security-settings:write |
| List invalid signatures and the signatures of blocked signers | GET /api/v1/signatures/findings |
Signed in |
| What the repository's signature gate would refuse | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/signatures/preview |
repositories:read-config, or Owner of the project |
| The releases of the repository's signature gate | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/signatures/releases |
Signed in |
| Release an artifact the repository's signature gate does not pass | POST /api/v1/projects/{projectKey}/repositories/{repoKey}/signatures/releases |
vulnerabilities:triage |
| Withdraw a release of the repository's signature gate | DELETE /api/v1/projects/{projectKey}/repositories/{repoKey}/signatures/releases/{sha256} |
vulnerabilities:triage |
| List the downloads the repositories' signature gates refused | GET /api/v1/signatures/refusals |
Signed in |
| Count what a change of anchors, blocks or the switch makes the signature gates refuse | POST /api/v1/signatures/impact |
security-settings:write, or Owner of a project |
| Read Quader's signing identity | GET /api/v1/signing/identity |
settings:read |
| Remove the current uploaded signing identity | DELETE /api/v1/signing/identity |
security-settings:write; a recent sign-in |
| Create a signing key and its certificate request | POST /api/v1/signing/identity/key |
security-settings:write; a recent sign-in |
| Upload the certificate the CA issued for the pending key | PUT /api/v1/signing/identity/certificate |
security-settings:write; a recent sign-in |
| Import a signing key and its certificate | POST /api/v1/signing/identity/import |
security-settings:write; a recent sign-in |
| Discard the pending signing key | DELETE /api/v1/signing/identity/pending |
security-settings:write; a recent sign-in |
| Retire a previous signing identity | POST /api/v1/signing/identities/{id}/retire |
security-settings:write; a recent sign-in |
| The trusted root of Quader's signatures | GET /api/v1/signing/trusted-root.json |
Anyone |
| The certificate chain of the current signing identity | GET /api/v1/signing/chain.pem |
Anyone |
| Quader's receipt attestation of one stored file | GET /api/v1/projects/{projectKey}/repositories/{repoKey}/attestation |
read on the repository |
search
The suggestions of the UI's search field: the best matches of a text per kind, among what the caller may read. The results page of the field reads the lists of repositories, packages and projects with q.
2 operations
| Summary | Operation | Permission |
|---|---|---|
| Suggest repositories, packages, projects, users, groups and service accounts for a text | GET /api/v1/search/suggestions |
Anyone |
| Find modules, plugins and roles across collections | GET /api/v1/search/documentation |
Anyone |
This page is generated from api/openapi.yaml by go generate ./internal/manual; change the source, not the page.