Users

查询用户 GPG 密钥列表。List user GPG keys.

分页查询当前认证用户的 GPG 公钥列表。通过关键词搜索密钥,返回每个密钥的 ID、指纹、邮箱等信息。 Paginate the current authenticated user's GPG public key list. Supports keyword search. Returns the ID, fingerprint, email, and other information for each key. 访问令牌调用此接口需包含以下权限。Required permissions for access token. account-profile:r

get/user/gpg-keys

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

Query parameters

pageinteger

分页页码。Pagination page number.

page_sizeinteger

分页页大小。Pagination page size.

keywordstring

GPG 搜索关键字。GPG search key.

Response

Created

Changes

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