curl --request GET \
--url https://api.example.com/organization/{organizationId}/licenses/classifications{
"success": true,
"data": {
"licenses": [
{
"spdxId": "MIT",
"name": "MIT License",
"defaultCategory": "PERMISSIVE",
"currentCategory": "PERMISSIVE",
"isOverridden": false
},
{
"spdxId": "BUSL-1.1",
"name": "Business Source License 1.1",
"defaultCategory": "WEAK_COPYLEFT",
"currentCategory": "STRONG_COPYLEFT",
"isOverridden": true
}
]
}
}
Get all license classifications for an organization, including defaults and overrides
curl --request GET \
--url https://api.example.com/organization/{organizationId}/licenses/classifications{
"success": true,
"data": {
"licenses": [
{
"spdxId": "MIT",
"name": "MIT License",
"defaultCategory": "PERMISSIVE",
"currentCategory": "PERMISSIVE",
"isOverridden": false
},
{
"spdxId": "BUSL-1.1",
"name": "Business Source License 1.1",
"defaultCategory": "WEAK_COPYLEFT",
"currentCategory": "STRONG_COPYLEFT",
"isOverridden": true
}
]
}
}
read permission on the organization.
Show Classifications Object
Show License Classification
PERMISSIVE, WEAK_COPYLEFT, STRONG_COPYLEFT, or UNKNOWN{
"success": true,
"data": {
"licenses": [
{
"spdxId": "MIT",
"name": "MIT License",
"defaultCategory": "PERMISSIVE",
"currentCategory": "PERMISSIVE",
"isOverridden": false
},
{
"spdxId": "BUSL-1.1",
"name": "Business Source License 1.1",
"defaultCategory": "WEAK_COPYLEFT",
"currentCategory": "STRONG_COPYLEFT",
"isOverridden": true
}
]
}
}