Need support for bounding range queries for audio events.
GET staging.ecosounds.org/audio_recordings/40/audio_events??start_offset=90&end_offset=120
Returns (note how none of the end offsets are within the bounds specified by the querystring):
[
{
"audio_recording_id":40,
"created_at":"2013-11-06T03:54:35Z",
"creator_id":7,
"deleted_at":null,
"deleter_id":null,
"end_time_seconds":4,
"high_frequency_hertz":9173,
"id":1,
"is_reference":false,
"low_frequency_hertz":4435,
"start_time_seconds":0,
"updated_at":"2013-11-16T17:06:58Z",
"updater_id":7,
"taggings":[
]
},
{
"audio_recording_id":40,
"created_at":"2013-11-06T03:57:26Z",
"creator_id":7,
"deleted_at":null,
"deleter_id":null,
"end_time_seconds":8,
"high_frequency_hertz":9302,
"id":3,
"is_reference":false,
"low_frequency_hertz":5943,
"start_time_seconds":5,
"updated_at":"2013-11-16T17:06:56Z",
"updater_id":7,
"taggings":[
]
},
{
"audio_recording_id":40,
"created_at":"2013-11-06T04:00:52Z",
"creator_id":7,
"deleted_at":null,
"deleter_id":null,
"end_time_seconds":10,
"high_frequency_hertz":4651,
"id":4,
"is_reference":false,
"low_frequency_hertz":904,
"start_time_seconds":6,
"updated_at":"2013-11-17T13:12:52Z",
"updater_id":7,
"taggings":[
]
},
{
"audio_recording_id":40,
"created_at":"2013-11-06T04:01:41Z",
"creator_id":7,
"deleted_at":null,
"deleter_id":null,
"end_time_seconds":4,
"high_frequency_hertz":4780,
"id":5,
"is_reference":false,
"low_frequency_hertz":1421,
"start_time_seconds":1,
"updated_at":"2013-11-17T12:49:49Z",
"updater_id":7,
"taggings":[
]
},
// truncated...
]