Skip to content

Commit

Permalink
Move API from experimental to normal url (atlassian-api#960)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-lecomte committed Oct 2, 2022
1 parent 697a05f commit b802156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion atlassian/confluence.py
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ def get_content_history_by_version_number(self, content_id, version_number):
:param version_number:
:return:
"""
url = "rest/experimental/content/{0}/version/{1}".format(content_id, version_number)
url = "rest/api/content/{id}/version/{versionNumber}".format(id=content_id, versionNumber=version_number)
return self.get(url)

def remove_content_history(self, page_id, version_number):
Expand Down
2 changes: 1 addition & 1 deletion docs/confluence.rst
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ Other actions
# Get page history
confluence.history(page_id)
# Get content history by version number. It works as experimental method
# Get content history by version number
confluence.get_content_history_by_version_number(content_id, version_number)
# Remove content history. It works as experimental method
Expand Down

0 comments on commit b802156

Please sign in to comment.