Musics
Create a MOH music.
Authorizations
Body
file_idall ofOptional
The unique ID of the file.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwResponses
201
Created MOH music
application/json
4XX
Error
post
/moh_server/musicsPOST /api/moh_server/musics HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"file_id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}Retrieve a moh music.
Authorizations
Path parameters
idall ofRequired
The unique ID of MOH music.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwResponses
200
OK
application/json
4XX
Error
get
/moh_server/musics/{id}GET /api/moh_server/musics/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"file_name": "text",
"file_size": 0,
"file_url": "/api/blobs/WexWdABcd5D4PDgzTKV3gAAAEu00WcK"
}