API開發文檔

歡迎流覽我們的API開發文檔!

獲取全部路由

GET

/api/routes/:type

權限:呼叫流

Header
字段類型描述
Content-Type字符串應用或JSON
參數
字段類型描述
type字符串路由類型: [”public”, ”default”]
請求樣例
/api/routes/public 
/api/routes/default




Public成功
HTTP/1.1 200 OK
 [{
     "did": "16471234567",
     "callflow": "xxxx_menu1"
 }, {
     "did": "16471234567",
     "callflow": "yyy_menu2"
 }]
Default成功
HTTP/1.1 200 OK
 [{
     "number": "202",
     "callflow": "xxxx_menu1"
 }, {
     "number": "500",
     "callflow": "yyy_menu2"
 }]

标签:
Table of Contents