MOH
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
OK
application/json
enabledbooleanOptional
Enable MOH service or not.
play_typestring · enumOptionalPossible values:
Set MOH personalized music by these modes:
DEFAULT_MUSIC:RANDOM_MUSIC_PER_CALL:RANDOM_MUSIC_PER_DAY:
4XX
Error
get/moh_server
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
enabledbooleanOptional
Enable MOH service or not.
play_typestring · enumOptionalPossible values:
Set MOH personalized music by these modes:
DEFAULT_MUSIC:RANDOM_MUSIC_PER_CALL:RANDOM_MUSIC_PER_DAY:
Responses
200
OK
No content
4XX
Error
post/moh_server
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
file_idstringOptionalExample:
NzAwNTUxOTA5NzczMTQ4MTYwResponses
201
Created MOH music
application/json
idstringOptionalExample:
NzAwNTUxOTA5NzczMTQ4MTYw4XX
Error
post/moh_server/musics
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequiredExample:
NzAwNTUxOTA5NzczMTQ4MTYwResponses
200
OK
application/json
idstringOptionalExample:
NzAwNTUxOTA5NzczMTQ4MTYwfile_namestringOptional
The name of the file.
file_sizeinteger · int64OptionalExample:
The file size in bytes.
0file_urlstringRead-onlyOptionalExample:
The relative path to file url for file downloading.
/api/blobs/WexWdABcd5D4PDgzTKV3gAAAEu00WcK4XX
Error
get/moh_server/musics/{id}
Last updated
Was this helpful?