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.3.4"
".": "1.3.5"
}
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [1.3.5](https://github.com/gumlet/nodejs-sdk/compare/v1.3.4...v1.3.5) (2026-09-25)


### Features

* **api:** add operation multipartUpload.abort (+1 more change) ([066c9bf](https://github.com/gumlet/nodejs-sdk/commit/066c9bf897a9c46c084cc34cc1b1da8662e20440))


### Chores

* **api:** regenerate SDK ([cf6c3ad](https://github.com/gumlet/nodejs-sdk/commit/cf6c3adb0f1c6216536ba2e19300a938a2e62ec2))
* release 1.3.5 ([4f43a21](https://github.com/gumlet/nodejs-sdk/commit/4f43a21b30dd4b88ec490344fdf06dc214844b7b))
* release 1.3.5 ([5e81fed](https://github.com/gumlet/nodejs-sdk/commit/5e81fed88a94db71ec652d1b8edb91124da1000c))

## [1.3.4](https://github.com/gumlet/nodejs-sdk/compare/v1.3.3...v1.3.4) (2026-09-21)


Expand Down
28 changes: 28 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ Complete reference of every operation, grouped by resource. See [the README](./R
- [`MultipartUpload`](#multipartupload)
- [Get Part Upload URL](#get-part-upload-url)
- [Complete Multipart Upload](#complete-multipart-upload)
- [Abort Upload](#abort-upload)
- [List Uploads](#list-uploads)
- [`VideoProfiles`](#videoprofiles)
- [Create Profile](#create-profile)
- [List Profiles](#list-profiles)
Expand Down Expand Up @@ -488,6 +490,32 @@ Once you upload all parts to S3 bucket via pre-signed URL, use this endpoint to
const multipartUpload = await client.multipartUpload.complete('assetId');
```

### Abort Upload

This call aborts multi-part upload and deletes the already uploaded parts from the storage.

| Direction | Type |
| --- | --- |
| Request | [`MultipartUploadAbortParams`](./src/resources/multipart-upload.ts) |
| Response | [`MultipartUploadAbortResponse`](./src/resources/multipart-upload.ts) |

```ts
const multipartUpload = await client.multipartUpload.abort('assetId');
```

### List Uploads

Lists all parts uploaded so far.

| Direction | Type |
| --- | --- |
| Request | [`MultipartUploadListParams`](./src/resources/multipart-upload.ts) |
| Response | [`MultipartUploadListResponse`](./src/resources/multipart-upload.ts) |

```ts
const multipartUpload = await client.multipartUpload.list('assetId');
```

## `VideoProfiles`

Create and manage encoding/output profiles for video assets.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gumlet/nodejs-sdk",
"version": "1.3.4",
"version": "1.3.5",
"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.",
"author": "Gumlet",
"repository": {
Expand Down
132 changes: 131 additions & 1 deletion scalar-sdk.manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Gumlet",
"slug": "gumlet",
"generatorVersion": "0.33.2",
"generatorVersion": "0.33.3",
"servers": [
"https://api.gumlet.com/v1"
],
Expand Down Expand Up @@ -3498,6 +3498,136 @@
"responseLinks": [],
"transport": "http"
},
{
"resource": "multipartUpload",
"publicResource": "multipartUpload",
"operation": "abort",
"publicOperation": "abort",
"deprecated": false,
"method": "POST",
"path": "/video/assets/{asset_id}/multipartupload/abort",
"pathParams": [
"asset_id"
],
"publicPathParams": [
"asset_id"
],
"queryParams": [],
"publicQueryParams": [],
"headerParams": [],
"publicHeaderParams": [],
"bodyParams": [],
"publicBodyParams": [],
"bodyParamDetails": [],
"pathParamDetails": [
{
"name": "asset_id",
"required": true,
"style": "simple",
"explode": false
}
],
"queryParamDetails": [],
"headerParamDetails": [],
"cookieParams": [],
"publicCookieParams": [],
"cookieParamDetails": [],
"paramsModel": {
"publicName": "MultipartUploadAbortParams"
},
"requestBody": {
"contentType": "application/json",
"encoding": "json",
"contents": [
{
"contentType": "application/json",
"encoding": "json"
}
],
"required": false,
"publicName": "body",
"publicIdentifier": "body"
},
"response": {
"status": "200",
"contentType": "application/json",
"encoding": "json",
"contents": [
{
"contentType": "application/json",
"encoding": "json"
}
]
},
"errorResponses": [],
"responseLinks": [],
"transport": "http"
},
{
"resource": "multipartUpload",
"publicResource": "multipartUpload",
"operation": "list",
"publicOperation": "list",
"deprecated": false,
"method": "POST",
"path": "/video/assets/{asset_id}/multipartupload/list",
"pathParams": [
"asset_id"
],
"publicPathParams": [
"asset_id"
],
"queryParams": [],
"publicQueryParams": [],
"headerParams": [],
"publicHeaderParams": [],
"bodyParams": [],
"publicBodyParams": [],
"bodyParamDetails": [],
"pathParamDetails": [
{
"name": "asset_id",
"required": true,
"style": "simple",
"explode": false
}
],
"queryParamDetails": [],
"headerParamDetails": [],
"cookieParams": [],
"publicCookieParams": [],
"cookieParamDetails": [],
"paramsModel": {
"publicName": "MultipartUploadListParams"
},
"requestBody": {
"contentType": "application/json",
"encoding": "json",
"contents": [
{
"contentType": "application/json",
"encoding": "json"
}
],
"required": false,
"publicName": "body",
"publicIdentifier": "body"
},
"response": {
"status": "200",
"contentType": "application/json",
"encoding": "json",
"contents": [
{
"contentType": "application/json",
"encoding": "json"
}
]
},
"errorResponses": [],
"responseLinks": [],
"transport": "http"
},
{
"resource": "videoProfiles",
"publicResource": "videoProfiles",
Expand Down
11 changes: 10 additions & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
formatRequestDetails,
loggerFor,
parseLogLevel,
redactUrl,
type LogLevel,
type Logger,
} from './internal/utils/log';
Expand Down Expand Up @@ -75,8 +76,12 @@ import {
MultipartUpload,
type MultipartUploadRetrievePartURLResponse,
type MultipartUploadCompleteResponse,
type MultipartUploadAbortResponse,
type MultipartUploadListResponse,
type MultipartUploadRetrievePartURLParams,
type MultipartUploadCompleteParams,
type MultipartUploadAbortParams,
type MultipartUploadListParams,
} from './resources/multipart-upload';
import {
VideoProfiles,
Expand Down Expand Up @@ -613,7 +618,7 @@ export class Gumlet {
throw new Errors.APIConnectionError({ cause: response });
}

const responseInfo = `[${requestLogID}${retryLogStr}] ${req.method} ${url} ${
const responseInfo = `[${requestLogID}${retryLogStr}] ${req.method} ${redactUrl(url)} ${
response.ok ? 'succeeded' : 'failed'
} with status ${response.status} in ${headersTime - startTime}ms`;

Expand Down Expand Up @@ -1127,8 +1132,12 @@ export declare namespace Gumlet {
MultipartUpload as MultipartUpload,
type MultipartUploadRetrievePartURLResponse as MultipartUploadRetrievePartURLResponse,
type MultipartUploadCompleteResponse as MultipartUploadCompleteResponse,
type MultipartUploadAbortResponse as MultipartUploadAbortResponse,
type MultipartUploadListResponse as MultipartUploadListResponse,
type MultipartUploadRetrievePartURLParams as MultipartUploadRetrievePartURLParams,
type MultipartUploadCompleteParams as MultipartUploadCompleteParams,
type MultipartUploadAbortParams as MultipartUploadAbortParams,
type MultipartUploadListParams as MultipartUploadListParams,
};

export {
Expand Down
Loading
Loading