There are many different ways API functions may be executed: