Optional
ancestorsThe id
of the parent content.
Optional
bodyThe body of the new content. Does not apply to attachments. Only one body format should be specified as the
property for this object, e.g. storage
.
Note, editor2
format is used by Atlassian only. anonymous_export_view
is the same as 'export_view' format but
only content viewable by an anonymous user is included.
Optional
anonymous_Optional
atlas_Optional
editor2?: ContentBodyCreateOptional
export_Optional
storage?: ContentBodyCreateOptional
styled_Optional
view?: ContentBodyCreateOptional
containerThe container of the content. Required if type is comment
or certain types of custom content. If you are trying
to create a comment that is a child of another comment, specify the parent comment in the ancestors field, not in
this field.
The id
of the container.
The type
of the container.
Optional
idThe ID of the draft content. Required when publishing a draft.
The space that the content is being created in.
The key of the space.
Optional
statusThe status of the new content.
The type of the new content. Custom content types defined by apps are also supported.
Optional
versionThe new version for the created content.
To get the current version number, use Get content by ID and retrieve version.number
.
Optional
message?: stringThe version comment.
Generated using TypeDoc v0.25.12
The parent content of the new content. If you are creating a top-level
page
orcomment
, this can be left blank. If you are creating a child page, this is where the parent page id goes. If you are creating a child comment, this is where the parent comment id goes. Only one parent content id can be specified.