Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.6.1"
".": "1.6.2"
}
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## [1.6.2](https://github.com/gumlet/python-sdk/compare/v1.6.1...v1.6.2) (2026-11-24)


### ⚠ BREAKING CHANGES

* **api:** 3 breaking changes to the SDK surface.
- method-name POST video/assets/{p}/thumbnail — method names differ (breaking: renamed; the old spelling no longer resolves)
- types-files types/video_asset_upload_thumbnail_response.py — type file only in before (1 member: 0 matched by name and kind elsewhere in after, 1 not found) (breaking: removed; video_asset_upload_thumbnail_file_response.py appeared in its place, likely a rename)
- types-classes types/__init__.py:VideoAssetUploadThumbnailResponse — reexport only in before (breaking: removed; VideoAssetUploadThumbnailFileResponse appeared in its place, likely a rename)

### Features

* **api:** update SDK surface (5 changes) ([ecbb04d](https://github.com/gumlet/python-sdk/commit/ecbb04d908b7232a4c5465cff1a81f225c2ca895))


### Chores

* **api:** update generated SDK content ([5924b2d](https://github.com/gumlet/python-sdk/commit/5924b2d8d2e1d241b9b6e5fc2c88e8151109ccca))
* release 1.6.2 ([b7b08c7](https://github.com/gumlet/python-sdk/commit/b7b08c7f45943a977a71766d588740f2f5587abc))

## [1.6.1](https://github.com/gumlet/python-sdk/compare/v1.6.0...v1.6.1) (2026-11-24)


Expand Down
8 changes: 4 additions & 4 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ video_asset = client.video_assets.create(

### Create Asset Direct Upload

This endpoint creates a video asset allowing upload of a video from the local file system and ingest media content into the Gumlet system for processing and delivery. Body parameters are the same as the Create Asset body parameters except for the `input` parameter, which this endpoint does not take. A successful response will be returned with `upload_url` field. You can make `PUT` request to that URL to upload video. To upload video using `upload_url` refer to [this](https://docs.gumlet.com/docs/direct-upload#2-use-the-url-to-upload-a-file).
This endpoint creates a video asset allowing upload of a video from the local file system and ingest media content into the Gumlet system for processing and delivery. Body parameters are the same as the Create Asset body parameters except for the `input` parameter, which this endpoint does not take. A successful response will be returned with `upload_url` field. You can make `PUT` request to that URL to upload video. To upload video using `upload_url` refer to [Direct Upload](https://docs.gumlet.com/developers/vod-developers-section/direct-upload#2.-use-the-url-to-upload-a-file) guide.

| Direction | Type |
| --- | --- |
Expand Down Expand Up @@ -376,7 +376,7 @@ video_asset = client.video_assets.analytics(

### Create Asset Direct Upload

This endpoint creates a video asset allowing upload of a video from the local file system and ingest media content into the Gumlet system for processing and delivery. Body parameters are the same as the Create Asset body parameters except for the `input` parameter, which this endpoint does not take. A successful response will be returned with `upload_url` field. You can make `PUT` request to that URL to upload video. To upload video using `upload_url` refer to [this](https://docs.gumlet.com/docs/direct-upload#2-use-the-url-to-upload-a-file).
This endpoint creates a video asset allowing upload of a video from the local file system and ingest media content into the Gumlet system for processing and delivery. Body parameters are the same as the Create Asset body parameters except for the `input` parameter, which this endpoint does not take. A successful response will be returned with `upload_url` field. You can make `PUT` request to that URL to upload video. To upload video using `upload_url` refer to [Direct Upload](https://docs.gumlet.com/developers/vod-developers-section/direct-upload#2.-use-the-url-to-upload-a-file) guide.

| Direction | Type |
| --- | --- |
Expand All @@ -397,10 +397,10 @@ Requests a thumbnail upload URL for the asset and PUTs the file to it.

| Direction | Type |
| --- | --- |
| Response | [`VideoAssetUploadThumbnailResponse`](./src/gumlet/types/video_asset_upload_thumbnail_response.py) |
| Response | [`VideoAssetUploadThumbnailFileResponse`](./src/gumlet/types/video_asset_upload_thumbnail_file_response.py) |

```python
video_asset = client.video_assets.upload_thumbnail(
video_asset = client.video_assets.upload_thumbnail_file(
asset_id="assetId",
file=open("path/to/file", "rb"),
idempotency_key="",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "gumlet"
version = "1.6.1" # x-release-please-version
version = "1.6.2" # x-release-please-version
description = "Gumlet helps developers deliver online video and images. This API encompasses Gumlet Video, Image and Video Analytics functionality to help you build your products better and faster than ever before."
readme = "README.md"
license = "Apache-2.0"
Expand Down
6 changes: 3 additions & 3 deletions scalar-sdk.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3671,8 +3671,8 @@
{
"resource": "videoAssets",
"publicResource": "videoAssets",
"operation": "uploadThumbnail",
"publicOperation": "uploadThumbnail",
"operation": "uploadThumbnailFile",
"publicOperation": "uploadThumbnailFile",
"deprecated": false,
"method": "POST",
"path": "/video/assets/{asset_ID}/thumbnail",
Expand Down Expand Up @@ -3703,7 +3703,7 @@
"publicCookieParams": [],
"cookieParamDetails": [],
"paramsModel": {
"publicName": "VideoAssetUploadThumbnailParams"
"publicName": "VideoAssetUploadThumbnailFileParams"
},
"response": {
"status": "200",
Expand Down
2 changes: 1 addition & 1 deletion src/gumlet/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Scalar. See README.md for details.

__title__ = "gumlet"
__version__ = "1.6.1" # x-release-please-version
__version__ = "1.6.2" # x-release-please-version
30 changes: 15 additions & 15 deletions src/gumlet/resources/video_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
from ..types.video_asset_tag_many_response import VideoAssetTagManyResponse
from ..types.video_asset_analytics_response import VideoAssetAnalyticsResponse
from ..types.video_asset_upload_file_response import VideoAssetUploadFileResponse
from ..types.video_asset_upload_thumbnail_response import VideoAssetUploadThumbnailResponse
from ..types.video_asset_upload_thumbnail_file_response import VideoAssetUploadThumbnailFileResponse

__all__ = ["VideoAssetsResource", "AsyncVideoAssetsResource"]

Expand Down Expand Up @@ -240,7 +240,7 @@ def upload(
idempotency_key: str | None = None,
) -> VideoAssetUploadResponse:
"""
This endpoint creates a video asset allowing upload of a video from the local file system and ingest media content into the Gumlet system for processing and delivery. Body parameters are the same as the Create Asset body parameters except for the `input` parameter, which this endpoint does not take. A successful response will be returned with `upload_url` field. You can make `PUT` request to that URL to upload video. To upload video using `upload_url` refer to [this](https://docs.gumlet.com/docs/direct-upload#2-use-the-url-to-upload-a-file).
This endpoint creates a video asset allowing upload of a video from the local file system and ingest media content into the Gumlet system for processing and delivery. Body parameters are the same as the Create Asset body parameters except for the `input` parameter, which this endpoint does not take. A successful response will be returned with `upload_url` field. You can make `PUT` request to that URL to upload video. To upload video using `upload_url` refer to [Direct Upload](https://docs.gumlet.com/developers/vod-developers-section/direct-upload#2.-use-the-url-to-upload-a-file) guide.

Args:
collection_id: Deprecated. Use `workspace_id` instead. Still accepted for backwards compatibility.
Expand Down Expand Up @@ -1126,7 +1126,7 @@ def upload_file(
idempotency_key: str | None = None,
) -> VideoAssetUploadFileResponse:
"""
This endpoint creates a video asset allowing upload of a video from the local file system and ingest media content into the Gumlet system for processing and delivery. Body parameters are the same as the Create Asset body parameters except for the `input` parameter, which this endpoint does not take. A successful response will be returned with `upload_url` field. You can make `PUT` request to that URL to upload video. To upload video using `upload_url` refer to [this](https://docs.gumlet.com/docs/direct-upload#2-use-the-url-to-upload-a-file).
This endpoint creates a video asset allowing upload of a video from the local file system and ingest media content into the Gumlet system for processing and delivery. Body parameters are the same as the Create Asset body parameters except for the `input` parameter, which this endpoint does not take. A successful response will be returned with `upload_url` field. You can make `PUT` request to that URL to upload video. To upload video using `upload_url` refer to [Direct Upload](https://docs.gumlet.com/developers/vod-developers-section/direct-upload#2.-use-the-url-to-upload-a-file) guide.

Args:
file: The file to upload. It is sent to the pre-signed URL the request returns, without the client's credentials. A custom `http_client`'s transport carries it only when that is httpx's own `HTTPTransport` (`AsyncHTTPTransport` on the async client) or inherits `SignedUploadTransport`.
Expand Down Expand Up @@ -1228,7 +1228,7 @@ def upload_file(
)
return initiated

def upload_thumbnail(
def upload_thumbnail_file(
self,
asset_id: str,
file: FileTypes,
Expand All @@ -1240,7 +1240,7 @@ def upload_thumbnail(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
idempotency_key: str | None = None,
) -> VideoAssetUploadThumbnailResponse:
) -> VideoAssetUploadThumbnailFileResponse:
"""
Requests a thumbnail upload URL for the asset and PUTs the file to it.

Expand All @@ -1254,11 +1254,11 @@ def upload_thumbnail(
idempotency_key: Override or provide the idempotency key for this request.

Returns:
VideoAssetUploadThumbnailResponse
VideoAssetUploadThumbnailFileResponse

Example:
```python
video_asset = client.video_assets.upload_thumbnail(
video_asset = client.video_assets.upload_thumbnail_file(
asset_id="assetId",
file=open("path/to/file", "rb"),
idempotency_key="",
Expand All @@ -1277,7 +1277,7 @@ def upload_thumbnail(
timeout=timeout,
idempotency_key=idempotency_key,
),
cast_to=VideoAssetUploadThumbnailResponse,
cast_to=VideoAssetUploadThumbnailFileResponse,
)
upload_to_signed_url(
self._client,
Expand Down Expand Up @@ -1470,7 +1470,7 @@ async def upload(
idempotency_key: str | None = None,
) -> VideoAssetUploadResponse:
"""
This endpoint creates a video asset allowing upload of a video from the local file system and ingest media content into the Gumlet system for processing and delivery. Body parameters are the same as the Create Asset body parameters except for the `input` parameter, which this endpoint does not take. A successful response will be returned with `upload_url` field. You can make `PUT` request to that URL to upload video. To upload video using `upload_url` refer to [this](https://docs.gumlet.com/docs/direct-upload#2-use-the-url-to-upload-a-file).
This endpoint creates a video asset allowing upload of a video from the local file system and ingest media content into the Gumlet system for processing and delivery. Body parameters are the same as the Create Asset body parameters except for the `input` parameter, which this endpoint does not take. A successful response will be returned with `upload_url` field. You can make `PUT` request to that URL to upload video. To upload video using `upload_url` refer to [Direct Upload](https://docs.gumlet.com/developers/vod-developers-section/direct-upload#2.-use-the-url-to-upload-a-file) guide.

Args:
collection_id: Deprecated. Use `workspace_id` instead. Still accepted for backwards compatibility.
Expand Down Expand Up @@ -2356,7 +2356,7 @@ async def upload_file(
idempotency_key: str | None = None,
) -> VideoAssetUploadFileResponse:
"""
This endpoint creates a video asset allowing upload of a video from the local file system and ingest media content into the Gumlet system for processing and delivery. Body parameters are the same as the Create Asset body parameters except for the `input` parameter, which this endpoint does not take. A successful response will be returned with `upload_url` field. You can make `PUT` request to that URL to upload video. To upload video using `upload_url` refer to [this](https://docs.gumlet.com/docs/direct-upload#2-use-the-url-to-upload-a-file).
This endpoint creates a video asset allowing upload of a video from the local file system and ingest media content into the Gumlet system for processing and delivery. Body parameters are the same as the Create Asset body parameters except for the `input` parameter, which this endpoint does not take. A successful response will be returned with `upload_url` field. You can make `PUT` request to that URL to upload video. To upload video using `upload_url` refer to [Direct Upload](https://docs.gumlet.com/developers/vod-developers-section/direct-upload#2.-use-the-url-to-upload-a-file) guide.

Args:
file: The file to upload. It is sent to the pre-signed URL the request returns, without the client's credentials. A custom `http_client`'s transport carries it only when that is httpx's own `HTTPTransport` (`AsyncHTTPTransport` on the async client) or inherits `SignedUploadTransport`.
Expand Down Expand Up @@ -2458,7 +2458,7 @@ async def upload_file(
)
return initiated

async def upload_thumbnail(
async def upload_thumbnail_file(
self,
asset_id: str,
file: FileTypes,
Expand All @@ -2470,7 +2470,7 @@ async def upload_thumbnail(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
idempotency_key: str | None = None,
) -> VideoAssetUploadThumbnailResponse:
) -> VideoAssetUploadThumbnailFileResponse:
"""
Requests a thumbnail upload URL for the asset and PUTs the file to it.

Expand All @@ -2484,11 +2484,11 @@ async def upload_thumbnail(
idempotency_key: Override or provide the idempotency key for this request.

Returns:
VideoAssetUploadThumbnailResponse
VideoAssetUploadThumbnailFileResponse

Example:
```python
video_asset = await client.video_assets.upload_thumbnail(
video_asset = await client.video_assets.upload_thumbnail_file(
asset_id="assetId",
file=open("path/to/file", "rb"),
idempotency_key="",
Expand All @@ -2507,7 +2507,7 @@ async def upload_thumbnail(
timeout=timeout,
idempotency_key=idempotency_key,
),
cast_to=VideoAssetUploadThumbnailResponse,
cast_to=VideoAssetUploadThumbnailFileResponse,
)
await async_upload_to_signed_url(
self._client,
Expand Down
4 changes: 2 additions & 2 deletions src/gumlet/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
from .video_asset_analytics_params import VideoAssetAnalyticsParams as VideoAssetAnalyticsParams
from .video_asset_upload_file_response import VideoAssetUploadFileResponse as VideoAssetUploadFileResponse
from .video_asset_upload_file_params import VideoAssetUploadFileParams as VideoAssetUploadFileParams
from .video_asset_upload_thumbnail_response import (
VideoAssetUploadThumbnailResponse as VideoAssetUploadThumbnailResponse,
from .video_asset_upload_thumbnail_file_response import (
VideoAssetUploadThumbnailFileResponse as VideoAssetUploadThumbnailFileResponse,
)
from .subtitle_upload_upload_response import SubtitleUploadUploadResponse as SubtitleUploadUploadResponse
from .subtitle_upload_upload_params import SubtitleUploadUploadParams as SubtitleUploadUploadParams
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

from .._models import BaseModel

__all__ = ["VideoAssetUploadThumbnailResponse"]
__all__ = ["VideoAssetUploadThumbnailFileResponse"]


class VideoAssetUploadThumbnailResponse(BaseModel):
class VideoAssetUploadThumbnailFileResponse(BaseModel):
upload_url: Optional[str] = None
"""Upload URL on which new thumbnail must be uploaded using a PUT request"""

Expand Down