You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Api/EndpointsApi.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
/**
13
13
* Shotstack
14
14
*
15
-
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details check https://shotstack.io
15
+
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details visit [shotstack.io](https://shotstack.io) or checkout our [getting started](https://shotstack.gitbook.io/docs/guides/getting-started) documentation.
Copy file name to clipboardExpand all lines: src/ApiException.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
/**
13
13
* Shotstack
14
14
*
15
-
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details check https://shotstack.io
15
+
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details visit [shotstack.io](https://shotstack.io) or checkout our [getting started](https://shotstack.gitbook.io/docs/guides/getting-started) documentation.
Copy file name to clipboardExpand all lines: src/Configuration.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
/**
13
13
* Shotstack
14
14
*
15
-
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details check https://shotstack.io
15
+
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details visit [shotstack.io](https://shotstack.io) or checkout our [getting started](https://shotstack.gitbook.io/docs/guides/getting-started) documentation.
Copy file name to clipboardExpand all lines: src/HeaderSelector.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
/**
13
13
* Shotstack
14
14
*
15
-
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details check https://shotstack.io
15
+
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details visit [shotstack.io](https://shotstack.io) or checkout our [getting started](https://shotstack.gitbook.io/docs/guides/getting-started) documentation.
Copy file name to clipboardExpand all lines: src/Model/AudioAsset.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
/**
14
14
* Shotstack
15
15
*
16
-
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details check https://shotstack.io
16
+
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details visit [shotstack.io](https://shotstack.io) or checkout our [getting started](https://shotstack.gitbook.io/docs/guides/getting-started) documentation.
Copy file name to clipboardExpand all lines: src/Model/Clip.php
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
/**
14
14
* Shotstack
15
15
*
16
-
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details check https://shotstack.io
16
+
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details visit [shotstack.io](https://shotstack.io) or checkout our [getting started](https://shotstack.gitbook.io/docs/guides/getting-started) documentation.
17
17
*
18
18
* The version of the OpenAPI document: v1
19
19
*
@@ -233,7 +233,6 @@ public function getModelName()
233
233
constEFFECT_SLIDE_RIGHT = 'slideRight';
234
234
constEFFECT_SLIDE_UP = 'slideUp';
235
235
constEFFECT_SLIDE_DOWN = 'slideDown';
236
-
constFILTER_BLUR = 'blur';
237
236
constFILTER_BOOST = 'boost';
238
237
constFILTER_CONTRAST = 'contrast';
239
238
constFILTER_DARKEN = 'darken';
@@ -304,7 +303,6 @@ public function getEffectAllowableValues()
Copy file name to clipboardExpand all lines: src/Model/Crop.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
/**
14
14
* Shotstack
15
15
*
16
-
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details check https://shotstack.io
16
+
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details visit [shotstack.io](https://shotstack.io) or checkout our [getting started](https://shotstack.gitbook.io/docs/guides/getting-started) documentation.
Copy file name to clipboardExpand all lines: src/Model/Edit.php
+71-7Lines changed: 71 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
/**
14
14
* Shotstack
15
15
*
16
-
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details check https://shotstack.io
16
+
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details visit [shotstack.io](https://shotstack.io) or checkout our [getting started](https://shotstack.gitbook.io/docs/guides/getting-started) documentation.
17
17
*
18
18
* The version of the OpenAPI document: v1
19
19
*
@@ -63,7 +63,8 @@ class Edit implements ModelInterface, ArrayAccess, \JsonSerializable
63
63
protectedstatic$openAPITypes = [
64
64
'timeline' => '\Shotstack\Client\Model\Timeline',
65
65
'output' => '\Shotstack\Client\Model\Output',
66
-
'callback' => 'string'
66
+
'callback' => 'string',
67
+
'disk' => 'string'
67
68
];
68
69
69
70
/**
@@ -76,7 +77,8 @@ class Edit implements ModelInterface, ArrayAccess, \JsonSerializable
76
77
protectedstatic$openAPIFormats = [
77
78
'timeline' => null,
78
79
'output' => null,
79
-
'callback' => null
80
+
'callback' => null,
81
+
'disk' => null
80
82
];
81
83
82
84
/**
@@ -108,7 +110,8 @@ public static function openAPIFormats()
108
110
protectedstatic$attributeMap = [
109
111
'timeline' => 'timeline',
110
112
'output' => 'output',
111
-
'callback' => 'callback'
113
+
'callback' => 'callback',
114
+
'disk' => 'disk'
112
115
];
113
116
114
117
/**
@@ -119,7 +122,8 @@ public static function openAPIFormats()
119
122
protectedstatic$setters = [
120
123
'timeline' => 'setTimeline',
121
124
'output' => 'setOutput',
122
-
'callback' => 'setCallback'
125
+
'callback' => 'setCallback',
126
+
'disk' => 'setDisk'
123
127
];
124
128
125
129
/**
@@ -130,7 +134,8 @@ public static function openAPIFormats()
130
134
protectedstatic$getters = [
131
135
'timeline' => 'getTimeline',
132
136
'output' => 'getOutput',
133
-
'callback' => 'getCallback'
137
+
'callback' => 'getCallback',
138
+
'disk' => 'getDisk'
134
139
];
135
140
136
141
/**
@@ -174,9 +179,24 @@ public function getModelName()
174
179
returnself::$openAPIModelName;
175
180
}
176
181
182
+
constDISK_LOCAL = 'local';
183
+
constDISK_MOUNT = 'mount';
177
184
178
185
179
186
187
+
/**
188
+
* Gets allowable values of the enum
189
+
*
190
+
* @return string[]
191
+
*/
192
+
publicfunctiongetDiskAllowableValues()
193
+
{
194
+
return [
195
+
self::DISK_LOCAL,
196
+
self::DISK_MOUNT,
197
+
];
198
+
}
199
+
180
200
181
201
/**
182
202
* Associative array for storing property values
@@ -196,6 +216,7 @@ public function __construct(array $data = null)
@@ -213,6 +234,15 @@ public function listInvalidProperties()
213
234
if ($this->container['output'] === null) {
214
235
$invalidProperties[] = "'output' can't be null";
215
236
}
237
+
$allowedValues = $this->getDiskAllowableValues();
238
+
if (!is_null($this->container['disk']) && !in_array($this->container['disk'], $allowedValues, true)) {
239
+
$invalidProperties[] = sprintf(
240
+
"invalid value '%s' for 'disk', must be one of '%s'",
241
+
$this->container['disk'],
242
+
implode("', '", $allowedValues)
243
+
);
244
+
}
245
+
216
246
return$invalidProperties;
217
247
}
218
248
@@ -289,7 +319,7 @@ public function getCallback()
289
319
/**
290
320
* Sets callback
291
321
*
292
-
* @param string|null $callback An optional webhook callback URL used to receive status notifications when a render completes or fails.
322
+
* @param string|null $callback An optional webhook callback URL used to receive status notifications when a render completes or fails. See [webhooks](https://shotstack.gitbook.io/docs/guides/architecting-an-application/webhooks) for more details.
293
323
*
294
324
* @return self
295
325
*/
@@ -299,6 +329,40 @@ public function setCallback($callback)
299
329
300
330
return$this;
301
331
}
332
+
333
+
/**
334
+
* Gets disk
335
+
*
336
+
* @return string|null
337
+
*/
338
+
publicfunctiongetDisk()
339
+
{
340
+
return$this->container['disk'];
341
+
}
342
+
343
+
/**
344
+
* Sets disk
345
+
*
346
+
* @param string|null $disk The disk type to use for storing footage and assets for each render. See [disk types](https://shotstack.gitbook.io/docs/guides/architecting-an-application/disk-types) for more details. <ul> <li>`local` - optimised for high speed rendering with up to 512MB storage</li> <li>`mount` - optimised for larger file sizes and longer videos with 5GB for source footage and 512MB for output render</li> </ul>
347
+
*
348
+
* @return self
349
+
*/
350
+
publicfunctionsetDisk($disk)
351
+
{
352
+
$allowedValues = $this->getDiskAllowableValues();
353
+
if (!is_null($disk) && !in_array($disk, $allowedValues, true)) {
354
+
thrownew \InvalidArgumentException(
355
+
sprintf(
356
+
"Invalid value '%s' for 'disk', must be one of '%s'",
Copy file name to clipboardExpand all lines: src/Model/Font.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
/**
14
14
* Shotstack
15
15
*
16
-
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details check https://shotstack.io
16
+
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details visit [shotstack.io](https://shotstack.io) or checkout our [getting started](https://shotstack.gitbook.io/docs/guides/getting-started) documentation.
17
17
*
18
18
* The version of the OpenAPI document: v1
19
19
*
@@ -36,7 +36,7 @@
36
36
* Font Class Doc Comment
37
37
*
38
38
* @category Class
39
-
* @description Download a custom font to use with the HTML asset type, using the font name in the CSS or font tag.
39
+
* @description Download a custom font to use with the HTML asset type, using the font name in the CSS or font tag. See our [custom fonts](https://shotstack.io/learn/html-custom-fonts/) getting started guide for more details.
Copy file name to clipboardExpand all lines: src/Model/HtmlAsset.php
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
/**
14
14
* Shotstack
15
15
*
16
-
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details check https://shotstack.io
16
+
* The Shotstack API is a video editing service that allows for the automated creation of videos using JSON. You can configure an edit and POST it to the Shotstack API which will render your video and provide a file location when complete. For more details visit [shotstack.io](https://shotstack.io) or checkout our [getting started](https://shotstack.gitbook.io/docs/guides/getting-started) documentation.
17
17
*
18
18
* The version of the OpenAPI document: v1
19
19
*
@@ -327,7 +327,7 @@ public function getHtml()
327
327
/**
328
328
* Sets html
329
329
*
330
-
* @param string $html The HTML text string.
330
+
* @param string $html The HTML text string. See list of [supported HTML tags](https://shotstack.gitbook.io/docs/guides/architecting-an-application/html-support#supported-html-tags).
331
331
*
332
332
* @return self
333
333
*/
@@ -351,7 +351,7 @@ public function getCss()
351
351
/**
352
352
* Sets css
353
353
*
354
-
* @param string|null $css The CSS text string to apply styling to the HTML.
354
+
* @param string|null $css The CSS text string to apply styling to the HTML. See list of [support CSS properties](https://shotstack.gitbook.io/docs/guides/architecting-an-application/html-support#supported-html-tags).
355
355
*
356
356
* @return self
357
357
*/
@@ -375,7 +375,7 @@ public function getWidth()
375
375
/**
376
376
* Sets width
377
377
*
378
-
* @param int|null $width Set the width of the HTML asset bounding box. Text will wrap to fill the bounding box.
378
+
* @param int|null $width Set the width of the HTML asset bounding box in pixels. Text will wrap to fill the bounding box.
379
379
*
380
380
* @return self
381
381
*/
@@ -399,7 +399,7 @@ public function getHeight()
399
399
/**
400
400
* Sets height
401
401
*
402
-
* @param int|null $height Set the width of the HTML asset bounding box. Text and elements will be masked if they exceed the height of the bounding box.
402
+
* @param int|null $height Set the width of the HTML asset bounding box in pixels. Text and elements will be masked if they exceed the height of the bounding box.
0 commit comments