Gets starred project for the authenticated user
GET
/v3/projects/starredGets starred project for the authenticated user
请求参数
Query 参数
order_by
enum<string>
可选
Return projects ordered by field
枚举值:
idnamepathcreated_atupdated_atlast_activity_at
默认值:
created_at
sort
enum<string>
可选
Return projects sorted in ascending and descending order
枚举值:
ascdesc
默认值:
desc
archived
boolean
可选
Limit by archived status
visibility
enum<string>
可选
Limit by visibility
枚举值:
publicinternalprivate
search
string
可选
Return list of authorized projects matching the search criteria
page
integer <int32>
可选
Current page number
per_page
integer <int32>
可选
Number of items per page
simple
boolean
可选
Return only the ID, URL, name, and path of each project
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Gets starred project for the authenticated user
数据结构
Get all projects for admin user
id
string
可选
http_url_to_repo
string
可选
web_url
string
可选
name
string
可选
name_with_namespace
string
可选
path
string
可选
path_with_namespace
string
可选
示例
{
"id": "string",
"http_url_to_repo": "string",
"web_url": "string",
"name": "string",
"name_with_namespace": "string",
"path": "string",
"path_with_namespace": "string"
}
最后修改时间: 1 个月前