Jump to content


Photo

Several API Controllers for Same Module

api modules models entities

  • Please log in to reply
No replies to this topic

#1 Zurmo User

Zurmo User

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 11 June 2014 - 01:24 PM

I have a module that consists of several entities (models), and I need to be able to request api calls on each entity separately.

 

For example if I have two entities: Answers and Questions, both belonging to the same module, I want to be able to call .../answers/api/list and ..../questions/api/list such that each call returns only the data for its corresponding entity.

 

Is that possible? And how?

 

Thank you 







Also tagged with one or more of these keywords: api, modules, models, entities

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users