Was this helpful?
Retrieve a moh music.
The unique ID of MOH music.
The unique ID of the resource.
GET /api/moh_server/musics/{id} HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
{ "id": "NzAwNTUxOTA5NzczMTQ4MTYw", "file_name": "text", "file_size": 0, "file_url": "/api/blobs/WexWdABcd5D4PDgzTKV3gAAAEu00WcK" }
Retrieve a collection of moh musics.
GET /api/moh_server/musics HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
{ "items": [] }
Create a MOH music.
The unique ID of the file.
POST /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" }
Created MOH music
{ "id": "NzAwNTUxOTA5NzczMTQ4MTYw" }