REST API: How to set vendor for a component release #3491
-
|
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? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hey @Matthias-SE , adding a Vendor is ideally a multi step process:
|
Beta Was this translation helpful? Give feedback.
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}.