API Generator

Generates RESTful APIs using available models

Back to API Generator Support

GTMeteor
GTMeteor

Is there a way to create custom commands?

I need a custom api to reference a model however, it should only respond to notifyUserAccountUpdate / notifyUserAccoundDeleted / notifyUserAccoundCreated commands. I was under assumption a simple function in model should work, however it doesnt? :)

inot
inot

For now this plugin does not support custom command in model, you can try add custom command in your API Controller.

1-2 of 2