routes.ini 694 Bytes
Newer Older
Mindiell's avatar
Mindiell committed
1 2
[routes]
; Main site
3 4 5 6 7 8 9 10 11 12 13
GET @home:/=Main->home

; Fake REST API
GET /restapi/campaign/@id=RestApi->campaign
GET /restapi/campaign/@id/contacts=RestApi->contacts
GET /restapi/campaign/@id/contact=RestApi->contact
GET /restapi/campaign/@id/contact/@contact=RestApi->contact
GET /restapi/campaign/@id/groups=RestApi->groups
GET /restapi/campaign/@id/feedback/categories=RestApi->categories
POST /restapi/campaign/@id/feedback/add=RestApi->feedback_add
GET /restapi/campaign/@id/arguments/@lang=RestApi->arguments
Mindiell's avatar
Mindiell committed
14

nepski's avatar
nepski committed
15
GET|POST @feedback:/feedback=Main->feedbackform
nepski's avatar
nepski committed
16 17 18
GET|POST @call:/call/@id=Main->call

GET @contactslist:/contactslist=Main->contactslist
nepski's avatar
nepski committed
19

Will's avatar
Will committed
20
POST @feedbacksip:/feedbacksip=Main->feedbacksip