Skip to content

Commit 264b870

Browse files
Merge pull request #29 from apivideo/remove-publishedat-in-creation-payload
Remove publishedAt in video creation payload
2 parents 0190abb + 482bc4f commit 264b870

File tree

6 files changed

+64
-76
lines changed

6 files changed

+64
-76
lines changed

doc/api/VideosApi.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,6 @@ apiVideoClient.videos().uploadWithUploadToken(token, file);
367367
playerId: "pl45KFKdlddgk654dspkze", // The unique identification number for your video player.
368368
tags: ["maths", "string theory", "video"], // A list of tags you want to use to describe your video.
369369
metadata: [{"key": "Author", "value": "John Doe"}], // A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. You can also just use the pairs as another way to tag and categorize your videos.
370-
publishedAt: "2020-07-14T23:36:18.598Z", // The API uses ISO-8601 format for time, and includes 3 places for milliseconds.
371370
};
372371

373372
// Video

doc/model/VideoCreationPayload.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Name | Type | Description | Notes
1414
**playerId** | **string** | The unique identification number for your video player. | [optional]
1515
**tags** | **Array<string>** | A list of tags you want to use to describe your video. | [optional]
1616
**metadata** | [**Array<Metadata>**](Metadata.md) | A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. You can also just use the pairs as another way to tag and categorize your videos. | [optional]
17-
**publishedAt** | **Date** | The API uses ISO-8601 format for time, and includes 3 places for milliseconds. | [optional]
1817

1918

2019

package-lock.json

Lines changed: 62 additions & 62 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@api.video/nodejs-client",
3-
"version": "2.0.8",
3+
"version": "2.0.9",
44
"description": "api.video nodejs client",
55
"author": "api.video ecosystem team",
66
"engines": {

src/HttpClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default class HttpClient {
3737
this.chunkSize = params.chunkSize;
3838
this.tokenType = 'Bearer';
3939
this.headers = {
40-
'User-Agent': `api.video client (nodejs; v:2.0.8; )`,
40+
'User-Agent': `api.video client (nodejs; v:2.0.9; )`,
4141
Accept: 'application/json, */*;q=0.8',
4242
};
4343
this.baseRequest = got.extend({

src/model/VideoCreationPayload.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ export default class VideoCreationPayload {
4949
* A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. You can also just use the pairs as another way to tag and categorize your videos.
5050
*/
5151
'metadata'?: Array<Metadata>;
52-
/**
53-
* The API uses ISO-8601 format for time, and includes 3 places for milliseconds.
54-
*/
55-
'publishedAt'?: Date;
5652

5753
static readonly discriminator?: string = undefined;
5854

@@ -111,12 +107,6 @@ export default class VideoCreationPayload {
111107
type: 'Array<Metadata>',
112108
format: '',
113109
},
114-
{
115-
name: 'publishedAt',
116-
baseName: 'publishedAt',
117-
type: 'Date',
118-
format: 'date-time',
119-
},
120110
];
121111

122112
static getAttributeTypeMap(): Array<AttributeType> {

0 commit comments

Comments
 (0)