Skip to content

List all license templates

GET
/api/v4/templates/licenses

Lists all available license templates.

popular
boolean
nullable

If passed, returns only popular licenses

page
integer
default: 1 nullable

Current page number

Example
1
per_page
integer
default: 20 nullable

Number of items per page

Example
20

OK

Media type application/json
object
key
string
name
string
nickname
string
html_url
string
source_url
string
popular
boolean
description
string
conditions
Array<string>
permissions
Array<string>
limitations
Array<string>
content
string
Example
{
"key": "gpl-3.0",
"name": "GNU General Public License v3.0",
"nickname": "GNU GPLv3",
"html_url": "http://choosealicense.com/licenses/gpl-3.0",
"description": "A simple license",
"conditions": [
"include-copyright"
],
"permissions": [
"commercial-use"
],
"limitations": [
"liability"
],
"content": "GNU GENERAL PUBLIC LICENSE"
}

Bad Request