The following link refers to the MDN page where a host of Web APIs and interfaces are listed:
https://developer.mozilla.org/en-US/docs/Web/API
However, there is no explanation of what are the main differences between Web API and interface. I also did not succeed in googling any information about interfaces in this sense.
As an inexperienced developer, I would like to know about the theoretical characteristics (bullet points) that distinguish web APIs and interfaces.
Can someone explain to me this or refer where can I read more about it?
For example, In the link that I am refering to CSSOM model is cosidered as a set of APIs and listed under a category of WEB APIs, meanwhile CSSStyleDeclaration is considered an INTERFACE and listed under the category of Interfaces. I am particularly interested in what are the differences between those two categories (Web APIs and Interfaces)?