How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

FOSSology License API

License and obligation management

FOSSology License API is one of 15 APIs that FOSSology publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 3 JSON Schema definitions.

Tagged areas include License. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 3 JSON Schemas.

This API exposes 22 operations across 18 paths, and defines 10 schemas. It is described by OpenAPI 3.1.0, at version 1.6.2.

Requests are made against 2 base URLs: http://localhost/repo/api/v1, http://localhost/repo/api/v2.

22 operations 18 paths 10 schemas 1 DELETE10 GET1 PATCH6 POST4 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.6.2
Base URL
http://localhost/repo/api/v1
Authentication
HTTP Bearer, OAuth 2.0
Resource Areas
1

Authentication & Security 2

FOSSology License API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). It supports OAuth 2.0 (oauth) using the clientCredentials flow. By default, every request must be authenticated.

  • bearerAuth — Token from FOSSology
  • oauth — Machine-2-Machine communication from oauth

Paths & Operations 22

Across 18 paths, the API surfaces 22 operations — 1 DELETE, 10 GET, 1 PATCH, 6 POST, 4 PUT. Each is listed below with its method, path, parameters, and response codes.

License 22

License and obligation management

POST
/obligations/import-csv
Import an obligation csv file
importObligationCsv body → 400200default
GET
/obligations/export-csv
Export a csv obligation list
exportLicenseObligations 1 param → 200403default
POST
/obligations/import-json
Import an obligation json file
importObligationsFromJSON body → 400200default
GET
/obligations/export-json
Export a json obligation list
exportObligationsToJSON 1 param → 200403default
GET
/uploads/{id}/item/{itemId}/view
Get the contents of the file
viewTheContentOfTheFile 2 params → 200404500default
GET
/license
Get all license from the database
getLicenses 5 params → 200default
POST
/license
Create a new license
createLicense 1 param body → 201409default
POST
/license/import-csv
Import a csv license
importLicense body → 400200default
GET
/license/export-csv
Export a csv license
exportLicense 1 param → 200403default
POST
/license/import-json
Import a json license
handleImportLicense body → 400200default
GET
/license/export-json
Export a json license
exportAdminLicenseToJSON 1 param → 200403default
GET
/license/{shortname}
Get a specific license
getLicenseByShortname 2 params → 200404default
PATCH
/license/{shortname}
Update a license
updateLicenseByShortname 2 params body → 200default
GET
/license/admincandidates
Get license Candidates for admin view
getAdminLicenseCandidates → 200500default
DELETE
/license/admincandidates/{id}
Delete license candidate by id.
deleteByLicenseCandidateId 1 param → 202403500default
GET
/license/adminacknowledgements
Get all admin license acknowledgements
getAdminLicenseAcknowledgements → 200500default
PUT
/license/adminacknowledgements
Add, Edit, Enable & Disable
mutateAdminLicenseAcknowledgement body → 200500default
GET
/license/stdcomments
Get all standard license comments
getAllStandardLicenseComments → 200default
PUT
/license/stdcomments
Add, Edit, Enable & Disable
mutateStdComments body → 200400500default
PUT
/license/verify/{shortname}
Verify a license as new or variant
verifyLicense 1 param body → 200400404500default
PUT
/license/merge/{shortname}
Merge a license with another
mergeLicense 1 param body → 200400404500default
POST
/license/suggest
Get suggested license by reference text.
getSuggestedLicense body → 200403500default

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are GetSuggestedLicense (9 properties), HighlightInfo (8 properties), LicenseCandidate (7 properties), License (6 properties). Each schema is shown below with its type and property counts.

StandardComment
object
4 properties
HighlightInfo
object
8 properties
MutateStdComment
object
5 properties
MutateAdminAcknowledgement
object
5 properties
GetSuggestedLicense
object
9 properties
AdminLicenseAcknowledgement
object
4 properties
License
object
License from the database
6 properties
Info
object
3 properties
LicenseCandidate
object
7 properties
Obligation
object
Obligation information
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

fossology-license-api-openapi.yml Raw ↑

Other APIs FOSSology publishes across the network.

FOSSology Admin API
FOSSology auth API
FOSSology Copyrights API
FOSSology Folders API
FOSSology Groups API
FOSSology info API
FOSSology Job API
FOSSology Maintenance API
FOSSology Organize API
FOSSology Overview API
FOSSology Report API
FOSSology Search API
Where this information came from

This is an independent, third-party profile of FOSSology License API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.