Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: allow flow segment paging using opaque key #75

Merged
merged 2 commits into from
Jul 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions api/TimeAddressableMediaStore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1179,13 +1179,18 @@ paths:
description: Filter on object identifier.
schema:
type: string
- name: timerange
in: query
description: Return only the results in the timerange specified.
schema:
$ref: 'schemas/timerange.json'
- name: reverse_order
in: query
description: Return segments in reverse time order.
schema:
default: false
type: boolean
- $ref: '#/components/parameters/trait_timerange_paged_timerange'
- $ref: '#/components/parameters/trait_resource_paged_key'
- $ref: '#/components/parameters/trait_paged_limit'
responses:
"200":
Expand Down Expand Up @@ -1235,13 +1240,18 @@ paths:
description: Filter on object identifier.
schema:
type: string
- name: timerange
in: query
description: Return only the results in the timerange specified.
schema:
$ref: 'schemas/timerange.json'
- name: reverse_order
in: query
description: Return segments in reverse time order.
schema:
default: false
type: boolean
- $ref: '#/components/parameters/trait_timerange_paged_timerange'
- $ref: '#/components/parameters/trait_resource_paged_key'
- $ref: '#/components/parameters/trait_paged_limit'
responses:
"200":
Expand All @@ -1267,6 +1277,10 @@ paths:
description: The items are returned in reverse order.
schema:
type: boolean
X-Paging-NextKey:
description: Opaque string that can be supplied to the `page` query parameter to get the next page of results.
schema:
type: string
content:
application/json:
schema:
Expand Down Expand Up @@ -1801,12 +1815,6 @@ components:
trait_resource_info_head_404:
description: Resource was not found.
parameters:
trait_timerange_paged_timerange:
name: timerange
in: query
description: Return only the results in the timerange specified.
schema:
$ref: 'schemas/timerange.json'
trait_paged_limit:
name: limit
in: query
Expand Down
Loading