routes.ini 667 Bytes
Newer Older
Mindiell's avatar
Mindiell committed
1 2
[routes]
; Main site
Mindiell's avatar
Mindiell committed
3 4 5 6 7
GET         @home:/=Main->home
GET|POST    @feedback:/feedback=Main->feedbackform
GET|POST    @call:/call/@id=Main->call
GET         @contactslist:/contactslist=Main->contactslist
POST        @feedbacksip:/feedbacksip=Main->feedbacksip
8
GET         @argumentation:/argumentation=Main->argumentation
9 10

; Fake REST API
Mindiell's avatar
Mindiell committed
11 12 13 14 15
GET         /restapi/campaigns/@id=RestApi->campaign
GET         /restapi/campaigns/@id/contacts=RestApi->contacts
GET         /restapi/campaigns/@id/feedback/categories=RestApi->categories
POST        /restapi/campaigns/@id/feedback/add=RestApi->feedback_add
GET         /restapi/campaigns/@id/arguments/@lang=RestApi->arguments
Mindiell's avatar
Mindiell committed
16