Get info about available ringtones
Returns array of objects, where each object describes a ringtone
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
items object[]
list of ringtones
name stringCode of the ringtone that will be displayed in web
url stringEndpoint that allows to download this particular ringtone
{
"items": [
{
"name": "ring1.wav",
"url": "/advanced/ringtones/ring1.wav"
}
]
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
Describes the base error user might get
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param stringDescribes the parameter that did not pass a validation
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentication",
"message": "Log In"
}
}
Loading...