Created
December 4, 2020 13:09
-
-
Save M-ZubairAhmed/1f2050b585545b9dcbdcf1506a59a457 to your computer and use it in GitHub Desktop.
Excercises for Django
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"endpoint": "/api/exercise/new-user", | |
"method": "POST", | |
"postdata": { | |
"username": "" | |
}, | |
"returndata": { | |
"_id": "", | |
"username": "" | |
} | |
}, | |
{ | |
"endpoint": "api/exercise/users", | |
"method": "GET", | |
"returndata": [ | |
{ | |
"_id": "", | |
"username": "" | |
} | |
] | |
}, | |
{ | |
"endpoint": "/api/exercise/add", | |
"method": "POST", | |
"postdata": { | |
"userId": "", | |
"description": "", | |
"duration": "" | |
}, | |
"returndata": { | |
"_id": "", | |
"username": "", | |
"description": "", | |
"duration": "" | |
} | |
}, | |
{ | |
"endpoint": "/api/exercise/log/:userid", | |
"method": "GET", | |
"returndata": { | |
"_id": "", | |
"username": "", | |
"count": "", | |
"log": [ | |
{ | |
"description": "", | |
"duration": "" | |
} | |
] | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment