normandy
normandy copied to clipboard
Filter object API endpoint
It would be great to have endpoints for each filter object as well as a general listing endpoint
I would expect:
/api/v3/filter_objects/:GETrequests give you a list of FO schemas by type
/api/v3/filter_objects/{type}/:GETrequests return a schemaPOSTrequests get you a JEXL expression for the FO
For context this would be useful for being able to evaluate filter objects in NDT
For the POST you mean like you'd give it a FO JSON with some parameters and Normandy would evaluate it for you and give you back the result?
For the POST you mean like you'd give it a FO JSON with some parameters and Normandy would evaluate it for you and give you back the result?
Correct