dependency-track icon indicating copy to clipboard operation
dependency-track copied to clipboard

Add API `GET /v1/vex/token/{uuid}` to query state of VEX processing

Open muellerst-hg opened this issue 2 years ago • 1 comments

Current Behavior

When uploading a VEX file through REST API POST /api/v1/vex, the VEX file is being processed, which takes some time. However there is no capability to query if VEX processing was finished or if it's still ongoing.

For subsequent API calls, I want to make sure that VEX processing is finished.

Proposed Behavior

Please add capabilities to return a token from POST /api/v1/vex which can be used with GET /v1/vex/token/{uuid} to query the state of VEX processing - similar to BOM processing PUT /api/v1/bom and GET /v1/bom/token/{uuid}

Checklist

muellerst-hg avatar Jan 12 '24 11:01 muellerst-hg

Note, this has been partially addressed already via #3260, which introduces a generic /v1/event/token/{uuid} endpoint.

nscuro avatar Jan 12 '24 11:01 nscuro