Get the list of the available license template
GET
/v3/licensesThis feature was introduced in GitLab 8.7. This endpoint is deprecated and will be removed in GitLab 9.0.
请求参数
Query 参数
popular
boolean
可选
If passed, returns only popular licenses
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Get the list of the available license template
数据结构
This feature was introduced in GitLab 8.7.
key
string
可选
name
string
可选
nickname
string
可选
popular
string
可选
html_url
string
可选
source_url
string
可选
description
string
可选
conditions
string
可选
permissions
string
可选
limitations
string
可选
content
string
可选
示例
{
"key": "string",
"name": "string",
"nickname": "string",
"popular": "string",
"html_url": "string",
"source_url": "string",
"description": "string",
"conditions": "string",
"permissions": "string",
"limitations": "string",
"content": "string"
}
最后修改时间: 1 个月前