List all license templates
GET
/api/v4/templates/licenses
Lists all available license templates.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”popular
boolean
If passed, returns only popular licenses
page
integer
Current page number
Example
1per_page
integer
Number of items per page
Example
20Responses
Section titled “Responses”OK
Media typeapplication/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