Skip to content

Retrieve a license template

GET
/api/v4/templates/licenses/{name}

Retrieves a specified license template. You can pass parameters to replace the license placeholder.

name
required
string

The name of the license template

project
string
nullable

The copyrighted project name

fullname
string
nullable

The full-name of the copyright holder

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

Not Found