-
Notifications
You must be signed in to change notification settings - Fork 1
Filters
Wiki ▸ API Reference ▸ Filters
See Authenticating
Create a new Filters:
curl --verbose --request POST --header "Content-Type: application/json" -d "{dataType:'test',regex:'test'}" http://localhost:8080/api/filter/none --cookie cookies.txt
Edit an Filters:
curl --verbose --request PUT --header "Content-Type: application/json" -d "{id:12,dataType:'test2',regex:'test'}" http://localhost:8080/api/filter/none --cookie cookies.txt
Get data about a Filters:
curl --request GET http://localhost:8080/api/filter/{format}/1 --cookie cookies.txt
Wherein {format} can be replaced with:
- xml
- json
- none
List all Filters:
curl --verbose --request POST --header "Content-Type: application/json" http://localhost:8080/api/filter/list/{format} --cookie cookies.txt
Delete a Filters:
curl --request DELETE http://localhost:8080/api/filter/none/1 --cookie cookies.txt
Comma separated list of Filter IDs:
curl --request DELETE http://localhost:8080/api/filter/none/{1,2} --cookie cookies.txt