ffmpeglab-sdk 0.3.19 → 0.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +20 -0
- package/dist/apis/FilesApi.d.ts +115 -0
- package/dist/apis/FilesApi.js +179 -0
- package/dist/apis/PipelinesApi.d.ts +147 -0
- package/dist/apis/PipelinesApi.js +209 -0
- package/dist/apis/RendersApi.d.ts +77 -0
- package/dist/apis/RendersApi.js +109 -1
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/FilesApi.d.ts +115 -0
- package/dist/esm/apis/FilesApi.js +175 -0
- package/dist/esm/apis/PipelinesApi.d.ts +147 -0
- package/dist/esm/apis/PipelinesApi.js +205 -0
- package/dist/esm/apis/RendersApi.d.ts +77 -0
- package/dist/esm/apis/RendersApi.js +108 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/CreatePipelineDto.d.ts +50 -0
- package/dist/esm/models/CreatePipelineDto.js +55 -0
- package/dist/esm/models/EditorProjectConfiguration.d.ts +2 -0
- package/dist/esm/models/EditorProjectConfiguration.js +3 -1
- package/dist/esm/models/EncoderProjectEncoding.d.ts +2 -0
- package/dist/esm/models/EncoderProjectEncoding.js +3 -1
- package/dist/esm/models/FileListDto.d.ts +33 -0
- package/dist/esm/models/FileListDto.js +44 -0
- package/dist/esm/models/FileObject.d.ts +50 -0
- package/dist/esm/models/FileObject.js +55 -0
- package/dist/esm/models/FileResponseDto.d.ts +32 -0
- package/dist/esm/models/FileResponseDto.js +43 -0
- package/dist/esm/models/LogPiece.d.ts +56 -0
- package/dist/esm/models/LogPiece.js +59 -0
- package/dist/esm/models/LogsResponse.d.ts +33 -0
- package/dist/esm/models/LogsResponse.js +44 -0
- package/dist/esm/models/Pipeline.d.ts +80 -0
- package/dist/esm/models/Pipeline.js +75 -0
- package/dist/esm/models/UpdatePipelineDto.d.ts +56 -0
- package/dist/esm/models/UpdatePipelineDto.js +59 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/models/CreatePipelineDto.d.ts +50 -0
- package/dist/models/CreatePipelineDto.js +62 -0
- package/dist/models/EditorProjectConfiguration.d.ts +2 -0
- package/dist/models/EditorProjectConfiguration.js +3 -1
- package/dist/models/EncoderProjectEncoding.d.ts +2 -0
- package/dist/models/EncoderProjectEncoding.js +3 -1
- package/dist/models/FileListDto.d.ts +33 -0
- package/dist/models/FileListDto.js +51 -0
- package/dist/models/FileObject.d.ts +50 -0
- package/dist/models/FileObject.js +62 -0
- package/dist/models/FileResponseDto.d.ts +32 -0
- package/dist/models/FileResponseDto.js +50 -0
- package/dist/models/LogPiece.d.ts +56 -0
- package/dist/models/LogPiece.js +66 -0
- package/dist/models/LogsResponse.d.ts +33 -0
- package/dist/models/LogsResponse.js +51 -0
- package/dist/models/Pipeline.d.ts +80 -0
- package/dist/models/Pipeline.js +82 -0
- package/dist/models/UpdatePipelineDto.d.ts +56 -0
- package/dist/models/UpdatePipelineDto.js +66 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/docs/CreatePipelineDto.md +40 -0
- package/docs/FileListDto.md +34 -0
- package/docs/FileObject.md +40 -0
- package/docs/FileResponseDto.md +34 -0
- package/docs/FilesApi.md +210 -0
- package/docs/LogPiece.md +42 -0
- package/docs/LogsResponse.md +34 -0
- package/docs/Pipeline.md +50 -0
- package/docs/PipelinesApi.md +280 -0
- package/docs/RendersApi.md +146 -0
- package/docs/UpdatePipelineDto.md +42 -0
- package/package.json +1 -1
- package/src/apis/FilesApi.ts +274 -0
- package/src/apis/PipelinesApi.ts +340 -0
- package/src/apis/RendersApi.ts +194 -0
- package/src/apis/index.ts +2 -0
- package/src/models/CreatePipelineDto.ts +93 -0
- package/src/models/EditorProjectConfiguration.ts +3 -1
- package/src/models/EncoderProjectEncoding.ts +3 -1
- package/src/models/FileListDto.ts +74 -0
- package/src/models/FileObject.ts +93 -0
- package/src/models/FileResponseDto.ts +66 -0
- package/src/models/LogPiece.ts +102 -0
- package/src/models/LogsResponse.ts +74 -0
- package/src/models/Pipeline.ts +138 -0
- package/src/models/UpdatePipelineDto.ts +102 -0
- package/src/models/index.ts +8 -0
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
# PipelinesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**pipelinesControllerCreate**](PipelinesApi.md#pipelinescontrollercreate) | **POST** /pipeline | |
|
|
8
|
+
| [**pipelinesControllerFindAll**](PipelinesApi.md#pipelinescontrollerfindall) | **GET** /pipeline | |
|
|
9
|
+
| [**pipelinesControllerFindOne**](PipelinesApi.md#pipelinescontrollerfindone) | **GET** /pipeline/{id} | |
|
|
10
|
+
| [**pipelinesControllerUpdate**](PipelinesApi.md#pipelinescontrollerupdate) | **PUT** /pipeline | |
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## pipelinesControllerCreate
|
|
15
|
+
|
|
16
|
+
> Pipeline pipelinesControllerCreate(createPipelineDto)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Example
|
|
21
|
+
|
|
22
|
+
```ts
|
|
23
|
+
import {
|
|
24
|
+
Configuration,
|
|
25
|
+
PipelinesApi,
|
|
26
|
+
} from 'ffmpeglab-sdk';
|
|
27
|
+
import type { PipelinesControllerCreateRequest } from 'ffmpeglab-sdk';
|
|
28
|
+
|
|
29
|
+
async function example() {
|
|
30
|
+
console.log("🚀 Testing ffmpeglab-sdk SDK...");
|
|
31
|
+
const config = new Configuration({
|
|
32
|
+
// Configure HTTP bearer authorization: bearer
|
|
33
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
34
|
+
});
|
|
35
|
+
const api = new PipelinesApi(config);
|
|
36
|
+
|
|
37
|
+
const body = {
|
|
38
|
+
// CreatePipelineDto
|
|
39
|
+
createPipelineDto: ...,
|
|
40
|
+
} satisfies PipelinesControllerCreateRequest;
|
|
41
|
+
|
|
42
|
+
try {
|
|
43
|
+
const data = await api.pipelinesControllerCreate(body);
|
|
44
|
+
console.log(data);
|
|
45
|
+
} catch (error) {
|
|
46
|
+
console.error(error);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Run the test
|
|
51
|
+
example().catch(console.error);
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### Parameters
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
| Name | Type | Description | Notes |
|
|
58
|
+
|------------- | ------------- | ------------- | -------------|
|
|
59
|
+
| **createPipelineDto** | [CreatePipelineDto](CreatePipelineDto.md) | | |
|
|
60
|
+
|
|
61
|
+
### Return type
|
|
62
|
+
|
|
63
|
+
[**Pipeline**](Pipeline.md)
|
|
64
|
+
|
|
65
|
+
### Authorization
|
|
66
|
+
|
|
67
|
+
[bearer](../README.md#bearer)
|
|
68
|
+
|
|
69
|
+
### HTTP request headers
|
|
70
|
+
|
|
71
|
+
- **Content-Type**: `application/json`
|
|
72
|
+
- **Accept**: `application/json`
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
### HTTP response details
|
|
76
|
+
| Status code | Description | Response headers |
|
|
77
|
+
|-------------|-------------|------------------|
|
|
78
|
+
| **0** | | - |
|
|
79
|
+
|
|
80
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
## pipelinesControllerFindAll
|
|
84
|
+
|
|
85
|
+
> Array<Pipeline> pipelinesControllerFindAll()
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
### Example
|
|
90
|
+
|
|
91
|
+
```ts
|
|
92
|
+
import {
|
|
93
|
+
Configuration,
|
|
94
|
+
PipelinesApi,
|
|
95
|
+
} from 'ffmpeglab-sdk';
|
|
96
|
+
import type { PipelinesControllerFindAllRequest } from 'ffmpeglab-sdk';
|
|
97
|
+
|
|
98
|
+
async function example() {
|
|
99
|
+
console.log("🚀 Testing ffmpeglab-sdk SDK...");
|
|
100
|
+
const config = new Configuration({
|
|
101
|
+
// Configure HTTP bearer authorization: bearer
|
|
102
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
103
|
+
});
|
|
104
|
+
const api = new PipelinesApi(config);
|
|
105
|
+
|
|
106
|
+
try {
|
|
107
|
+
const data = await api.pipelinesControllerFindAll();
|
|
108
|
+
console.log(data);
|
|
109
|
+
} catch (error) {
|
|
110
|
+
console.error(error);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// Run the test
|
|
115
|
+
example().catch(console.error);
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### Parameters
|
|
119
|
+
|
|
120
|
+
This endpoint does not need any parameter.
|
|
121
|
+
|
|
122
|
+
### Return type
|
|
123
|
+
|
|
124
|
+
[**Array<Pipeline>**](Pipeline.md)
|
|
125
|
+
|
|
126
|
+
### Authorization
|
|
127
|
+
|
|
128
|
+
[bearer](../README.md#bearer)
|
|
129
|
+
|
|
130
|
+
### HTTP request headers
|
|
131
|
+
|
|
132
|
+
- **Content-Type**: Not defined
|
|
133
|
+
- **Accept**: `application/json`
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
### HTTP response details
|
|
137
|
+
| Status code | Description | Response headers |
|
|
138
|
+
|-------------|-------------|------------------|
|
|
139
|
+
| **0** | | - |
|
|
140
|
+
|
|
141
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
## pipelinesControllerFindOne
|
|
145
|
+
|
|
146
|
+
> Pipeline pipelinesControllerFindOne(id)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
### Example
|
|
151
|
+
|
|
152
|
+
```ts
|
|
153
|
+
import {
|
|
154
|
+
Configuration,
|
|
155
|
+
PipelinesApi,
|
|
156
|
+
} from 'ffmpeglab-sdk';
|
|
157
|
+
import type { PipelinesControllerFindOneRequest } from 'ffmpeglab-sdk';
|
|
158
|
+
|
|
159
|
+
async function example() {
|
|
160
|
+
console.log("🚀 Testing ffmpeglab-sdk SDK...");
|
|
161
|
+
const config = new Configuration({
|
|
162
|
+
// Configure HTTP bearer authorization: bearer
|
|
163
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
164
|
+
});
|
|
165
|
+
const api = new PipelinesApi(config);
|
|
166
|
+
|
|
167
|
+
const body = {
|
|
168
|
+
// string | The ID of the pipeline
|
|
169
|
+
id: id_example,
|
|
170
|
+
} satisfies PipelinesControllerFindOneRequest;
|
|
171
|
+
|
|
172
|
+
try {
|
|
173
|
+
const data = await api.pipelinesControllerFindOne(body);
|
|
174
|
+
console.log(data);
|
|
175
|
+
} catch (error) {
|
|
176
|
+
console.error(error);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// Run the test
|
|
181
|
+
example().catch(console.error);
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### Parameters
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
| Name | Type | Description | Notes |
|
|
188
|
+
|------------- | ------------- | ------------- | -------------|
|
|
189
|
+
| **id** | `string` | The ID of the pipeline | [Defaults to `undefined`] |
|
|
190
|
+
|
|
191
|
+
### Return type
|
|
192
|
+
|
|
193
|
+
[**Pipeline**](Pipeline.md)
|
|
194
|
+
|
|
195
|
+
### Authorization
|
|
196
|
+
|
|
197
|
+
[bearer](../README.md#bearer)
|
|
198
|
+
|
|
199
|
+
### HTTP request headers
|
|
200
|
+
|
|
201
|
+
- **Content-Type**: Not defined
|
|
202
|
+
- **Accept**: `application/json`
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
### HTTP response details
|
|
206
|
+
| Status code | Description | Response headers |
|
|
207
|
+
|-------------|-------------|------------------|
|
|
208
|
+
| **0** | | - |
|
|
209
|
+
|
|
210
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
## pipelinesControllerUpdate
|
|
214
|
+
|
|
215
|
+
> Pipeline pipelinesControllerUpdate(updatePipelineDto)
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
### Example
|
|
220
|
+
|
|
221
|
+
```ts
|
|
222
|
+
import {
|
|
223
|
+
Configuration,
|
|
224
|
+
PipelinesApi,
|
|
225
|
+
} from 'ffmpeglab-sdk';
|
|
226
|
+
import type { PipelinesControllerUpdateRequest } from 'ffmpeglab-sdk';
|
|
227
|
+
|
|
228
|
+
async function example() {
|
|
229
|
+
console.log("🚀 Testing ffmpeglab-sdk SDK...");
|
|
230
|
+
const config = new Configuration({
|
|
231
|
+
// Configure HTTP bearer authorization: bearer
|
|
232
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
233
|
+
});
|
|
234
|
+
const api = new PipelinesApi(config);
|
|
235
|
+
|
|
236
|
+
const body = {
|
|
237
|
+
// UpdatePipelineDto
|
|
238
|
+
updatePipelineDto: ...,
|
|
239
|
+
} satisfies PipelinesControllerUpdateRequest;
|
|
240
|
+
|
|
241
|
+
try {
|
|
242
|
+
const data = await api.pipelinesControllerUpdate(body);
|
|
243
|
+
console.log(data);
|
|
244
|
+
} catch (error) {
|
|
245
|
+
console.error(error);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
// Run the test
|
|
250
|
+
example().catch(console.error);
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
### Parameters
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
| Name | Type | Description | Notes |
|
|
257
|
+
|------------- | ------------- | ------------- | -------------|
|
|
258
|
+
| **updatePipelineDto** | [UpdatePipelineDto](UpdatePipelineDto.md) | | |
|
|
259
|
+
|
|
260
|
+
### Return type
|
|
261
|
+
|
|
262
|
+
[**Pipeline**](Pipeline.md)
|
|
263
|
+
|
|
264
|
+
### Authorization
|
|
265
|
+
|
|
266
|
+
[bearer](../README.md#bearer)
|
|
267
|
+
|
|
268
|
+
### HTTP request headers
|
|
269
|
+
|
|
270
|
+
- **Content-Type**: `application/json`
|
|
271
|
+
- **Accept**: `application/json`
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
### HTTP response details
|
|
275
|
+
| Status code | Description | Response headers |
|
|
276
|
+
|-------------|-------------|------------------|
|
|
277
|
+
| **0** | | - |
|
|
278
|
+
|
|
279
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
280
|
+
|
package/docs/RendersApi.md
CHANGED
|
@@ -6,7 +6,9 @@ All URIs are relative to *http://localhost*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
| [**rendersControllerCreate**](RendersApi.md#renderscontrollercreate) | **POST** /renders | |
|
|
8
8
|
| [**rendersControllerFindAll**](RendersApi.md#renderscontrollerfindall) | **GET** /renders | |
|
|
9
|
+
| [**rendersControllerFindAllRendersForProject**](RendersApi.md#renderscontrollerfindallrendersforproject) | **GET** /renders/project/{id} | |
|
|
9
10
|
| [**rendersControllerFindOne**](RendersApi.md#renderscontrollerfindone) | **GET** /renders/{id} | |
|
|
11
|
+
| [**rendersControllerRenderLogs**](RendersApi.md#renderscontrollerrenderlogs) | **GET** /renders/logs/{id} | |
|
|
10
12
|
| [**rendersControllerRunRender**](RendersApi.md#renderscontrollerrunrender) | **PUT** /renders/run | |
|
|
11
13
|
|
|
12
14
|
|
|
@@ -141,6 +143,75 @@ This endpoint does not need any parameter.
|
|
|
141
143
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
142
144
|
|
|
143
145
|
|
|
146
|
+
## rendersControllerFindAllRendersForProject
|
|
147
|
+
|
|
148
|
+
> Array<RenderResponse> rendersControllerFindAllRendersForProject(id)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### Example
|
|
153
|
+
|
|
154
|
+
```ts
|
|
155
|
+
import {
|
|
156
|
+
Configuration,
|
|
157
|
+
RendersApi,
|
|
158
|
+
} from 'ffmpeglab-sdk';
|
|
159
|
+
import type { RendersControllerFindAllRendersForProjectRequest } from 'ffmpeglab-sdk';
|
|
160
|
+
|
|
161
|
+
async function example() {
|
|
162
|
+
console.log("🚀 Testing ffmpeglab-sdk SDK...");
|
|
163
|
+
const config = new Configuration({
|
|
164
|
+
// Configure HTTP bearer authorization: bearer
|
|
165
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
166
|
+
});
|
|
167
|
+
const api = new RendersApi(config);
|
|
168
|
+
|
|
169
|
+
const body = {
|
|
170
|
+
// string | The ID of the render
|
|
171
|
+
id: id_example,
|
|
172
|
+
} satisfies RendersControllerFindAllRendersForProjectRequest;
|
|
173
|
+
|
|
174
|
+
try {
|
|
175
|
+
const data = await api.rendersControllerFindAllRendersForProject(body);
|
|
176
|
+
console.log(data);
|
|
177
|
+
} catch (error) {
|
|
178
|
+
console.error(error);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// Run the test
|
|
183
|
+
example().catch(console.error);
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
### Parameters
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
| Name | Type | Description | Notes |
|
|
190
|
+
|------------- | ------------- | ------------- | -------------|
|
|
191
|
+
| **id** | `string` | The ID of the render | [Defaults to `undefined`] |
|
|
192
|
+
|
|
193
|
+
### Return type
|
|
194
|
+
|
|
195
|
+
[**Array<RenderResponse>**](RenderResponse.md)
|
|
196
|
+
|
|
197
|
+
### Authorization
|
|
198
|
+
|
|
199
|
+
[bearer](../README.md#bearer)
|
|
200
|
+
|
|
201
|
+
### HTTP request headers
|
|
202
|
+
|
|
203
|
+
- **Content-Type**: Not defined
|
|
204
|
+
- **Accept**: `application/json`
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
### HTTP response details
|
|
208
|
+
| Status code | Description | Response headers |
|
|
209
|
+
|-------------|-------------|------------------|
|
|
210
|
+
| **0** | | - |
|
|
211
|
+
|
|
212
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
213
|
+
|
|
214
|
+
|
|
144
215
|
## rendersControllerFindOne
|
|
145
216
|
|
|
146
217
|
> RenderResponse rendersControllerFindOne(id)
|
|
@@ -210,6 +281,81 @@ example().catch(console.error);
|
|
|
210
281
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
211
282
|
|
|
212
283
|
|
|
284
|
+
## rendersControllerRenderLogs
|
|
285
|
+
|
|
286
|
+
> LogsResponse rendersControllerRenderLogs(direction, from, id)
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
### Example
|
|
291
|
+
|
|
292
|
+
```ts
|
|
293
|
+
import {
|
|
294
|
+
Configuration,
|
|
295
|
+
RendersApi,
|
|
296
|
+
} from 'ffmpeglab-sdk';
|
|
297
|
+
import type { RendersControllerRenderLogsRequest } from 'ffmpeglab-sdk';
|
|
298
|
+
|
|
299
|
+
async function example() {
|
|
300
|
+
console.log("🚀 Testing ffmpeglab-sdk SDK...");
|
|
301
|
+
const config = new Configuration({
|
|
302
|
+
// Configure HTTP bearer authorization: bearer
|
|
303
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
304
|
+
});
|
|
305
|
+
const api = new RendersApi(config);
|
|
306
|
+
|
|
307
|
+
const body = {
|
|
308
|
+
// 'ASC' | 'DESC' | Order by direction
|
|
309
|
+
direction: direction_example,
|
|
310
|
+
// string | The date from which to start filtering the logs
|
|
311
|
+
from: from_example,
|
|
312
|
+
// string | The ID of the render
|
|
313
|
+
id: id_example,
|
|
314
|
+
} satisfies RendersControllerRenderLogsRequest;
|
|
315
|
+
|
|
316
|
+
try {
|
|
317
|
+
const data = await api.rendersControllerRenderLogs(body);
|
|
318
|
+
console.log(data);
|
|
319
|
+
} catch (error) {
|
|
320
|
+
console.error(error);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
// Run the test
|
|
325
|
+
example().catch(console.error);
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
### Parameters
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
| Name | Type | Description | Notes |
|
|
332
|
+
|------------- | ------------- | ------------- | -------------|
|
|
333
|
+
| **direction** | `ASC`, `DESC` | Order by direction | [Defaults to `undefined`] [Enum: ASC, DESC] |
|
|
334
|
+
| **from** | `string` | The date from which to start filtering the logs | [Defaults to `undefined`] |
|
|
335
|
+
| **id** | `string` | The ID of the render | [Defaults to `undefined`] |
|
|
336
|
+
|
|
337
|
+
### Return type
|
|
338
|
+
|
|
339
|
+
[**LogsResponse**](LogsResponse.md)
|
|
340
|
+
|
|
341
|
+
### Authorization
|
|
342
|
+
|
|
343
|
+
[bearer](../README.md#bearer)
|
|
344
|
+
|
|
345
|
+
### HTTP request headers
|
|
346
|
+
|
|
347
|
+
- **Content-Type**: Not defined
|
|
348
|
+
- **Accept**: `application/json`
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
### HTTP response details
|
|
352
|
+
| Status code | Description | Response headers |
|
|
353
|
+
|-------------|-------------|------------------|
|
|
354
|
+
| **0** | | - |
|
|
355
|
+
|
|
356
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
357
|
+
|
|
358
|
+
|
|
213
359
|
## rendersControllerRunRender
|
|
214
360
|
|
|
215
361
|
> rendersControllerRunRender(runDto)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
# UpdatePipelineDto
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`title` | string
|
|
10
|
+
`downsql` | string
|
|
11
|
+
`upsql` | string
|
|
12
|
+
`yml` | string
|
|
13
|
+
`id` | string
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { UpdatePipelineDto } from 'ffmpeglab-sdk'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"title": null,
|
|
23
|
+
"downsql": null,
|
|
24
|
+
"upsql": null,
|
|
25
|
+
"yml": null,
|
|
26
|
+
"id": null,
|
|
27
|
+
} satisfies UpdatePipelineDto
|
|
28
|
+
|
|
29
|
+
console.log(example)
|
|
30
|
+
|
|
31
|
+
// Convert the instance to a JSON string
|
|
32
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
+
console.log(exampleJSON)
|
|
34
|
+
|
|
35
|
+
// Parse the JSON string back to an object
|
|
36
|
+
const exampleParsed = JSON.parse(exampleJSON) as UpdatePipelineDto
|
|
37
|
+
console.log(exampleParsed)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
+
|
|
42
|
+
|
package/package.json
CHANGED