Permission Filter
Use Case
I want to filter the pixel and audience id's for the current user.
Request
POST /api/filter
Parameters
Key | Description | Example |
---|---|---|
payload | JSON encoded string | "[{\"id\":\"id1\",\"d\":\"pixel_id\",\"k\":123}]" |
Example cURL
payload = "[{\"id\":\"1234567\",\"d\":\"pixel_id\",\"k\":123}, {\"id":\"xxxxx\",\"d\":\"website\",\"k\":123}]"
* URL encode this
curl -X POST -H "Content-Type: application/json" -H "X-Auth:XXX" -H "X-CSRF:XXX" "https://platform.flxone.com/api/filter" -d 'payload=%5B%7B%22id%22%3A%221234567%22%2C%22d%22%3A%22pixel_id%22%2C%22k%22%3A123%7D%2C+%7B%22id%22%3A%22xxxxx%22%2C%22d%22%3A%22website%22%2C%22k%22%3A123%7D%5D'
Response
{ "response": { "status": "OK", "items": [{ "id": "id1" }] } }