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

; Fake REST API
Mindiell's avatar
Mindiell committed
12 13
GET         /restapi/campaigns/@id=RestApi->campaign
GET         /restapi/campaigns/@id/contacts=RestApi->contacts
14
GET         /restapi/campaigns/@id/contacts/@cid=RestApi->contact
Mindiell's avatar
Mindiell committed
15 16 17
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
18