-
Notifications
You must be signed in to change notification settings - Fork 5
API
Sean Perry edited this page Aug 6, 2021
·
3 revisions
Send_audio_file
- route: /api/audios/path:file_name"
- Method: none
- returns a file from the backend
- Error returns: 404, file not found
fetch_current_user_projects
- route: /api/current_user/projects"
- Method: get
- returns a list of directories, each directory stuctured as {project_id, name, created_by, created_on}
- Error returns: 500 error if projects cannot be fetched
fetch_data_for_project
- route: /api/current_user/projects/int:project_id/data"
- Method: get
- returns a directory containing 4 lists of data, each list containing a TODO: Finsh this
- Error returns: 500 error if projects cannot be fetched
Pyrenote is based heavily on Audino as well as Wavesufer.js. Be sure to check them out!