Phone models
List IP phones models.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
OK
application/json
4XX
Error
get
/phone_modelsGET /api/phone_models HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"filename": "text",
"model": "text",
"display_name": "text"
}
]
}Retrieve phone template profile by it's filename.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
filenamestringRequired
Template XML file name for phone provisioning.
Responses
200
OK
application/json
4XX
Error
get
/phone_models/{filename}GET /api/phone_models/{filename} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"filename": "text",
"languages": [
"ENGLISH"
],
"ringtones": [
"text"
],
"queue_ringtones": [
"text"
],
"external_ringtone": [
"text"
],
"date_formats": [
"text"
],
"time_formats": [
"text"
],
"powerleds": [
"text"
],
"backlights": [
"text"
],
"screensavers": [
"text"
],
"time_zones": [
"text"
],
"codecs": [
"text"
],
"enable_lldp": false,
"enable_vlan_wan_port": false,
"wan_port_id": 1,
"wan_port_priority": 1,
"enable_vlan_pc_port": false,
"pc_port_id": 1,
"pc_port_priority": 1
}