SW360 RESTful API
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.
Methods of Authentication
- OAuth workflow involving consumer / client secret and user token using user name and password from LDAP / Exchange accounts (very early)
- Access key obtained in the SW360 UI
- OAuth workflow involving consumer token / client secret and signed Java Web Tokens involving user authentication from OpenID Connect service for the first token and then using the OAuth refresh tokens.
API Documentation is available on the instances deployed:
https://<my_sw360_server>/resource/docs/api-guide.html
Brief Specs
Implementation Technology | Java-based Spring-framework based |
REST Flavor | Hypermedia-driven |
Authentication | Now: Token by user token store. Previously: Spring Security using JWT and SW360 user management. Note that technically, both ways are possible |
More Technical Information | Rest API |
Last modified June 28, 2022: feat(docs): Add docs from main sw360 (5b96381)