Open matts-au opened 1 year ago
PATCH seems to go via the v1/project/{uuid}/patchProject
endpoint
@valentijnscholten That is the endpoint I'm using. Note, the URL path passed to curl is v1/project/{uuid}
. "patchProject" is just the method name. It translates to an operation ID in the Swagger spec file.
Hi @matts-au,
There is a dedicated endpoint to manage project properties, /v1/project/{uuid}/property
, see file ProjectPropertyResource.java.
@antoinbo I can use that and it works, but it requires a request per property.
Hi. Will this be implemented (updating properties from updateProject endpoint) or is it not planned?
Current Behavior
Similar to #2695, but for project properties instead of external references.
Reproducing on api-server 4.7.0 using curl:
Result: http 304, no change in the project. Same technique worked for project tags though.
Steps to Reproduce
See #2695.
Expected Behavior
Project properties get updated using PATCH v1/project/{id}.
Dependency-Track Version
4.7.x
Dependency-Track Distribution
Container Image
Database Server
PostgreSQL
Database Server Version
No response
Browser
Google Chrome
Checklist