CLI Command Reference
trashcan
| API Name | Command | Description | Operation |
|---|---|---|---|
| Restore components in the recycle bin in batches | hcloud CodeArtsArtifact BatchRestoreRepo | Restore components in the recycle bin in batches | |
| Delete components in the recycle bin in batches | hcloud CodeArtsArtifact BatchDeleteTrashes | Delete components in the recycle bin in batches |
repository_management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Create a Maven repository | hcloud CodeArtsArtifact CreateMavenRepo | Create a Maven repository | |
| Edit a repository | hcloud CodeArtsArtifact ModifyRepository | Edit a repository | |
| View repository information | hcloud CodeArtsArtifact ShowRepositoryInfo | View repository information | |
| Create a Docker repository | hcloud CodeArtsArtifact CreateDockerRepositories | Create a Docker repository | |
| Move a repository to the recycle bin | hcloud CodeArtsArtifact DeleteRepository | Move a repository to the recycle bin | |
| Query the Maven repository list and account password of a tenant. Cross-tenant Maven repository list and account password are supported | hcloud CodeArtsArtifact ShowMavenInfo | Query the Maven repository list and account password of a tenant. Cross-tenant Maven repository list and account password are supported | |
| Create a non-Maven repository | hcloud CodeArtsArtifact CreateArtifactory | Create a non-Maven repository | |
| Edit non-Maven repository information | hcloud CodeArtsArtifact UpdateArtifactory | Edit non-Maven repository information |
repository_association
| API Name | Command | Description | Operation |
|---|---|---|---|
| Query repositories associated with projects | hcloud CodeArtsArtifact ShowProjectList | Query repositories associated with projects | |
| Associate a project with a repository | hcloud CodeArtsArtifact CreateProjectRelatedRepository | Associate a project with a repository |
repository_capacity
| API Name | Command | Description | Operation |
|---|---|---|---|
| Query repository usage | hcloud CodeArtsArtifact ShowStorage | Query repository usage |
Searching
| API Name | Command | Description | Operation |
|---|---|---|---|
| Search for files using checksum | hcloud CodeArtsArtifact SearchByChecksum | Search for files using checksum | |
| Coordinated search | hcloud CodeArtsArtifact SearchArtifacts | Coordinated search | |
| Querying the Network Proxy List | hcloud CodeArtsArtifact ListNetProxy | Query the network proxy list. |
user_management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Reset a user password | hcloud CodeArtsArtifact ResetUserPassword | Reset a user password |
repository_details
| API Name | Command | Description | Operation |
|---|---|---|---|
| Skip the number of artifacts in the repository when querying repository details | hcloud CodeArtsArtifact ListAllRepositories | Skip the number of artifacts in the repository when querying repository details | |
| Collect the number of artifacts in the repository when querying details about a repository | hcloud CodeArtsArtifact ShowRepository | Collect the number of artifacts in the repository when querying details about a repository | |
| Query storage capacity trend | hcloud CodeArtsArtifact ListArtifactoryStorageStatistic | Query storage capacity trend |
audit_logs
| API Name | Command | Description | Operation |
|---|---|---|---|
| Query audit logs about a repository or file | hcloud CodeArtsArtifact ShowAudit | Query audit logs about a repository or file |
Following
file_management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Query the repository folder directory | hcloud CodeArtsArtifact ShowFileTree | Query the repository folder directory | |
| Query repository file details | hcloud CodeArtsArtifact ListArtifactoryComponent | Query repository file details | |
| Non-Maven file deletion | hcloud CodeArtsArtifact DeleteArtifactFile | Non-Maven file deletion |
Viewing Permissions
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Permissions of a User for a Project | hcloud CodeArtsArtifact ShowUserPrivileges | This API is used to query permissions of a user for a project. |
File Management (Release Repos)
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying the File or Project List | hcloud CodeArtsArtifact ListFiles | Query the file or project list. | |
| Querying Details about a File | hcloud CodeArtsArtifact ShowFileDetail | Query details about a file. | |
| Querying Details about a File | hcloud CodeArtsArtifact ShowFileDetailByFullName | Query details about a file. |
Permissions Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying User Permissions | hcloud CodeArtsArtifact ListUserPrivileges | This API is used to query the roles and permissions of a user in a project, such as creating and editing a repository, uploading, downloading, importing, and exporting packages. |
Repository Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Maven Repositories | hcloud CodeArtsArtifact ListMavenList | Query Maven repositories. | |
| Obtaining Proxy Repositories in a Virtual Repository | hcloud CodeArtsArtifact ListChildProxyRepositoriesList | Obtain proxy repositories in a virtual repository. | |
| Querying Project List | hcloud CodeArtsArtifact ShowProjectRelatedRepository | This API is used to quickly query the project list, including the association between repositories and projects, for repository management and collaboration. |
Version Management (Release Repos)
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying the Latest Versions of All Files in a Project | hcloud CodeArtsArtifact ShowLatestVersionFilesCount | Query the latest versions of all files in a project. | |
| Querying the Latest Versions of All Files in a Project | hcloud CodeArtsArtifact ListLatestVersionFiles | Query the latest versions of all files in a project. | |
| Querying the Release Repo Version List | hcloud CodeArtsArtifact ShowVersionList | When there are many release repo versions, you can query the versions of the release repo by project ID on different pages. This API is used for fuzzy search by version name. | |
| Querying Versions of a Project | hcloud CodeArtsArtifact ShowProjectVersionsCount | When there are many versions in release repos, you can query the number of versions in release repos by project ID to manage and track the release of different versions. You can also use this API to filter versions by version name. |
file_query
| API Name | Command | Description | Operation |
|---|---|---|---|
| Get a list of file version information under the project | hcloud CodeArtsArtifact ShowReleaseProjectFiles | Get a list of file version information under the project | |
| Get a list of file version information under the project | hcloud CodeArtsArtifact ShowProjectReleaseFiles | Get a list of file version information under the project |
User Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Users in a Project | hcloud CodeArtsArtifact ListProjectUsers | Query users in a project. | |
| Querying the Tenant IP Address Whitelist | hcloud CodeArtsArtifact ListDomainIpConfig | Query the tenant IP address whitelist. | |
| Querying Repository Permissions | hcloud CodeArtsArtifact ShowRepositoryRolesPrivilege | Query repository permissions. | |
| Querying the Password of a Tenant's Repository | hcloud CodeArtsArtifact ShowRepoUserInfo | Query the password of a tenant's repository. | |
| Updating Repository Permissions | hcloud CodeArtsArtifact UpdateRepoRolesPrivilege | Update repository permissions. | |
| Querying the User List of Self-Hosted Repos | hcloud CodeArtsArtifact ListMavenUser | Query the user list of self-hosted repos. |
Artifact Security
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying the Artifact Security Scanning Tasks | hcloud CodeArtsArtifact ListSecGuardList | Query the artifact security scanning tasks. |
Central Repository
| API Name | Command | Description | Operation |
|---|---|---|---|
| Check whether the central repository is enabled or not. | hcloud CodeArtsArtifact ShowOpenSourceEnabled | Check whether the central repository is enabled or not. |
Permission Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying User Tickets | hcloud CodeArtsArtifact ShowUserTicket | Query user tickets. |
Permission Management (Release Repos)
| API Name | Command | Description | Operation |
|---|---|---|---|
| Viewing Role Permissions of a Project | hcloud CodeArtsArtifact ListProjectRolePermissions | View role permissions of a project. | |
| Querying Permissions of a Multi-Role User | hcloud CodeArtsArtifact ShowMultiRolesUserPermissions | Query permissions of a multi-role user. |
Release Repos Settings
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Tenant Capacity Notification Settings | hcloud CodeArtsArtifact ListCapacityMessageSetting | Query tenant capacity notification settings. |
Repository Capacity (Release Repos)
| API Name | Command | Description | Operation |
|---|---|---|---|
| Tenant Storage Capacity (Release Repos) | hcloud CodeArtsArtifact ShowDomainReleaseRepoStorage | Tenant storage capacity (Release Repos) | |
| Querying the Storage Capacity in a Project | hcloud CodeArtsArtifact ShowProjectStorageInfo | Query the storage capacity in a project. |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot