Page 1 of 1

API extension - how to?

Posted: Fri Feb 22, 2019 5:38 pm
by brisk5181
Hi, I want to create an extension which has no admin view, no front view, how to do that? The online tutorials have the views...
so my module will provide restful interfaces (stock api is not sufficient for us so we have to add more api endpoints), in admin, a simple install is good enough. Also, since this is API, so no front end views.

Thanks!

Re: API extension - how to?

Posted: Fri Feb 22, 2019 10:38 pm
by straightlight
This post might help greatly: viewtopic.php?f=191&t=203344&p=719531#p719531 . See the last code block from that post and you can manipulate your own SQL queries by using this API.