api with advanced template

Hi,

Can I have the following with advanced template:

backend

frontend

common

API

?

THX

if I understand correctly you want to add in advanced template another entry point like backend named API, then answer is yes, you can! Just make copy of backend folder, set alias line of new entry point name in file common/config/bootstrap.php and replace namespace name in files inside newly created folder.

You can also make your API in a module in either the fronted/backend or both.

Thanks …