API Access
Comprehensive SW360 REST API authentication guide with curl examples for Basic, API Token, OAuth2 grants, and Keycloak.
Using the Web interface makes sense for some use cases, for some other cases the tool integration is more useful. The SW360 software offers a RESTful API. It has been initially developed by a colleague of the BT division - an excellent example of how Inner Source works for projects. Now it has been integrated to the official main project as component that can be deployed along with a SW360 solution.
Current authentication mechanisms:
Authorization: Basic ...)Authorization: Token ...)client_credentials (Authorization: Bearer ...)authorization_code + PKCEAuthorization: Bearer ...)See the canonical curl guide here:
Legacy workflows are kept separately:
API Documentation is available on the instances deployed:
https://<my_sw360_server>/resource/docs/api-guide.html| Implementation Technology | Java-based Spring framework |
| REST Flavor | Hypermedia-driven (HAL) |
| Authentication | Multi-mechanism: Basic, API Token, OAuth2 grants, Keycloak |
| More Technical Information | SW360 Rest API |
Comprehensive SW360 REST API authentication guide with curl examples for Basic, API Token, OAuth2 grants, and Keycloak.
SW360 legacy REST API guides