![]() ![]() remove_page_as_draft ( page_id ) # Update page if already exist confluence. remove_page_from_trash ( page_id ) # Remove page as draft confluence. remove_content ( content_id ): # Remove page from trash confluence. remove_page ( page_id, status = None, recursive = False ) # Remove any content confluence. create_page ( space, title, body, parent_id = None, type = 'page', representation = 'storage', editor = 'v2', full_width = False ) # This method removes a page, if it has recursive flag, method removes including child pages confluence. ![]() get_all_restrictions_for_content ( content_id ) get_all_draft_pages_from_space_through_cql ( space, start = 0, limit = 500, status = 'draft' ) # Info about all restrictions by operation confluence. get_all_draft_pages_from_space ( space, start = 0, limit = 500, status = 'draft' ) # Search list of draft pages by space key # Use case is cleanup old drafts from Confluence confluence. get_all_pages_from_space_trash ( space, start = 0, limit = 500, status = 'trashed', content_type = 'page' ) # Get list of draft pages from space # Use case is cleanup old drafts from Confluence confluence. get_all_pages_from_space ( space, start = 0, limit = 100, status = None, expand = None, content_type = 'page' ) # Get list of pages from trash confluence. For more you have to loop over start values. Defaults to 'page' # expand is a comma separated list of properties to expand on the content. get_all_pages_by_label ( label, start = 0, limit = 50 ) # Get all pages from Space # content_type can be 'page' or 'blogpost'. get_draft_page_by_id ( page_id, status = 'draft' ) # Get all page by label confluence. ![]() get_page_labels ( page_id, prefix = None, start = None, limit = None ) # Get draft page by ID confluence. get_page_by_id ( page_id, expand = None, status = None, version = None ) # The list of labels on a piece of Content confluence. # Default value: history,space,version # We can also specify some extensions such as extensions.inlineProperties # (for getting inline comment-specific properties) or extensions.resolution # for the resolution status of each comment in the results confluence. Default value: # version: (int) # expand: OPTIONAL: A comma separated list of properties to expand on the content. get_page_by_title ( space, title, start = None, limit = None ) # Get page by ID # Example request URI(s): # page_id: Content ID # status: (str) list of Content statuses to filter results on. get_page_space ( page_id ) # Returns the list of labels on a piece of Content confluence. get_page_id ( space, title ) # Provide space key from content id confluence. ![]() get_page_child_by_type ( page_id, type = 'page', start = None, limit = None, expand = None ) # Provide content id from search result by title and space confluence. page_exists ( space, title ) # Provide content by type (page, blog, comment) confluence. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |