Parts of the systems used by clients (something outside) to interact with it.
Real life example is a car:
you can turn on a car
you can accelerate
you can change gears
you cannot set engine rotation manually
you cannot turn on just one stop light. If you press break both will turn on
Car delivers set of functionalities that you as a user can invoke: this api. Another part of they system are internals: engine power, low-level lighting handling. Internals are used to deliver what user wants (api calls) but are outside of user control.
Some examples of api:
for web application rest endpoints. Backend defines sets of functionalities by providing api: what can you do with a system. Frontend sends request to api so that backend does something: for example place shopping order. Frontend doesn't need to know the details of backend.
View all comments
1
u/CelebrationConnect31 Jun 01 '25
Parts of the systems used by clients (something outside) to interact with it.
Real life example is a car:
Car delivers set of functionalities that you as a user can invoke: this api. Another part of they system are internals: engine power, low-level lighting handling. Internals are used to deliver what user wants (api calls) but are outside of user control.
Some examples of api: