GET
/licenses/{license}Get a license
Retrieves detailed information about a specific license. Supply the license identifier in license to obtain its name, SPDX identifier, terms, permissions, conditions, limitations, and license text.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
licensestringrequired
The identifier of the license to retrieve.
200Returns a license object containing its identifier, name, URLs, description, implementation, permissions, conditions, limitations, featured status, and full license text.
keystringrequired
namestringrequired
spdx_idstringrequired
urlstringrequired
node_idstringrequired
html_urlstringrequired
descriptionstringrequired
implementationstringrequired
permissionsarray<string>required
conditionsarray<string>required
limitationsarray<string>required
bodystringrequired
featuredbooleanrequired
304Returns no updated representation when the requested resource 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 no license exists for the supplied license identifier.