Skip to content
Sean Perry edited this page Aug 6, 2021 · 3 revisions

API Documentation

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

Overview

Development

Usage

Clone this wiki locally