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:
Hi my Community friends! For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs