For the complete documentation index, see llms.txt. This page is also available as Markdown.

MOH

Manage your MOH.

Retrieve moh server

get

Retrieve moh server information.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
enabledbooleanOptional

Enable MOH service or not.

play_typestring · enumOptional

Set MOH personalized music by these modes:

  • DEFAULT_MUSIC:
  • RANDOM_MUSIC_PER_CALL:
  • RANDOM_MUSIC_PER_DAY:
Possible values:
get/moh_server

Update moh server

post

Update moh server

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
enabledbooleanOptional

Enable MOH service or not.

play_typestring · enumOptional

Set MOH personalized music by these modes:

  • DEFAULT_MUSIC:
  • RANDOM_MUSIC_PER_CALL:
  • RANDOM_MUSIC_PER_DAY:
Possible values:
Responses
200

OK

No content

post/moh_server

No content

List moh musics

get

Retrieve a collection of moh musics.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
get/moh_server/musics

Create a MOH music

post

Create a MOH music.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
file_idstringOptionalExample: NzAwNTUxOTA5NzczMTQ4MTYw
Responses
201

Created MOH music

application/json
idstringOptionalExample: NzAwNTUxOTA5NzczMTQ4MTYw
post/moh_server/musics

Retrieve a moh music

get

Retrieve a moh music.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequiredExample: NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200

OK

application/json
idstringOptionalExample: NzAwNTUxOTA5NzczMTQ4MTYw
file_namestringOptional

The name of the file.

file_sizeinteger · int64Optional

The file size in bytes.

Example: 0
file_urlstringRead-onlyOptional

The relative path to file url for file downloading.

Example: /api/blobs/WexWdABcd5D4PDgzTKV3gAAAEu00WcK
get/moh_server/musics/{id}

Delete a MOH music

post

Delete a MOH music

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequiredExample: NzAwNTUxOTA5NzczMTQ4MTYw
Responses
204

No Content

No content

post/moh_server/musics/{id}/destroy

No content

Last updated

Was this helpful?