Assets

获取仓库 asset 记录列表。Get repository asset records.

分页查询指定仓库中所有资源附件的上传记录。 Paginate the upload records of all resource attachments in the specified repository. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-manage:r

get/{slug}/-/list-assets

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}/-/list-assets
  • Auth: API key in header Authorization

Path parameters

slugstring required

资源路径。Resource slug.

Query parameters

pageinteger

第几页,从1开始。Page number, starting from 1.

page_sizeinteger

每页多少条数据。Number of items per page.

Response

OK

Changes

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