But this only works for files that are on the public Internet and can be downloaded by Spark's servers. Spark pulls the files down. However, if you want to push the file to Spark, for example to upload a file from your local hard drive, it gets a little more complicated.
We’re making all of that easier now because we now support file upload via the Messages API. This means you no longer have to put your files on the public Internet for them to be attached.
How it Works:
The Spark API accepts file uploads as a MIME upload in the same way your web browser would upload a file in a web form. The two most important aspects are 1) to name the field to which you send "files" and 2) to set your Content-Type header to be multipart/form-data including a boundary.
The boundary is part of the MIME specification and is essentially any string that won't appear in the binary encoding of the file; it’s used by the server to determine where the file content ends and the request starts.
Above, you’ll need to replace the variables with ones suitable for you, with the exception of the url. The filetype and filepath are totally dependent on the file you are attempting to upload - a full path to the file is expected, and the first slash in the above filepath value represents root, so it’s “root” followed by ‘/Users/taylorhanson/Desktop/screenshot.png'. The roomId value can be found from the developer portal: https://developer.ciscospark.com/endpoint-rooms-get.html
Hello there. I'm wondering if there is a way to test the CCX REST API ecosystem locally without having an actual CCX installed. In particular, I just need a sandbox to use a local client to play with these endpoints: https://developer.cisco.com/...
Hello,We develop a Chrome extension to add Cisco Telephony features to a web-based application.For that we use the Cisco Jabber SDK Web (with the installation of the Cisco web communicator Chrome extensions and the SDK Browser add-on for MAC)We are many u...
Hello, We develop a Chrome extension to add Cisco Telephony features to a web-based application.For that we use the Cisco Jabber SDK Web (with the installation of the Cisco web communicator Chrome extensions and the SDK Browser Add-on)We are many use...
I wonder if there is a report or a real time tool / API to get a report to Check Skill Mapping for all Agents in Cisco Unified Contact Center Express I understand , using the below mentioned SQL query in the CLI prompt , we can get the desired o...