welcome to the Atlassian Community!
The REST API version of Confluence Server correspondents with its version number, you can compare here:
Let's assume you have currently installed Confluence version 6.6.17 you can change the URL so it reads:
It this what you were looking for?
I am using Atlassian Confluence 6.15.8, but when I look up the API of https://docs.atlassian.com/ConfluenceServer/rest/6.15.8, the response I get after actually calling is inconsistent with the API
When I call /rest/api/space?spaceKey=api, the structure returned is
But the response of the document is
Yes, that's correct, your response matches the document.
I think the problem is that you're not understanding that your call to the api is going to return the data about your space, rather than a clone of the example. The call you are making is not the same as the one in the documentation example, and your spaces are not set up the same as the confluence the documentation is based on.
ok, I got it, thanks. The document only gives one example of response of the current API, but what I need is a common response, otherwise I cannot know the structure of the API response, because the only way I get the api information is the document. So when I cannot actually call a certain version of the API, is there any good way for me to get the common response?
Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond. A long time favorite, Team Cale...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events