Skip to content

Commit

Permalink
Add missing headers to HEAD requests
Browse files Browse the repository at this point in the history
  • Loading branch information
j616 committed Aug 1, 2024
1 parent 2b9dc6f commit 9d23a24
Showing 1 changed file with 66 additions and 3 deletions.
69 changes: 66 additions & 3 deletions api/TimeAddressableMediaStore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,24 @@ paths:
- $ref: '#/components/parameters/trait_paged_limit'
responses:
"200":
$ref: '#/components/responses/trait_resource_listing_head_200'
description: ""
headers:
Link:
description: Provides references to cursors for paging. Only the 'rel' attribute with value 'next' and a link to the next page is currently supported. If 'next' is not present then it is the last page.
schema:
type: string
X-Paging-Limit:
description: Identifies the current limit being used for paging. This may not match the requested value if the requested value was too high for the implementation
schema:
type: integer
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:
type: string
"400":
$ref: '#/components/responses/trait_resource_info_head_400'
get:
Expand Down Expand Up @@ -659,7 +676,24 @@ paths:
- $ref: '#/components/parameters/trait_paged_limit'
responses:
"200":
$ref: '#/components/responses/trait_resource_listing_head_200'
description: ""
headers:
Link:
description: Provides references to cursors for paging. Only the 'rel' attribute with value 'next' and a link to the next page is currently supported. If 'next' is not present then it is the last page.
schema:
type: string
X-Paging-Limit:
description: Identifies the current limit being used for paging. This may not match the requested value if the requested value was too high for the implementation
schema:
type: integer
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:
type: string
"400":
description: Bad request. Invalid query options.
get:
Expand Down Expand Up @@ -1192,7 +1226,36 @@ paths:
- $ref: '#/components/parameters/trait_paged_limit'
responses:
"200":
$ref: '#/components/responses/trait_resource_listing_head_200'
description: ""
headers:
Link:
description: Provides references to cursors for paging. Only the 'rel' attribute with value 'next' is currently supported. If 'next' is not present then it is the last page.
schema:
type: string
X-Paging-Limit:
description: Identifies the current limit being used for paging. This may not match the requested value if the requested value was too high for the implementation
schema:
type: integer
X-Paging-Timerange:
description: Identifies the timerange for the returned data set.
schema:
$ref: 'schemas/timerange.json'
X-Paging-Count:
description: The number of items in the returned data set.
schema:
type: integer
X-Paging-Reverse-Order:
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:
type: string
"400":
description: Bad request. Invalid query options.
"404":
Expand Down

0 comments on commit 9d23a24

Please sign in to comment.