Skip to content

Commit 195d37b

Browse files
authored
version comment (#140)
1 parent 198bf47 commit 195d37b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/api/models/contentCreate.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,12 @@ export interface ContentCreate {
4949
anonymous_export_view?: ContentBodyCreate;
5050
atlas_doc_format?: ContentBodyCreate;
5151
};
52+
/**
53+
* The new version for the created content.
54+
* To get the current version number, use [Get content by ID](#api-content-id-get) and retrieve `version.number`.
55+
*/
56+
version?: {
57+
/** The version comment. */
58+
message?: string;
59+
};
5260
}

src/api/models/contentUpdate.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ export interface ContentUpdate {
1111
version: {
1212
/** The version number. */
1313
number: number;
14+
/** The version comment. */
15+
message?: string;
1416
};
1517
/** The updated title of the content. If you are not changing this field, set this to the current `title`. */
1618
title: string;

0 commit comments

Comments
 (0)