This is implementation of a simple audio file server simulator using Django Rest Framework
With Implemented create, read, upload, and delete(CRUD) endpoints for an audio file as defined below:
-
Create API: The request will have the following fields: - audioFileType – mandatory, one of the 3 audio types possible - audioFileMetadata – mandatory, dictionary, contains the metadata for one of the three audio files (song, podcast, audiobook)
else:- you can directly use the link for audio file type and post the data for same.
-
Delete API: The route will be in the following format: “/”
-
Update API: The route be in the following format: “/” - The request body will be the same as the upload
-
Get API: The route “/” will return the specific audio file - The route “” will return all the audio files of that type.
Install requirements using python -m pip install -r requirements.txt
Below is image of how the output should look like:
![image](https://user-images.githubusercontent.com/33387922/118868147-78ef8100-b901-11eb-82ba-917462c7372c.png)