|
1 | 1 | /** |
2 | 2 | * Shotstack |
3 | | - * Shotstack is a video, image and audio editing service that allows for the automated generation of videos, images and audio using JSON and a RESTful API. You arrange and configure an edit and POST it to the API which will render your media and provide a file location when complete. For more details visit [shotstack.io](https://shotstack.io) or checkout our [getting started](https://shotstack.io/docs/guide/) documentation. There are three API\'s, one for editing and generating assets (Edit API), one for managing hosted assets (Serve API) and one for ingesting and transforming source assets (Ingest API). Each API has it\'s own base URL and collection of endpoints. Each API uses the same set of API keys. **[Edit API](#shotstack-edit)** - [https://api.shotstack.io/edit/{version}](#)<br> Edit videos, images and audio assets in the cloud using a simple JSON schema and templates. **[Serve API](#shotstack-serve)** - [https://api.shotstack.io/serve/{version}](#)<br> Inspect and manage the hosting of assets generated by the Edit and Ingest APIs. **[Ingest API](#shotstack-ingest)** - [https://api.shotstack.io/ingest/{version}](#)<br> Ingest (upload, store and transform) source footage, images, audio and fonts to be used by the Edit API. **[Create API](#shotstack-create)** - [https://api.shotstack.io/create/{version}](#)<br> Generate images, videos, voice overs and text using built in and third party generative AI providers. |
| 3 | + * Official Typescript SDK for the Shotstack Cloud Video Editing API |
4 | 4 | * |
5 | | - * The version of the OpenAPI document: v1 |
| 5 | + * OpenAPI spec version: v1 |
6 | 6 | * |
7 | 7 | * |
8 | 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
@@ -98,7 +98,7 @@ export class EditApi { |
98 | 98 | } |
99 | 99 |
|
100 | 100 | /** |
101 | | - * Delete a template by its template id. **Base URL:** https://api.shotstack.io/{version} |
| 101 | + * Delete a template by its template id. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a> |
102 | 102 | * @summary Delete Template |
103 | 103 | * @param id The id of the template in UUID format |
104 | 104 | */ |
@@ -162,7 +162,7 @@ export class EditApi { |
162 | 162 | }); |
163 | 163 | } |
164 | 164 | /** |
165 | | - * Get the rendering status, temporary asset url and details of a render by ID. **Base URL:** https://api.shotstack.io/{version} |
| 165 | + * Get the rendering status, temporary asset url and details of a render by ID. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a> |
166 | 166 | * @summary Get Render Status |
167 | 167 | * @param id The id of the timeline render task in UUID format |
168 | 168 | * @param data Include the data parameter in the response. The data parameter includes the original timeline, output and other settings sent to the API.<br><br><b>Note:</b> the default is currently `true`, this is deprecated and the default will soon be `false`. If you rely on the data being returned in the response you should explicitly set the parameter to `true`. |
@@ -244,7 +244,7 @@ export class EditApi { |
244 | 244 | }); |
245 | 245 | } |
246 | 246 | /** |
247 | | - * Retrieve a template by template id. **Base URL:** https://api.shotstack.io/{version} |
| 247 | + * Retrieve a template by template id. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a> |
248 | 248 | * @summary Retrieve Template |
249 | 249 | * @param id The id of the template in UUID format |
250 | 250 | */ |
@@ -316,7 +316,7 @@ export class EditApi { |
316 | 316 | }); |
317 | 317 | } |
318 | 318 | /** |
319 | | - * Retrieve a list of templates stored against a users account and stage. **Base URL:** https://api.shotstack.io/{version} |
| 319 | + * Retrieve a list of templates stored against a users account and stage. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a> |
320 | 320 | * @summary List Templates |
321 | 321 | */ |
322 | 322 | public async getTemplates (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: TemplateListResponse; }> { |
@@ -381,7 +381,7 @@ export class EditApi { |
381 | 381 | }); |
382 | 382 | } |
383 | 383 | /** |
384 | | - * Queue and render the contents of an [Edit](#tocs_edit) as a video, image or audio file. **Base URL:** https://api.shotstack.io/{version} |
| 384 | + * Queue and render the contents of an [Edit](#tocs_edit) as a video, image or audio file. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a> |
385 | 385 | * @summary Render Asset |
386 | 386 | * @param edit The video, image or audio edit specified using JSON. |
387 | 387 | */ |
@@ -453,7 +453,7 @@ export class EditApi { |
453 | 453 | }); |
454 | 454 | } |
455 | 455 | /** |
456 | | - * Save an [Edit](#tocs_edit) as a re-usable template. Templates can be retrieved and modified in your application before being rendered. [Merge fields](#tocs_mergefield) can be also used to merge data in to a template and [render](#render-template) it in a single request. **Base URL:** https://api.shotstack.io/{version} |
| 456 | + * Save an [Edit](#tocs_edit) as a re-usable template. Templates can be retrieved and modified in your application before being rendered. [Merge fields](#tocs_mergefield) can be also used to merge data in to a template and [render](#render-template) it in a single request. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a> |
457 | 457 | * @summary Create Template |
458 | 458 | * @param template Create a template with a name and [Edit](#tocs_edit). |
459 | 459 | */ |
@@ -525,7 +525,7 @@ export class EditApi { |
525 | 525 | }); |
526 | 526 | } |
527 | 527 | /** |
528 | | - * Render an asset from a template id and optional merge fields. Merge fields can be used to replace placeholder variables within the [Edit](#tocs_edit). **Base URL:** https://api.shotstack.io/{version} |
| 528 | + * Render an asset from a template id and optional merge fields. Merge fields can be used to replace placeholder variables within the [Edit](#tocs_edit). **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a> |
529 | 529 | * @summary Render Template |
530 | 530 | * @param templateRender Render a template by template id. |
531 | 531 | */ |
@@ -597,7 +597,7 @@ export class EditApi { |
597 | 597 | }); |
598 | 598 | } |
599 | 599 | /** |
600 | | - * Inspects any media asset (image, video, audio) on the internet using a hosted version of [FFprobe](https://ffmpeg.org/ffprobe.html). The probe endpoint returns useful information about an asset such as width, height, duration, rotation, framerate, etc... **Base URL:** https://api.shotstack.io/{version} |
| 600 | + * Inspects any media asset (image, video, audio) on the internet using a hosted version of [FFprobe](https://ffmpeg.org/ffprobe.html). The probe endpoint returns useful information about an asset such as width, height, duration, rotation, framerate, etc... **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a> |
601 | 601 | * @summary Inspect Media |
602 | 602 | * @param url The URL of the media to inspect, must be **URL encoded**. |
603 | 603 | */ |
@@ -669,7 +669,7 @@ export class EditApi { |
669 | 669 | }); |
670 | 670 | } |
671 | 671 | /** |
672 | | - * Update an existing template by template id. **Base URL:** https://api.shotstack.io/{version} |
| 672 | + * Update an existing template by template id. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a> |
673 | 673 | * @summary Update Template |
674 | 674 | * @param id The id of the template in UUID format |
675 | 675 | * @param template Update an individual templates name and [Edit](#tocs_edit). Both template name and template must be provided. If the template parameter is omitted a blank template will be saved. |
|
0 commit comments