Skip to content

Commit

Permalink
api: add accept_get_urls query option for /segments endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
philipnbbc committed Sep 17, 2024
1 parent 4f477c4 commit 84cbe85
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions api/TimeAddressableMediaStore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1290,6 +1290,15 @@ paths:
schema:
default: false
type: boolean
- name: accept_get_urls
in: query
description: |
A comma separated list of labels of flow segment `get_urls` to include in the response.
A 'default' label selects URLs with a 'default' or no label.
An empty `accept_get_urls` results in an empty or no `get_urls` flow segment property in the response.
schema:
type: string
pattern: ^[^,]*(,[^,]*)*$
- $ref: '#/components/parameters/trait_resource_paged_key'
- $ref: '#/components/parameters/trait_paged_limit'
responses:
Expand Down Expand Up @@ -1380,6 +1389,15 @@ paths:
schema:
default: false
type: boolean
- name: accept_get_urls
in: query
description: |
A comma separated list of labels of flow segment `get_urls` to include in the response.
A 'default' label selects URLs with a 'default' or no label.
An empty `accept_get_urls` results in an empty or no `get_urls` flow segment property in the response.
schema:
type: string
pattern: ^[^,]*(,[^,]*)*$
- $ref: '#/components/parameters/trait_resource_paged_key'
- $ref: '#/components/parameters/trait_paged_limit'
responses:
Expand Down

0 comments on commit 84cbe85

Please sign in to comment.