@umbraco-cms/backoffice
Preparing search index...
packages/core/backend-api
DocumentVersionService
Class DocumentVersionService
Index
Constructors
constructor
Methods
get
Document
Version
get
Document
Version
By
Id
post
Document
Version
By
Id
Rollback
put
Document
Version
By
Id
Prevent
Cleanup
Constructors
constructor
new
DocumentVersionService
()
:
DocumentVersionService
Returns
DocumentVersionService
Methods
Static
get
Document
Version
getDocumentVersion
<
ThrowOnError
extends
boolean
=
true
>
(
options
:
Options
<
GetDocumentVersionData
,
ThrowOnError
>
,
)
:
RequestResult
<
GetDocumentVersionResponses
,
GetDocumentVersionErrors
,
ThrowOnError
,
"fields"
,
>
Type Parameters
ThrowOnError
extends
boolean
=
true
Parameters
options
:
Options
<
GetDocumentVersionData
,
ThrowOnError
>
Returns
RequestResult
<
GetDocumentVersionResponses
,
GetDocumentVersionErrors
,
ThrowOnError
,
"fields"
,
>
Static
get
Document
Version
By
Id
getDocumentVersionById
<
ThrowOnError
extends
boolean
=
true
>
(
options
:
Options
<
GetDocumentVersionByIdData
,
ThrowOnError
>
,
)
:
RequestResult
<
GetDocumentVersionByIdResponses
,
GetDocumentVersionByIdErrors
,
ThrowOnError
,
"fields"
,
>
Type Parameters
ThrowOnError
extends
boolean
=
true
Parameters
options
:
Options
<
GetDocumentVersionByIdData
,
ThrowOnError
>
Returns
RequestResult
<
GetDocumentVersionByIdResponses
,
GetDocumentVersionByIdErrors
,
ThrowOnError
,
"fields"
,
>
Static
post
Document
Version
By
Id
Rollback
postDocumentVersionByIdRollback
<
ThrowOnError
extends
boolean
=
true
>
(
options
:
Options
<
PostDocumentVersionByIdRollbackData
,
ThrowOnError
>
,
)
:
RequestResult
<
PostDocumentVersionByIdRollbackResponses
,
PostDocumentVersionByIdRollbackErrors
,
ThrowOnError
,
"fields"
,
>
Type Parameters
ThrowOnError
extends
boolean
=
true
Parameters
options
:
Options
<
PostDocumentVersionByIdRollbackData
,
ThrowOnError
>
Returns
RequestResult
<
PostDocumentVersionByIdRollbackResponses
,
PostDocumentVersionByIdRollbackErrors
,
ThrowOnError
,
"fields"
,
>
Static
put
Document
Version
By
Id
Prevent
Cleanup
putDocumentVersionByIdPreventCleanup
<
ThrowOnError
extends
boolean
=
true
>
(
options
:
Options
<
PutDocumentVersionByIdPreventCleanupData
,
ThrowOnError
>
,
)
:
RequestResult
<
PutDocumentVersionByIdPreventCleanupResponses
,
PutDocumentVersionByIdPreventCleanupErrors
,
ThrowOnError
,
"fields"
,
>
Type Parameters
ThrowOnError
extends
boolean
=
true
Parameters
options
:
Options
<
PutDocumentVersionByIdPreventCleanupData
,
ThrowOnError
>
Returns
RequestResult
<
PutDocumentVersionByIdPreventCleanupResponses
,
PutDocumentVersionByIdPreventCleanupErrors
,
ThrowOnError
,
"fields"
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Document
Version
get
Document
Version
By
Id
post
Document
Version
By
Id
Rollback
put
Document
Version
By
Id
Prevent
Cleanup
@umbraco-cms/backoffice
Loading...