Phone models

List phone models

get

List IP phones models.

Authorizations
Responses
200
OK
application/json
get
GET /api/phone_models HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "items": [
    {
      "filename": "text",
      "model": "text",
      "display_name": "text"
    }
  ]
}

Retrieve profile of firmware template

get

Retrieve phone template profile by it's filename.

Authorizations
Path parameters
filenamestringRequired

Template XML file name for phone provisioning.

Responses
200
OK
application/json
get
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": true,
  "enable_vlan_wan_port": true,
  "wan_port_id": 1,
  "wan_port_priority": 1,
  "enable_vlan_pc_port": true,
  "pc_port_id": 1,
  "pc_port_priority": 1
}

Was this helpful?