Workspace
获取我的云原生开发环境列表。List my workspaces.
分页查询当前用户的所有云原生开发环境。 Paginate all cloud-native development environments of the current user. 访问令牌调用此接口需包含以下权限。Required permissions for access token. account-engage:r
get/workspace/list
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/workspace/list
- Auth: API key in header Authorization
Query parameters
branchstring
Git分支名,例如 "main"。Git branch name, e.g. "main"
endstring
查询结束时间。Query end time. format YYYY-MM-DD HH:mm:ssZZ, e.g. 2024-12-01 00:00:00+0800
pageinteger
分页页码,默认1。Pagination page number, default(1)
page_sizeinteger
分页页大小,默认20,最大100。Pagination page size, default(20), max(100)
slugstring
仓库路径,例如 "groupname/reponame"。Repository path, e.g. "groupname/reponame"
startstring
查询开始时间。Query start time. format YYYY-MM-DD HH:mm:ssZZ, e.g. 2024-12-01 00:00:00+0800
statusstring
开发环境状态,running: 开发环境已启动,closed:开发环境已关闭。Workspace status: "running" for started, "closed" for stopped.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.