Registries

查询制品列表。 List all packages.

分页查询指定制品仓库下的所有制品镜像列表,支持按类型、名称筛选和排序。 Paginate all packages in the specified registry. Supports filtering by type and name, and sorting. 访问令牌调用此接口需包含以下权限。Required permissions for access token. registry-package:r

get/{slug}/-/packages

Request

  • Base URL: https://api.cnb.cool (the document declares no server; this is the origin it was published from)
  • URL: https://api.cnb.cool/{slug}/-/packages
  • Auth: API key in header Authorization

Path parameters

slugstring required

资源路径。Slug.

Query parameters

type'all' | 'docker' | 'helm' | 'dockermodel' | 'maven' | 'npm' | 'ohpm' | 'pypi' | 'nuget' | 'composer' | 'conan' | 'cargo' required

制品类型。Type.

pageinteger

页码。Pagination page number.

page_sizeinteger

页数。Pagination page size.

ordering'pull_count' | 'last_push_at' | 'name_ascend' | 'name_descend'

顺序类型。Ordering type.

namestring

关键字。Key word to search package name.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.