Registries
查询我的制品仓库。List my registries.
查询用户在指定组织下有权限查看的所有制品库。 Query all registries that the user has permission to see under specific organization. 访问令牌调用此接口需包含以下权限。Required permissions for access token. group-resource:r
get/{slug}/-/registries
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}/-/registries
- Auth: API key in header Authorization
Path parameters
slugstring required
组织 slug。Organization slug.
Query parameters
pageinteger
页码。Page number.
page_sizeinteger
每页数量。Number of items per page.
registry_type'npm' | 'maven' | 'ohpm'
制品仓库类型。Registry type.
filter_type'private' | 'public'
制品仓库可见性类型。Registry visibility type.
order_by'created_at' | 'name'
排序类型,默认created_at。Sort order, default created_at.
descboolean
排序顺序。Sort order.
descendant'all' | 'sub' | 'grand'
查询范围。Query scope: all/current org/sub-org registries.
searchstring
搜索关键字。Search keyword.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.