Filtering patches with REST API

I found my post that explains the original solution to automatic baseline creation: Automatic Baseline Creation and eventually AutoPatching