Speeddials endpoint¶
Endpoint for operations on speeddials.
All these calls require basic auth.
-
POST
/speeddials
¶ Update the speeddials for a phone by its name.
Example request:
POST /speeddials?phone=name HTTP/1.1 Host: 127.0.0.1 Accept: application/json Content-Type: application/json [ { "index": "1", "dirn": "11", "label": "office" }, { "index": "2", "dirn": "22", "label": "home" }, ]
Example response:
HTTP/1.1 200 OK Content-Type: plain/text {uniqueid}
Query Parameters: - phone – unique name of the phone to update
Status Codes: - 200 OK – request done
- 400 Bad Request – Bad request (if you don’t pass the parameter)
- 500 Internal Server Error – an exception occured