diff --git a/src/api/models/contentCreate.ts b/src/api/models/contentCreate.ts index 9e9c6266..050cbcb8 100644 --- a/src/api/models/contentCreate.ts +++ b/src/api/models/contentCreate.ts @@ -49,4 +49,12 @@ export interface ContentCreate { anonymous_export_view?: ContentBodyCreate; atlas_doc_format?: ContentBodyCreate; }; + /** + * The new version for the created content. + * To get the current version number, use [Get content by ID](#api-content-id-get) and retrieve `version.number`. + */ + version?: { + /** The version comment. */ + message?: string; + }; } diff --git a/src/api/models/contentUpdate.ts b/src/api/models/contentUpdate.ts index 931e99a4..10ee9be6 100644 --- a/src/api/models/contentUpdate.ts +++ b/src/api/models/contentUpdate.ts @@ -11,6 +11,8 @@ export interface ContentUpdate { version: { /** The version number. */ number: number; + /** The version comment. */ + message?: string; }; /** The updated title of the content. If you are not changing this field, set this to the current `title`. */ title: string;