Retrieve a license template
GET
/api/v4/templates/licenses/{name}
Retrieves a specified license template. You can pass parameters to replace the license placeholder.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” name
required
string
The name of the license template
Query Parameters
Section titled “ Query Parameters ” project
string
The copyrighted project name
fullname
string
The full-name of the copyright holder
Responses
Section titled “ Responses ”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