API entry Script

My api works (someone else created it for me)… now I am trying to understand.

I could not find the entry script that specifies which main.php config file to load. The only thing I can ASSUME is that it loads the same as specified in the main yii file for the console app.

Am I right ?

Or where is specified what config files to use

No. REST API is web.

Thanks… so stupid of me… somehow my web/index disappeared a while ago so I assumed that there was a different entry script…

thank you for your support

Think WSDL and SOAP, only better (and more narrowly defined), that’s what REST is :)