列出授权用户所有的 Namespace
GET/api/v5/user/namespaces
Request
Query Parameters
access_token stringrequired
用户授权码
mode string
参与方式: project(所有参与仓库的namepsce)、intrant(所加入的namespace)、all(包含前两者),默认(intrant)
page integer
当前页码
perPage integer
每页的项目数
Responses
- 200
Response Headers
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
idintegerrequired
pathnamespace path (string)required
namenamespace 名称 (string)required
html_urlnamespace 访问地址 (string)required
typenamespace类型, user: 用户;group: 组织 (string)required
[
{
"id": 0,
"path": "string",
"name": "string",
"html_url": "string",
"type": "string"
}
]