X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=apidoc%2Fapi_data.js;h=b2e92ab27ac4c7d1124107f9fe4108e1ad272db1;hb=180439628549c979093908f0b833833689fb8374;hp=4733fc9d6260da60ccab54409784f22339fd4fa0;hpb=df0ace251160e026a7e125498e4dbc1656b5ca4e;p=motion2.git diff --git a/apidoc/api_data.js b/apidoc/api_data.js index 4733fc9..b2e92ab 100644 --- a/apidoc/api_data.js +++ b/apidoc/api_data.js @@ -19869,36 +19869,36 @@ define({ "api": [ }, { "type": "get", - "url": "/api/rpc/outbound", - "title": "Gets a list of RTOutbound", + "url": "/api/rpc/voice/queues", + "title": "Gets a list of RTVoiceQueues", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/rpc/outbound -v -u {name}:{password}", + "content": "curl https://{domain}/api/rpc/voice/queues -v -u {name}:{password}", "type": "json" } ], "name": "RTVoiceQueues", "group": "RPC_Realtime", - "description": "
Motion will return a list of realtime outbound parameters.
Upon success Motion will return a HTTP status code 200 OK
if the entire collection was returned.
Motion renders the resulting JSON representation in the response body.
", + "description": "Motion will return a list of realtime voice queues parameters.
Upon success Motion will return a HTTP status code 200 OK
if the entire collection was returned.
Motion renders the resulting JSON representation in the response body.
", "version": "0.0.0", "filename": "server/api/rpc/index.js", "groupTitle": "RPC_Realtime" }, { "type": "get", - "url": "/api/rpc/voice/queues", - "title": "Gets a list of RTVoiceQueues", + "url": "/api/rpc/outbound", + "title": "Gets a list of RTOutbound", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/rpc/voice/queues -v -u {name}:{password}", + "content": "curl https://{domain}/api/rpc/outbound -v -u {name}:{password}", "type": "json" } ], "name": "RTVoiceQueues", "group": "RPC_Realtime", - "description": "Motion will return a list of realtime voice queues parameters.
Upon success Motion will return a HTTP status code 200 OK
if the entire collection was returned.
Motion renders the resulting JSON representation in the response body.
", + "description": "Motion will return a list of realtime outbound parameters.
Upon success Motion will return a HTTP status code 200 OK
if the entire collection was returned.
Motion renders the resulting JSON representation in the response body.
", "version": "0.0.0", "filename": "server/api/rpc/index.js", "groupTitle": "RPC_Realtime" @@ -22742,31 +22742,31 @@ define({ "api": [ "groupTitle": "Sms_Accounts" }, { - "type": "post", - "url": "/api/sms/messages/{id}/status", - "title": "Receive message status", + "type": "get", + "url": "/api/sms/accounts/{id}/status", + "title": "Receive message status as get request", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/sms/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST", + "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X GET", "type": "json" } ], "name": "statusMessage", "group": "Sms_Accounts", - "description": "Motion will return a HTTP status code 201
upon success.
Motion renders the resulting JSON representation in the response body.
", + "description": "Motion will return a HTTP status code 200
upon success. Motion return a HTTP status code 404
if the corresponding record could not be located.
Motion renders the resulting JSON representation in the response body.
", "version": "0.0.0", - "filename": "server/api/smsMessage/index.js", + "filename": "server/api/smsAccount/index.js", "groupTitle": "Sms_Accounts" }, { "type": "post", - "url": "/api/sms/accounts/{id}/status", + "url": "/api/sms/messages/{id}/status", "title": "Receive message status", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X POST", + "content": "curl https://{domain}/api/sms/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST", "type": "json" } ], @@ -22774,23 +22774,23 @@ define({ "api": [ "group": "Sms_Accounts", "description": "Motion will return a HTTP status code 201
upon success.
Motion renders the resulting JSON representation in the response body.
", "version": "0.0.0", - "filename": "server/api/smsAccount/index.js", + "filename": "server/api/smsMessage/index.js", "groupTitle": "Sms_Accounts" }, { - "type": "get", + "type": "post", "url": "/api/sms/accounts/{id}/status", - "title": "Receive message status as get request", + "title": "Receive message status", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X GET", + "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X POST", "type": "json" } ], "name": "statusMessage", "group": "Sms_Accounts", - "description": "Motion will return a HTTP status code 200
upon success. Motion return a HTTP status code 404
if the corresponding record could not be located.
Motion renders the resulting JSON representation in the response body.
", + "description": "Motion will return a HTTP status code 201
upon success.
Motion renders the resulting JSON representation in the response body.
", "version": "0.0.0", "filename": "server/api/smsAccount/index.js", "groupTitle": "Sms_Accounts" @@ -26124,12 +26124,12 @@ define({ "api": [ }, { "type": "delete", - "url": "/api/fax/queues/{id}/teams", + "url": "/api/whatsapp/queues/{id}/teams", "title": "Remove teams from a queue", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/fax/queues/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/whatsapp/queues/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26137,17 +26137,17 @@ define({ "api": [ "group": "Teams", "description": "Motion will return a HTTP status code 204
upon success. Motion return a HTTP status code 404
if the corresponding record could not be located.
Motion renders the resulting JSON representation in the response body.
", "version": "0.0.0", - "filename": "server/api/faxQueue/index.js", + "filename": "server/api/whatsappQueue/index.js", "groupTitle": "Teams" }, { "type": "delete", - "url": "/api/whatsapp/queues/{id}/teams", + "url": "/api/openchannel/queues/{id}/teams", "title": "Remove teams from a queue", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/whatsapp/queues/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26155,17 +26155,17 @@ define({ "api": [ "group": "Teams", "description": "Motion will return a HTTP status code 204
upon success. Motion return a HTTP status code 404
if the corresponding record could not be located.
Motion renders the resulting JSON representation in the response body.
", "version": "0.0.0", - "filename": "server/api/whatsappQueue/index.js", + "filename": "server/api/openchannelQueue/index.js", "groupTitle": "Teams" }, { "type": "delete", - "url": "/api/openchannel/queues/{id}/teams", + "url": "/api/voice/queues/{id}/teams", "title": "Remove teams from a queue", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26173,7 +26173,7 @@ define({ "api": [ "group": "Teams", "description": "Motion will return a HTTP status code 204
upon success. Motion return a HTTP status code 404
if the corresponding record could not be located.
Motion renders the resulting JSON representation in the response body.
", "version": "0.0.0", - "filename": "server/api/openchannelQueue/index.js", + "filename": "server/api/voiceQueue/index.js", "groupTitle": "Teams" }, { @@ -26196,12 +26196,12 @@ define({ "api": [ }, { "type": "delete", - "url": "/api/voice/queues/{id}/teams", + "url": "/api/chat/queues/{id}/teams", "title": "Remove teams from a queue", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/chat/queues/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26209,7 +26209,7 @@ define({ "api": [ "group": "Teams", "description": "Motion will return a HTTP status code 204
upon success. Motion return a HTTP status code 404
if the corresponding record could not be located.
Motion renders the resulting JSON representation in the response body.
", "version": "0.0.0", - "filename": "server/api/voiceQueue/index.js", + "filename": "server/api/chatQueue/index.js", "groupTitle": "Teams" }, { @@ -26232,12 +26232,12 @@ define({ "api": [ }, { "type": "delete", - "url": "/api/chat/queues/{id}/teams", + "url": "/api/fax/queues/{id}/teams", "title": "Remove teams from a queue", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/chat/queues/{id}/teams -v -u {name}:{password} -X DELETE", + "content": "curl https://{domain}/api/fax/queues/{id}/teams -v -u {name}:{password} -X DELETE", "type": "json" } ], @@ -26245,7 +26245,7 @@ define({ "api": [ "group": "Teams", "description": "Motion will return a HTTP status code 204
upon success. Motion return a HTTP status code 404
if the corresponding record could not be located.
Motion renders the resulting JSON representation in the response body.
", "version": "0.0.0", - "filename": "server/api/chatQueue/index.js", + "filename": "server/api/faxQueue/index.js", "groupTitle": "Teams" }, { @@ -27801,6 +27801,24 @@ define({ "api": [ }, { "type": "post", + "url": "/api/userNotifications", + "title": "Send notification to user", + "examples": [ + { + "title": "Example usage:", + "content": "curl https://{domain}/api/userNotifications -d '{\"text\": \"Hello!\", \"TemplateId\": 1}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST", + "type": "json" + } + ], + "name": "Send", + "group": "UserNotifications", + "description": "Motion will return a HTTP status code 201
upon success.
Motion renders the resulting JSON representation in the response body.
", + "version": "0.0.0", + "filename": "server/api/userNotification/index.js", + "groupTitle": "UserNotifications" + }, + { + "type": "post", "url": "/api/userProfile/resources", "title": "Creates a new User Profile Resource", "examples": [ @@ -29648,6 +29666,24 @@ define({ "api": [ "groupTitle": "Users" }, { + "type": "get", + "url": "/api/users/presence", + "title": "Gets agent presence", + "examples": [ + { + "title": "Example usage:", + "content": "curl https://{domain}/api/users/presence -v -u {name}:{password} -X GET", + "type": "json" + } + ], + "name": "getPresence", + "group": "Users", + "description": "Motion will return a HTTP status code 200
upon success. Motion return a HTTP status code 404
if the corresponding record could not be located.
Motion renders the resulting JSON representation in the response body.
", + "version": "0.0.0", + "filename": "server/api/user/index.js", + "groupTitle": "Users" + }, + { "type": "put", "url": "/api/users/{id}", "title": "Update an existing User", @@ -34063,12 +34099,12 @@ define({ "api": [ }, { "type": "post", - "url": "/api/webbar/unhold", - "title": "unhold webrtc call", + "url": "/api/webbar/hold", + "title": "hold webrtc call", "examples": [ { "title": "Example usage:", - "content": "curl https://{domain}/api/webbar/unhold -d '{\"sessionId\": \"Motion will return a HTTP status code 201
upon success.
Motion renders the resulting JSON representation in the response body.
", - "version": "0.0.0", - "filename": "server/api/userNotification/index.js", - "groupTitle": "userNotifications" - }, - { - "type": "post", "url": "/api/voiceQueuesLog", "title": "Creates a new VoiceQueuesLog", "examples": [