Get PolicyVioalationIds for Repository

Hello,

i am investigate, how i can get all Polcy Violation for an Repository?
Have only found the " Policy Violation REST API" which gives me only the applicationViolations.

For the Background: I want to import a new policy matrix and therefor all Waivers are lost. To rebuild the actual state, i want to extract all existing waivers (with the information of packageUrl etc…) and then use the " Policy Waiver REST API" to add this Waiver. So we have the same state as before (also for new fine grained policys).

Is this possible at the moment?

Greets, Marcus