Paths
Data model entities
phones/
- GET /phones return the collection of configured phones
- GET /phones/{mac} return the phone instance with the given
mac
address - POST /phones add a phone to inventory specifying mac, model and variables
- PATCH /phones/{mac} change
variables
of phone with givenmac
- DELETE /phones/{mac} delete the phone with given
mac
from inventory
models/
- GET /models return the phone models collection
- GET /models/{name} return the model with given
name
(e.g.snom720
) - POST /models add a new model instance name, display_name, variables
- PATCH /models/{name} change
variables
and other properties of modelname
- DELETE /models/{name} delete model
name
(if not used, if possible)
defaults/
- GET /defaults return the default values for known variables
- PATCH /defaults change the default value of some variables
macvendors/
- GET /macvendors return list of MAC prefixes associated with vendors
Assets management
backgrounds/
- GET /backgrounds list of available background files
- POST /backgrounds upload a background file
- DELETE /backgrounds/{file} delete a background file
firmware/
- GET /firmware list of available firmware files
- POST /firmware upload a firmware file
- DELETE /firmware/{file} delete a firmware file
ringtones/
- GET /ringtones list of available ringtone files
- POST /ringtones upload a ringtone file
- DELETE /ringtones/{file} delete a ringtone file
screensavers/
- GET /screensavers list of available screensaver files
- POST /screensavers upload a screensaver file
- DELETE /screensavers/{file} delete a screensaver file
Table of contents
- DELETE /backgrounds/{file}
- DELETE /firmware/{file}
- DELETE /models/{mac}
- DELETE /phones/{mac}
- DELETE /ringtones/{file}
- DELETE /screensavers/{file}
- GET /backgrounds
- GET /defaults
- GET /firmware
- GET /macvendors
- GET /models
- GET /models/{name}
- GET /phones
- GET /phones/{mac}
- GET /ringtones
- GET /screensavers
- PATCH /defaults
- PATCH /models/{name}
- PATCH /phones/{mac}
- POST /backgrounds
- POST /firmware
- POST /models
- POST /phones
- POST /ringtones
- POST /screensavers