Docs
Create draft
post /api/http/docs/drafts
|
Request arguments |
---|
object with fields: title : string ( Nullable and Optional , defaults to null )
text : string ( Nullable and Optional , defaults to null )
textVersion : integer (format: int64) ( Nullable and Optional )
type : DraftDocumentType ( Optional , defaults to "RICH_TEXT" )
folder : string ( Nullable and Optional , defaults to null )
publicationDetails2 : PublicationDetails ( Nullable and Optional )
|
|
Get draft
get /api/http/docs/drafts/{id}
|
Request arguments |
---|
id : string (Path) 
|
|
Update draft
patch /api/http/docs/drafts/{id}
|
Request arguments |
---|
id : string (Path) 
| object with fields: title : string ( Nullable and Optional , defaults to null )
text : string ( Nullable and Optional , defaults to null )
textVersion : integer (format: int64) ( Nullable and Optional )
type : DraftDocumentType ( Nullable and Optional , defaults to null )
folder : string ( Nullable and Optional , defaults to null )
publicationDetails2 : PublicationDetails ( Nullable and Optional )
|
|
Delete draft
delete /api/http/docs/drafts/{id}
|
Request arguments |
---|
id : string (Path) 
|
|
Create folder
post /api/http/docs/drafts/folder
|
Request arguments |
---|
object with fields: |
|
Get folder by alias
get /api/http/docs/drafts/folder/alias:{alias}
|
Request arguments |
---|
alias : string (Path) 
|
|
Delete folder
delete /api/http/docs/drafts/folder/{id}
|
Request arguments |
---|
id : string (Path) 
|
|
Update name
patch /api/http/docs/drafts/folder/{id}/name
|
Request arguments |
---|
id : string (Path) 
| object with fields: name : string 
|
|
Update parent
patch /api/http/docs/drafts/folder/{id}/parent
|
Request arguments |
---|
id : string (Path) 
| object with fields: parentFolderId : string 
|
|
Create profile
post /api/http/docs/drafts/{id}/editors/profiles
|
Request arguments |
---|
id : string (Path) 
| object with fields: editorId : string 
|
|
Get all profiles
get /api/http/docs/drafts/{id}/editors/profiles
|
Request arguments |
---|
id : string (Path) 
|
|
Delete profile
delete /api/http/docs/drafts/{id}/editors/profiles/{editorId}
|
Request arguments |
---|
id : string (Path) 
| editorId : string (Path) 
|
|
Create team
post /api/http/docs/drafts/{id}/editors/teams
|
Request arguments |
---|
id : string (Path) 
| object with fields: teamId : string 
|
|
Get all teams
get /api/http/docs/drafts/{id}/editors/teams
|
Request arguments |
---|
id : string (Path) 
|
|
Delete team
delete /api/http/docs/drafts/{id}/editors/teams/{teamId}
|
Request arguments |
---|
id : string (Path) 
| teamId : string (Path) 
|
|
Last modified: 27 May 2022