I've been coding for over 20 years now! (WOAH, do I feel old)
I've touched just about every resource imaginable under the Sun (too bad they were bought out by Oracle)
The "API" definition listed above is more the classical definition from the C/C++ era of programming. What you're describing is more the modern era of "web API" - both are appropriate in different context.
The "API" definition listed above is more the classical definition from the C/C++ era of programming. What you're describing is more the modern era of "web API" - both are appropriate in different context.
That's why I mentioned that the term is not defined well enough specially as the post is tagged #javascript and not #c