SharePoint 2013, 2016, 2019 and Online REST is almost all the same, although there are newer features in each version.
SharePoint 2010 had its own "flavor" of REST, with is still largely supported in the newer versions.
2013 and later requests look like "http://yourserver/sites/somesite/_api/..."
2010 REST looks like this: "http://yourserver/sites/somesite/_vti_bin/ListData.svc". (At least for lists.)
2007 and 2010 web services calls seemed to more for internal use between SharePoint Designer, Word, Outlook, etc and SharePoint. There was a real lack of consistency. 2013 and later are much more consistent and are for general developer use.
I have a "REST Tester" with lots of sample SharePoint REST calls SharePoint that I use regularly against SP2013 - 2019 with no differences in the core REST calls. https://github.com/microsmith/SharePointRESTtester