diff --git a/Version-1.0-API.md b/Version-1.0-API.md index b5ff327..1cc4b05 100644 --- a/Version-1.0-API.md +++ b/Version-1.0-API.md @@ -8,8 +8,8 @@ This page contains API documentation regarding version 1.0 if the API. For the s * Album * Genres * Year -* Cover art - +* Cover art + ## Authentication ### Retrieving token **URI**: https://icarus-demo.com/api/v1/login @@ -32,6 +32,30 @@ This page contains API documentation regarding version 1.0 if the API. For the s "expiration":8000 } ``` +### Register +**URI**: https://icarus-demo.com/api/v1/register +**Method**: Post +**Content type**: application/json +**Request body**: +```Json +{ + "first_name":"Atman", + "last_name":"Heron", + "username":"ateron", + "nickname":"heron", + "password":"secret", + "email":"elysium@aaru.org", + "phone_number":"(789) 555-841" +} +``` +**Response body**: +```Json +{ + "username":"ateron", + "successfully_registered":true, + "message":"User successfully registered" +} +``` ## Songs