Skip to content

Commit 7c39517

Browse files
committed
Implement comment methods for Confluence V2 API
1 parent 8c42d8e commit 7c39517

File tree

5 files changed

+2172
-56
lines changed

5 files changed

+2172
-56
lines changed

atlassian/confluence_base.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,21 @@ class ConfluenceEndpoints:
3030
'search': 'api/v2/search',
3131
'spaces': 'api/v2/spaces',
3232
'space_by_id': 'api/v2/spaces/{id}',
33+
'page_properties': 'api/v2/pages/{id}/properties',
34+
'page_property_by_key': 'api/v2/pages/{id}/properties/{key}',
35+
'page_labels': 'api/v2/pages/{id}/labels',
36+
'space_labels': 'api/v2/spaces/{id}/labels',
37+
38+
# Comment endpoints for V2 API
39+
'page_footer_comments': 'api/v2/pages/{id}/footer-comments',
40+
'page_inline_comments': 'api/v2/pages/{id}/inline-comments',
41+
'blogpost_footer_comments': 'api/v2/blogposts/{id}/footer-comments',
42+
'blogpost_inline_comments': 'api/v2/blogposts/{id}/inline-comments',
43+
'attachment_comments': 'api/v2/attachments/{id}/footer-comments',
44+
'custom_content_comments': 'api/v2/custom-content/{id}/footer-comments',
45+
'comment': 'api/v2/comments',
46+
'comment_by_id': 'api/v2/comments/{id}',
47+
'comment_children': 'api/v2/comments/{id}/children',
3348

3449
# More v2 endpoints will be added in Phase 2 and 3
3550
}

0 commit comments

Comments
 (0)