Examples

Examples

Action usage examples


addAttachment

--action addAttachment --space "zcliattachments" --title "@home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/data.txt" --name "large.zip"

--action addAttachment --space "zcliattachments" --title "@home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/data.txt" --name "xxx.txt" --minor

--action addAttachment --space "zcliattachments" --title "@home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/empty.txt"

--action addAttachment --space "zcliattachments" --title "attachment page" --content "attachment content" --name "data.txt" --comment "attachment comment"

--action addAttachment --space "zcliattachments" --title "attachment page" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/binary.bin"

--action addAttachment --space "zcliattachments" --title "attachment page" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/data.txt" --comment "attachment comment" --verbose

--action addAttachment --space "zcliattachmentversions" --title "@home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/picture.png"

--action addAttachment --space "zcliattachmentversions" --title "@home" --name "hexFile" --encoding "hex_string" --file "-"

--action addAttachment --space "zcliattachmentversions" --title "@home" --name "hexString" --encoding "hex_string" --content "\\x 31 32 33 34"

--action addAttachment --space "zcliattachmentversions" --title "@home" --name "hexString2" --encoding "hex_string" --content "31323334"

--action addAttachment --space "zcliattachmentversions" --title "@home" --name "remove.txt" --content "text - 1" --comment "version-1"

--action addAttachment --space "zcliattachmentversions" --title "@home" --name "remove.txt" --content "text - 2" --comment "version-2"

--action addAttachment --space "zcliattachmentversions" --title "history" --name "remove.txt" --labels "labels1 labels2" --content "text - 1" --comment "version-1"

--action addAttachment --space "zcliattachmentversions" --title "history" --name "remove.txt" --labels "labels1 labels2" --content "text - 2" --comment "version-2"

--action addAttachment --space "zcliattachmentversions" --title "history" --name "remove.txt" --labels "labels1 labels2" --content "text - 3" --comment "version-3"

--action addAttachment --space "zcliattachmentversions" --title "history" --name "remove.txt" --labels "labels1 labels2" --content "text - 4" --comment "version-4"

--action addAttachment --space "zcliattachmentversions" --title "history" --name "remove.txt" --labels "labels1 labels2" --content "text - 5" --comment "version-5"

--action addAttachment --space "zcliattachmentversions" --title "history" --name "remove.txt" --labels "labels1 labels2" --content "text - 6" --comment "version-6"

--action addAttachment --space "zcliblogs" --title "addBlog1" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/data.txt" --content "This is a test blog." --dayOfMonth 1 --month 2 --year 2023

--action addAttachment --space "zclipages" --title "This is title 0" --content "attachment content" --name "data.txt"

--action addAttachment --space "zclishortcuts" --title "@home" --name "test.txt" --content "For shortcut to an attachment"

--action addAttachment --space "zconfluencecli" --title "This is title 0" --content "attachment content" --name "data.txt"

--action addAttachment --space "zexport" --title "@home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/data.txt"

--action addAttachment --space "zpublish" --title "@home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/picture.png"

addAttachments

--action addAttachments --space "zcliattachmentversions" --title "addAttachmentsPage" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources" --regex "recursive.*\\.txt" --recursive

--action addAttachments --space "zcliattachmentversions" --title "addAttachmentsPage" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources" --regex "run.*\\.txt" --labels "labels1 labels2"

--action addAttachments --space "zcliattachmentversions" --title "addAttachmentsPage" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources" --regex "xxxxxxxxx"

--action addAttachments --space "zcliattachmentversions" --title "addAttachmentsPage" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/run.sql" --regex "run.*" --mime "sql"

addBlog

--action addBlog --space "zcliblogs" --title "addBlog1" --content "This is a test blog." --content2 "link: [google|http://google.com]" --dayOfMonth 1 --month 2 --year 2023 --labels "blog"

--action addBlog --space "zcliblogs" --title "addBlog1" --content "This is a test blog." --year 2010

--action addBlog --space "zconfluencecli" --title "addBlog1" --content "This is a test blog."

addComment

--action addComment --id "553713784" --comment "Threaded comment"

--action addComment --space "zcliblogs" --title "addBlog1" --comment "Test content with wiki (/)" --dayOfMonth 1 --month 2 --year 2023

--action addComment --space "zclipages" --title "@home" --comment "{info} Comment 1 * bullet 1 {info}"

--action addComment --space "zconfluencecli" --title "This is title 0" --comment "Comment 2"

addGroup

--action addGroup --group "testgroup1"

addLabels

--action addLabels --labels "data2,txt2" --id "553714346"

--action addLabels --space "zcliattachments" --title "attachment page" --name "data.txt" --labels "data,txt"

--action addLabels --space "zclipages" --title "This is title 0" --labels "testLabel1, testLabel2"

--action addLabels --space "zconfluencecli" --labels "cli, cli2"

--action addLabels --space "zconfluencecli" --title "This is title 0" --labels "testLabel1, testLabel2"

addPage

--action addPage --space "zclipages" --title "This is title 0" --content "This is a test page." --continue

--action addPage --space "zclipages" --title "This is title 0" --content "This is a test page." --parent "Home"

--action addPage --space "zclipermissions" --title "child1" --parent "children"

--action addPage --space "zclipermissions" --title "child1-1" --parent "child1"

--action addPage --space "zclipermissions" --title "child1-2" --parent "child1"

--action addPage --space "zclipermissions" --title "child2" --parent "children"

--action addPage --space "zclipermissions" --title "child2-1" --parent "child2"

--action addPage --space "zclipermissions" --title "multipleUsers" --parent "@home"

--action addPage --space "zconfluencecli" --title "This is title 0" --content "This is a test page." --parent "Home"

addPermissions

--action addPermissions --permissions "edit" --group "confluence-administrators" --id "553714222"

--action addPermissions --space "zclipermissions" --group "confluence-users" --permissions "viewspace,editspace,setpagepermissions,removepage,editblog,removeblog,comment,removecomment,createattachment,removeattachment,exportspace"

--action addPermissions --space "zclipermissions" --id "553714180" --permissions "Edit, View" --userId "admin"

--action addPermissions --space "zclipermissions" --title "children" --permissions "edit" --descendents --userId "automation"

--action addPermissions --space "zclipermissions" --title "multipleUsers" --permissions "edit" --userId "admin,automation"

--action addPermissions --space "zclipermissions" --userId "clipermissions" --permissions "@all"

--action addPermissions --space "zclipermissions" --userId "clipermissions" --permissions "VIEWSPACE"

--action addPermissions --space "zclipermissions2" --group "confluence-administrators" --permissions "viewspace,editspace,setpagepermissions,removepage,exportspace"

--action addPermissions --space "zclipermissionsTarget308383" --userId "admin" --permissions "viewspace,editspace"

--action addPermissions --space "zclispaces4" --permissions "@all" --group "confluence-administrators"

--action addPermissions --space "zexport" --permissions "VIEWSPACE,EXPORTSPACE" --userId "user"

--action addPermissions --space "zexport" --title "viewRestricted" --permissions "view" --userId "developer"

addQuestion

--action addQuestion --title "zquestions_100 with some special characters < - + ( ) @ # $ & % ^ *" --topic "zquestions_1" --content "xxx"

addQuestionWatch

--action addQuestionWatch --title "@ALL"

--action addQuestionWatch --title "zquestions_100 with some special characters < - + ( ) @ # $ & % ^ *"

addShortcut

--action addShortcut --space "zclishortcuts" --id "553713719"

--action addShortcut --space "zclishortcuts" --name "Shortcut 1" --url "https://google.com"

--action addShortcut --space "zclishortcuts" --title "@home"

--action addShortcut --space "zclishortcuts" --url "https://google.com"

addSpace

--action addSpace --home "My home" --userId "developer" --description "Space description YYY"

--action addSpace --space "zclispaces4" --name "zclispaces with blueprint" --description "blueprint" --blueprint "Team space"

--action addSpace --space "zconfluencecliExport" --continue

addTopic

--action addTopic --name "zquestions_1" --replace

--action addTopic --name "zquestions_2" --description "Some nice description" --featured --avatar "https://bobswift.atlassian.net/wiki/download/thumbnails/20054081/CLI-Icon-Round-72px.png"

--action addTopic --name "zquestions_3" --description "Some nice description" --featured --avatar "https://bobswift.atlassian.net/wiki/download/thumbnails/20054081/CLI-Icon-Round-72px.png"

--action addTopic --name "zquestions_Last" --replace

addTopicWatch

--action addTopicWatch --topic "zquestions_1"

addUser

--action addUser --userId "testuser1" --userFullName "Test User1" --userEmail "testuser1x@examplegear.com" --continue --userPassword "***"

--action addUser --userId "testuser2" --userEmail "testuser2@examplegear.com" --continue --group "testgroup1"

--action addUser --userId "testuser3" --userEmail "testuser3@examplegear.com" --continue

--action addUser --userId "user encode" --userEmail "testuser1@examplegear.com" --userPassword "***" --continue

addUserPicture

--action addUserPicture --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/picture.png" --userId "testuser2"

addUserToGroup

--action addUserToGroup --userId "testuser3" --group "testgroup2" --autoGroup --verbose

--action addUserToGroup --userId "testuser3" --group "testgroup2" --continue

--action addUserToGroup --userId "user encode" --group "confluence-administrators"

addWatch

--action addWatch --space "zcliwatch"

--action addWatch --space "zcliwatch" --title "@home" --userId "user encode cli" --descendents

--action addWatch --space "zcliwatch" --title "watch1" --userId "user encode cli"

addWebhook

--action addWebhook --name "zwebhooks1" --events "page_created,page_deleted,page_updated" --url "https://examplegear.com/acli"

--action addWebhook --name "zwebhooks1" --url "https://examplegear.com/acli" --events "BAD"

--action addWebhook --name "zwebhooks2" --events "page_created,page_deleted,page_updated" --url "https://examplegear.com/acli" --options "disable" --options "secret=abcdefghi"

convertToStorageFormat

--action convertToStorageFormat --content "{@macroName@:param1=xxxxx}bodyText{@macroName@}" --findReplace "@macroName@:wiki"

--action convertToStorageFormat --content "{wiki:param1=xxxxx}" --file "-" --content2 "{wiki}"

--action convertToStorageFormat --content "{wiki:param1=xxxxx}bodyText" --content2 "{wiki}"

--action convertToStorageFormat --content "テストテスト testtest 今日明日明後日 あああああ testaaaaaaaaaaaaaaa 123456"

--action convertToStorageFormat --space "zclimarkdown" --title "markdown" --markdown --content "[[home]] [[zclimarkdown:home]] [[aaa|zclimarkdown:home]] [[zclimarkdown:]] [[bbb|zclimarkdown:]] [[zzz|https://google.com]] Special characters: !@#\$%^&*()_<>'. xxx@xxx.com other: “aaa” ’bbb‘ — – … Special characters2: \" – — ‘ ’ “ ” ‹ › € "

copyAttachment

--action copyAttachment --space "zcliattachmentversions" --title "@home" --name "picture.png" --newTitle "addAttachmentsPage"

copyAttachments

--action copyAttachments --space "zcliattachmentversions" --title "@home" --newTitle "addAttachmentsPage"

--action copyAttachments --space "zclispaces" --title "This is title" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclispacesTarget516427" --newTitle "This is a new title" --verbose --regex "data.*"

--action copyAttachments --space "zclispaces" --title "This is title" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclispacesTarget965275" --newTitle "This is a new title" --verbose --regex "data.*"

--action copyAttachments --targetServer "https://confluence.examplegear.com" --targetUser "automation" --id "553713791" --newSpace "zclispacesTarget965275" --newTitle "This is a new title" --regex "xxx.*"

--action copyAttachments --targetServer "https://confluence.examplegear.com" --targetUser "automation" --id "553714366" --newSpace "zclispacesTarget516427" --newTitle "This is a new title" --regex "xxx.*"

copyBlog

--action copyBlog --space "zcliblogs" --title "addBlog1" --newTitle "copyBlog1" --replace --dayOfMonth 1 --month 2 --year 2023 --toMonth 3

--action copyBlog --space "zcliblogs" --title "addBlog1" --newTitle "copyBlogRetainPostingDate" --replace --dayOfMonth 1 --month 2 --year 2023 --commentPrefix "Original creator: @creator@ <br/> Source space: @space@ <br/> Source title: @title@ <br/> Source time created: @createdTime@ <br/> "

--action copyBlog --space "zcliblogs" --title "addBlog1" --newTitle "copyBlogWithCommentsAndAttachments" --replace --copyComments --copyAttachments --copyLabels

copyComments

--action copyComments --space "zclipages" --title "@home" --newTitle "This is title 0"

copyLabels

--action copyLabels --space "zclipages" --title "This is title 0" --newTitle "labels"

copyPage

--action copyPage --id "553713903" --newTitle "This is a new title 3" --parent "@home" --replace

--action copyPage --id "553713903" --newTitle "This is a new title 4" --parent "553713903" --replace

--action copyPage --space "zcliattachments" --title "attachment page" --newTitle "attachment pagecopy" --copyAttachments --replace

--action copyPage --space "zclipages" --title "@home" --newTitle "This is a new title 0" --continue

--action copyPage --space "zclipages" --title "Home" --newSpace "zclipagesA" --newTitle "XXX" --parent "@home" --replace --children

--action copyPage --space "zclipages" --title "Home" --newTitle "AAA@title@BBB" --parent "@home" --replace --descendents

--action copyPage --space "zclipages" --title "Home" --newTitle "This is new title 1" --newSpace "zclipagesA" --parent "@home" --replace --descendents --copyAttachments --copyComments --copyLabels --copyPermissions

--action copyPage --space "zclipages" --title "This is title 0" --newTitle "This is a new title 0" --parent "Home" --replace

--action copyPage --space "zclipages" --title "This is title 0" --newTitle "labels" --parent "@home" --content "Page for labels" --replace

--action copyPage --space "zclipages" --title "This is title 0" --newTitle "newReplace" --replaceTitle "replace" --replace

--action copyPage --space "zclipages" --title "template" --newTitle "template copy" --parent "template" --findReplace "\$VAR1\$#value for variable 1" --findReplace "%VAR2%#value for variable 2" --findReplace "(VAR3)#value for variable 3" --special " #" --replace

--action copyPage --space "zclipermissions" --title "children" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclipermissionsTarget308383" --copyPermissions --replace --children --verbose

--action copyPage --space "zclispaces" --title "This is title" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newTitle "This is a new title" --newSpace "zclispacesTarget516427" --replace --copyAttachments --copyComments --copyLabels --commentPrefix "Creator: @creator@, space: @space@, title: @title@, time: @createdTime@" --noConvert

--action copyPage --space "zclispaces" --title "This is title" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newTitle "This is a new title" --newSpace "zclispacesTarget965275" --replace --copyAttachments --copyComments --copyLabels --commentPrefix "Creator: @creator@, space: @space@, title: @title@, time: @createdTime@" --noConvert

--action copyPage --space "zmisc" --title "csoap-523" --newTitle "csoap-523 copy" --parent "@home" --replace --topic "rest"

copyPageChildren

--action copyPageChildren --id "553713903" --newTitle "This is a new title 4" --parent "553713903" --replace

--action copyPageChildren --space "zclipages" --title "Home" --newSpace "zclipagesA" --parent "This is a new title 2" --replace --descendents --copyComments --copyLabels

--action copyPageChildren --space "zclipagesh1" --title "AAA" --newSpace "zclipagesh2" --replace

copyPermissions

--action copyPermissions --space "zclipermissions" --newSpace "zclipermissions2"

--action copyPermissions --space "zclipermissions" --newSpace "zclipermissions2" --append

--action copyPermissions --space "zclipermissions" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclipermissionsTarget308383"

--action copyPermissions --space "zclipermissions" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclipermissionsTarget308383" --mergePermissions

--action copyPermissions --space "zclipermissions" --title "children" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclipermissionsTarget308383"

copySpace

--action copySpace --space "zclipermissions" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclipermissionsAnotherTarget308383" --name "zclipermissionsAnotherTarget308383" --description "copied space" --replace --verbose --copyPermissions --mergePermissions

--action copySpace --space "zclipermissions" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclipermissionsTarget308383" --name "zclipermissionsTarget308383" --description "copied space" --replace --descendents

--action copySpace --space "zclispaces" --newSpace "zclispaces3" --copyCategories --description "copied space"

--action copySpace --space "zclispaces" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclispaces3Target516427" --continue --replace

--action copySpace --space "zclispaces" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --newSpace "zclispaces3Target516427" --name "zclispaces3Target516427" --description "new description" --replace --copyBlogs --copyAttachments --copyComments --copyLabels

--action copySpace --space "~developer" --targetServer "https://confluence.examplegear.com" --targetUser "automation" --replace

exportData

--action exportData --space "zexport" --exportType "groups"

--action exportData --space "zexport" --exportType "participants"

--action exportData --space "zexport" --exportType "users" --limit 55

--action exportData --space "zexport" --exportType "users" --options "includeGroups" --limit 55

--action exportData --space "zexport" --exportType "users" --regex "(?i).*developer.*"

--action exportData --space "zexport" --file "build/output/export/exportDataSpace.txt"

exportPage

--action exportPage --file "build/output/cliblogs" --id "553714000" --options "addAttachment"

--action exportPage --space "zcliblogs" --title "addBlog1" --file "build/output/cliblogs" --dayOfMonth 1 --month 2 --year 2023

--action exportPage --space "zexport" --title "@home" --file "."

--action exportPage --space "zexport" --title "@home" --file "@default"

--action exportPage --space "zexport" --title "@home" --file "@default" --options "addAttachment"

--action exportPage --space "zexport" --title "@home" --file "@default" --options "addAttachment" --newSpace "zconfluencecliExport2"

--action exportPage --space "zexport" --title "@home" --file "build/output/export" --children

--action exportPage --space "zexport" --title "@home" --file "build/output/export" --options "addAttachment"

--action exportPage --space "zexport" --title "@home" --file "build/output/export" --options "addAttachment" --children

--action exportPage --space "zexport" --title "Special: &" --file "build/output/export"

--action exportPage --space "zexport" --title "viewRestricted" --file "build/output/export" --descendents

--action exportPage --space "zexport" --title "viewRestricted" --file "build/output/export/exportPage.pdf"

exportSpace

--action exportSpace --space "zconfluencecliExport" --file "build/output/export/exportSpace.zip"

--action exportSpace --space "zexport" --file "build/output/export/exportSpaceHtml.zip" --exportType "HTML"

--action exportSpace --space "zexport" --file "build/output/export/exportSpaceXml.zip"

--action exportSpace --space "zexport" --file "build/output/export/exportSpaceXml.zip" --options "useUIApi"

--action exportSpace --space "zexport" --file "build/output/export/exportSpacepdf.txt" --exportType "PDF"

--action exportSpace --space "zexport" --title "@home" --file "build/output/export/exportSpacepageHierarchypdf.txt" --exportType "PDF" --options "addPageNumbers"

getApp

--action getApp --app "@default"

--action getApp --app "org.swift.confluence.html"

getApplicationLinkList

--action getApplicationLinkList

--action getApplicationLinkList --outputFormat 999

getAttachment

--action getAttachment --file "build/output/cliattachments/binary.bin" --id "553714345"

--action getAttachment --space "zcliattachments" --title "@home" --file "build/output/cliattachments/large.zip" --name "553714351"

--action getAttachment --space "zcliattachments" --title "attachment page" --file "build/output/cliattachments/getAttachmentWithVersion.txt" --name "data.txt" --version 1

--action getAttachment --space "zcliattachments" --title "attachment pagecopy" --file "build/output/cliattachments/data.txt"

--action getAttachment --space "zcliattachmentversions" --title "@home" --name "hexFile" --file "-" --quiet

--action getAttachment --space "zcliattachmentversions" --title "@home" --name "hexString" --file "-"

--action getAttachment --space "zcliattachmentversions" --title "@home" --name "hexString2" --file "-"

--action getAttachment --space "zclipagesA" --title "This is title 0" --file "build/output/clipages/data.txt"

getAttachmentList

--action getAttachmentList --cql "space=zcliattachments and title='attachment page'" --outputFormat 2

--action getAttachmentList --id "553714345" --outputFormat 1

--action getAttachmentList --id "553714345" --outputFormat 2

--action getAttachmentList --space "@all" --limit 10 --outputFormat 1

--action getAttachmentList --space "zcliattachments" --outputFormat 1

--action getAttachmentList --space "zcliattachments" --outputFormat 2

--action getAttachmentList --space "zcliattachments" --outputFormat 2 --regex ".*attachment comment.*"

--action getAttachmentList --space "zcliattachments" --outputFormat 2 --regex ".*data\\..*"

--action getAttachmentList --space "zcliattachments" --outputFormat 2 --regex ".*xxxxxxxxxx.*"

--action getAttachmentList --space "zcliattachments" --title "attachment page" --outputFormat 1

--action getAttachmentList --space "zcliattachmentversions" --title "@home" --regex "remove.txt"

--action getAttachmentList --space "zcliattachmentversions" --title "addAttachmentsPage" --outputFormat 1 --columns "Title,Id,Created,Content Type" --dateFormat "yyyy-MM-dd HH:mm:ss.mmm"

--action getAttachmentList --space "zclispaces3Target516427" --title "This is title"

--action getAttachmentList --space "zclispaces3Target516427" --title "This is title" --outputFormat 1

--action getAttachmentList --space "zclispacesTarget516427" --title "This is a new title" --outputFormat 1

--action getAttachmentList --space "zclispacesTarget965275" --title "This is a new title" --outputFormat 1

getAttachmentVersionList

--action getAttachmentVersionList --space "zcliattachmentversions" --title "@home" --outputFormat 1 --name "bulk.txt"

--action getAttachmentVersionList --space "zcliattachmentversions" --title "history" --name "remove.txt" --outputFormat 1 --dateFormat "yyyy-MM-dd HH:mm:ss.S"

getAuditLogList

--action getAuditLogList --options "search=Spaces" --dateFormat "yyyy-MM-dd_HH:mm"

getBlogList

--action getBlogList --space "zcliblogs" --outputFormat 1

--action getBlogList --space "zcliblogs" --outputFormat 999 --dateFormat "yyyy-MM-dd"

--action getBlogList --space "zclipermissions" --outputFormat 1

--action getBlogList --space "zclispaces3Target516427" --dateFormat "yyyy-MM-dd" --columns "created,url" --outputType "text"

getBlogSource

--action getBlogSource --id "553714000"

--action getBlogSource --space "zcliblogs" --title "addBlog1" --dayOfMonth 1 --month 2 --year 2023

getClientInfo

--action getClientInfo

getCommentList

--action getCommentList --space "zconfluencecli" --title "This is title 0"

--action getCommentList --space "zconfluencecli" --title "This is title 0" --dateFormat "yyyy-MM-dd HH:mm:ss" --outputFormat 1

--action getCommentList --space "zconfluencecli" --title "This is title 0" --dateFormat "yyyy-MM-dd HH:mm:ss" --outputFormat 2

--action getCommentList --space "zconfluencecli" --title "This is title 0" --dateFormat "yyyy-MM-dd HH:mm:ss" --outputFormat 2 --regex ".*?Comment 2.*?"

getComments

--action getComments --space "zclipagesA" --title "This is title 0" --dateFormat "yyyy.MM.dd HH:mm:ss z"

--action getComments --space "zclispacesTarget516427" --title "This is a new title"

--action getComments --space "zclispacesTarget965275" --title "This is a new title"

getContent

--action getContent --id "553714346"

getContentHistoryList

--action getContentHistoryList --id "553713740" --dateFormat "yyyy-MM-dd" --outputFormat 999

--action getContentHistoryList --id "553714078" --dateFormat "yyyy-MM-dd HH:mm:ss.S"

--action getContentHistoryList --id "553714078" --dateFormat "yyyy-MM-dd"

--action getContentHistoryList --space "zcliblogs" --title "addBlog2" --dayOfMonth 1 --month 2 --year 2023 --dateFormat "yyyy-MM-dd"

--action getContentHistoryList --space "zhistory" --title "history" --date "2024-12-03 17:01:39.259" --dateFormat "yyyy-MM-dd HH:mm:ss.S"

--action getContentHistoryList --space "zhistory" --title "history" --dateFormat "yyyy-MM-dd HH:mm:ss.S"

--action getContentHistoryList --space "zhistory" --title "history" --dateFormat "yyyy-MM-dd" --regex "(?i).*automation.*"

--action getContentHistoryList --space "zhistory" --title "history" --dateFormat "yyyy-MM-dd" --regex "xxx"

--action getContentHistoryList --space "zhistory" --title "history" --regex2 ".*for: ((1)|(2)).*" --outputFormat 999 --dateFormat "yyyy-MM-dd"

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.