They may be slightly different, but not by much. Since Confluence Cloud is always "up-to-date", you can always be sure that it is running the latest version of the Confluence API.
For Server, it might be slightly different depending on the version of Confluence you have installed (although it should be mostly the same especially for recent versions like 6.0). You can go here and choose your version of Confluence to see the REST API documentation for a specific version:
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG