~fabiocbalbuquerque/sahana-agasti/web-services

« back to all changes in this revision

Viewing changes to apps/frontend/lib/packages/agWebservicesPackage/config/routing.yml

  • Committer: Clayton Kramer
  • Date: 2011-07-26 18:12:28 UTC
  • mto: (1.26.1 push-trunk)
  • mto: This revision was merged to the branch mainline in revision 25.
  • Revision ID: clayton.kramer@mail.cuny.edu-20110726181228-ldpybh717xkhuq25
Added event facilities export to webservices

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
  options: { model: sfGuardUserProfile, type: list, method: getByToken }
6
6
  requirements:
7
7
    sf_format: (?:xml|json)
8
 
    datapoint: (?:staff|organizations)
 
8
    datapoint: (?:staff|organizations|eventFacilities)
 
9
webservices_getevent:
 
10
  url:  /webservices/getevent/:token/:event/:datapoint.:sf_format
 
11
  class: sfDoctrineRoute
 
12
  param: { module: agWebservices, action: getevent }
 
13
  options: { model: sfGuardUserProfile, type: list, method: getByToken }
 
14
  requirements:
 
15
    sf_format: (?:xml|json)
 
16
    datapoint: (?:eventFacilities)
9
17
webservices_list:
10
18
  url:  /webservices/list/:datapoint
11
19
  param: { module: agWebservices, action: list }
12
 
  requirements: { datapoint: (?:staff|organizations) }
 
20
  requirements: { datapoint: (?:staff|organizations|eventFacilities) }
13
21
webservices_index:
14
22
  url:  /webservices/index
15
23
  param: { module: agWebservices, action: index }