Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2025 07:34 AM - edited 08-13-2025 07:35 AM
Hi @fkseki ,
Oh man, after 1,5 hour of trail and error I've found a way to make it work 😄 You need to use dot notation and it will work. They shoud've specified this in docs though...
params = {"filter_by.policy_name": "szymon - genric"}
headers = {
'Authorization': f'Bearer {TOKEN}',
'Accept': 'application/json',
'Content-Type': 'application/json'
}
response = requests.get(url=url, headers=headers, params=params)
data = response.json()
print("SUCCESS!")
print(json.dumps(data, indent=2))