Users

查询用户资源列表。List user resources.

查询当前用户拥有指定权限的所有资源列表。 List all resources that the current user has specified permissions for. 访问令牌调用此接口需包含以下权限。Required permissions for access token. account-engage:r

get/user/autocomplete_source

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/user/autocomplete_source
  • Auth: API key in header Authorization

Query parameters

source_type'Group' | 'Repo' | 'RootGroup'

来源类型。Source type.

pageinteger

分页页码。Pagination page number.

page_sizeinteger

分页页大小。Pagination page size.

searchstring

按资源筛选。Filter by resources.

access'Guest' | 'Reporter' | 'Developer' | 'Master' | 'Owner'

最小仓库权限,默认owner。Minima repository permissions

order_by'created_at' | 'slug_path'

排序字段。Order field.

descboolean

排序顺序。Ordering.

Response

OK

Changes

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