Skip to content

Conversation

@careymcmanus
Copy link
Contributor

It seems like the confluence rest api has been updated. this pull request fixes the remove content history url.
https://developer.atlassian.com/cloud/confluence/rest/api-group-content-versions/#api-wiki-rest-api-content-id-version-versionnumber-get

@careymcmanus
Copy link
Contributor Author

Apologies for the mess of commits. I mostly use Mercurial instead of Git and I was trying to get the commit message to conform to your guidelines

@gonchik gonchik merged commit 249a9a8 into atlassian-api:master Aug 3, 2022
@gonchik
Copy link
Member

gonchik commented Aug 3, 2022

Thanks!

@careymcmanus
Copy link
Contributor Author

Pleasure. thankyou for this library its very useful

gonchik pushed a commit that referenced this pull request Sep 3, 2022
* updated url for remove_content_history method to reflect the current Delete Content Version Url https://developer.atlassian.com/cloud/confluence/rest/api-group-content-versions/#api-wiki-rest-api-content-id-version-versionnumber-delete

* [Confluence] remove_content_history method
updated url for remove_content_history method to reflect the current Delete Content Version Url https://developer.atlassian.com/cloud/confluence/rest/api-group-content-versions/#api-wiki-rest-api-content-id-version-versionnumber-delete

* [Confluence] remove_content_history method

Updated api url to reflect the current rest api url for this method. https://developer.atlassian.com/cloud/confluence/rest/api-group-content-versions/#api-wiki-rest-api-content-id-version-versionnumber-get

Co-authored-by: Carey McManus <c.mcmanus@omcinternational.com>
@upengareri
Copy link
Contributor

Hi @gonchik and @careymcmanus, it looks like the rest/api/content/{id}/version/{versionNumber} endpoint is only valid for Confluence Cloud. I used it on Confluence Data Center and it did not work for me. I had to use rest/experimental/content/{id}/version/{versionNumber}. I am using confluence version 7.19.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants