Skip to content

Commit

Permalink
Re-add 409 for patch summary source
Browse files Browse the repository at this point in the history
  • Loading branch information
szekelyzol committed Nov 5, 2024
1 parent 5b1081e commit 0b6764d
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion oas_apivideo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,33 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/summary-source'
$ref: '#/components/schemas/summary-source'
'409':
headers:
X-RateLimit-Limit:
schema:
type: integer
description: The request limit per minute.
X-RateLimit-Remaining:
schema:
type: integer
description: The number of available requests left for the current time window.
X-RateLimit-Retry-After:
schema:
type: integer
description: The number of seconds left until the current rate limit window resets.
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/conflict-error'
examples:
Summary generation still in progress:
value:
type: https://docs.api.video/reference/summary-already-exists
title: A summary already exists or is being created on this video.
status: 409
detail: You can delete the existing summary and generate a new one.
'/videos/{videoId}/source':
post:
tags:
Expand Down

0 comments on commit 0b6764d

Please sign in to comment.