Filtering (for e.g. category == whale): /api/json/detections?include=feed&fields[detection]=id,timestamp,category,description,listener_count,playlist_timestamp,player_offset&fields[feed]=id,name,slug&page[limit]=3&page[offset]=0&filter[category]=whale
Filtering on a feed ID: /api/json/detections?include=feed&fields[detection]=id,timestamp,category,description,listener_count,playlist_timestamp,player_offset&fields[feed]=id,name,slug&page[limit]=3&page[offset]=0&filter[category]=whale&filter[feed]=feed_02u8r4EQ4icI5bWdEhXDOT
Allows querying detections with a json-api spec API. Check out
/api/json/swaggerui
for documentation.Examples:
/api/json/detections?include=feed&fields[detection]=id,timestamp,category,description,listener_count,playlist_timestamp,player_offset&fields[feed]=id,name,slug&page[limit]=3&page[offset]=0
/api/json/detections?include=feed&fields[detection]=id,timestamp,category,description,listener_count,playlist_timestamp,player_offset&fields[feed]=id,name,slug&page[limit]=3&page[offset]=0&filter[category]=whale
/api/json/detections?include=feed&fields[detection]=id,timestamp,category,description,listener_count,playlist_timestamp,player_offset&fields[feed]=id,name,slug&page[limit]=3&page[offset]=0&filter[category]=whale&filter[feed]=feed_02u8r4EQ4icI5bWdEhXDOT