GET/licenses/{license}

Get a license

Retrieves information about a specific license. Use license to identify the license whose details you need, including its permissions, conditions, limitations, and license text.

1 parameter
licensestringrequired
The identifier of the license to retrieve.

4 status codes
200Returns a license object with its name, identifier, description, implementation, permissions, conditions, limitations, and license text.
keystringrequired
namestringrequired
spdx_idstringrequired
urlstringrequired
node_idstringrequired
html_urlstringrequired
descriptionstringrequired
implementationstringrequired
permissionsarray<string>required
conditionsarray<string>required
limitationsarray<string>required
bodystringrequired
featuredbooleanrequired
304Returned when the response has not changed.
403Returned when access to the requested license is forbidden.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
404Returned when the requested license cannot be found.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 403 is returned when access to the requested license is forbidden. A 404 is returned when the license identified by the license path parameter cannot be found.