Skip to content

docs(stream): update stream openapi - #387

Open
zeljko-at-bunny wants to merge 1 commit into
mainfrom
chore/sync-stream-openapi-spec
Open

docs(stream): update stream openapi#387
zeljko-at-bunny wants to merge 1 commit into
mainfrom
chore/sync-stream-openapi-spec

Conversation

@zeljko-at-bunny

@zeljko-at-bunny zeljko-at-bunny commented Jul 31, 2026

Copy link
Copy Markdown
Contributor
  • 10 endpoints removed
  • A tag removed
  • ~19 schemas removed that were used exclusively by those endpoints

Noise, not a real change: 10 more schemas disappeared (Video, VideoStatus, VideoDrmType, VRTypes, VideoInfoModel, VideoLibraryStatus, ProblemDetails, AddHeatmapDataModel, AddVideoViewTimeModel, AddViewDataModel) and these were already orphaned/unreferenced by any path in the old spec too. They weren't wired to any documented endpoint before or after, so their removal is just the codegen no longer emitting dead DTOs, not an API change.

Other changes:

  1. POST /library/{libraryId}/videos/fetch — gained 422 ("Unable to fetch video from origin") and 429 ("Too many fetch jobs queued...") responses; the existing 400 gained a body (StatusModel) and a more specific description ("URL validation failed or request was invalid" vs. generic "Failed fetching the video").
  2. POST .../captions/{srclang} (Add Caption) — 200 and 400 responses now both return StatusModelOfCaptionValidationModel (a new schema wrapping StatusModel + CaptionValidationModel data) instead of separate StatusModel/CaptionValidationModel types.
  3. POST .../resolutions/cleanup — two new query parameters added: allResolutions (boolean) and outputs (string — "Outputs to clean. Supported values: hls, mp4, all").
  4. POST .../thumbnail (Set Thumbnail) — gained 400 ("The request or URL was invalid") and 422 ("Unable to fetch thumbnail from origin") responses.

No paths were added, no methods changed on any other endpoint, and info.version bumped 1.0.01.5.13.

@mintlify

mintlify Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
bunny 🟢 Ready View Preview Jul 31, 2026, 4:24 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@zeljko-at-bunny zeljko-at-bunny changed the title NOJIRA doc: update stream openapi docs(stream): update stream openapi Jul 31, 2026
@zeljko-at-bunny
zeljko-at-bunny requested a review from mihan July 31, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant