@@ -22,7 +22,18 @@ Get page info
22
22
confluence.get_page_by_title(space, title, start = None , limit = None )
23
23
24
24
# Get page by ID
25
- confluence.get_page_by_id(page_id, expand = None )
25
+ # Example request URI(s):
26
+ # http://example.com/confluence/rest/api/content/1234?expand=space,body.view,version,container
27
+ # http://example.com/confluence/rest/api/content/1234?status=any
28
+ # page_id: Content ID
29
+ # status: (str) list of Content statuses to filter results on. Default value: [current]
30
+ # version: (int)
31
+ # expand: OPTIONAL: A comma separated list of properties to expand on the content.
32
+ # Default value: history,space,version
33
+ # We can also specify some extensions such as extensions.inlineProperties
34
+ # (for getting inline comment-specific properties) or extensions.resolution
35
+ # for the resolution status of each comment in the results
36
+ confluence.get_page_by_id(self , page_id, expand = None , status = None , version = None )
26
37
27
38
# The list of labels on a piece of Content
28
39
confluence.get_page_labels(page_id, prefix = None , start = None , limit = None )
@@ -76,6 +87,9 @@ Page actions
76
87
# Update page or create page if it is not exists
77
88
confluence.update_or_create(parent_id, title, body, representation = ' storage' )
78
89
90
+ # Append body to page if already exist
91
+ confluence.append_page(self , page_id, title, append_body, parent_id = None , type = ' page' , representation = ' storage' , minor_edit = False )
92
+
79
93
# Set the page (content) property e.g. add hash parameters
80
94
confluence.set_page_property(page_id, data)
81
95
0 commit comments