Repository navigation
REST API: How to set vendor for a component release #3491
Answered
by
GMishx
Matthias-SE
asked this question in
Q&A
|
Hi sw360 community, when I manually create a release for a component in sw360, I'm able to set a vendor. However, I failed to do so via api. Is it possible to set the vendor when creating or updating a release? What's the api call to do so? I asked the same question in the sw360python project. The developer confirmed that the vendor get's not updated even though the API call itself is reported to be successful: sw360/sw360python#46 (comment) Is this a bug of the REST API, or isn't it even supposed to be supported? |
Answered by
GMishx
Nov 12, 2025
Replies: 1 comment 1 reply
|
Hey @Matthias-SE , adding a Vendor is ideally a multi step process:
|
1 reply
Answer selected by
Matthias-SE
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @Matthias-SE , adding a Vendor is ideally a multi step process:
POST /vendors"vendorId": "string"in the release body while creatingPOST /releasesor updatingPATCH /releases/{id}.