This is the official API of the gCGaming Raiding Guild on Frostwolf - EU
Below a list of calls is listed in order to document the API
(POST) http://dotards.net:3000/api/v1/users/register
Parameter | Description | Example |
username | This is the username of a user | Testuser |
password | This represents the password of a user (will be Base64 encoded) | Testpassword |
This is the E-Mail Address of a user and can be used to send mails | testuser@testteam.com |
(POST) http://dotards.net:3000/api/v1/users/login
Parameter | Description | Example |
username | Username of the user logging in | Testuser |
password | Password of the user logging in | Testpassword |
(GET) http://dotards.net:3000/api/v1/raids
JSON RESPONSE
Parameter | Description | Example value |
id | id of the raid | 1 |
name | title of the raid | Highmaul HC 6/7 |
description | This is the description of the raid | This is our second try on Highmaul, please come with flasks, bufffood and knowledge about the bosses...Raid is supposed to start at 19:00 |
raidlead | The guys who lead the raid | Dreendor, Yakir |
startdate | The startdate of when the raid is supposed to start | 2014-12-26T19:00:00.000Z |
enddate | The enddate of when the raid is supposed to end | 2014-12-26T23:00:00.000Z |
(POST) http://dotards.net:3000/api/v1/raids/create
Parameter | Description | Example |
name | The title of the Raid | Highmaul HC 6/7 |
description | A short description of the raid explaining goals etc. | This is our second try on Highmaul, please come with flasks, bufffood and knowledge about the bosses...Raid is supposed to start at 19:00 |
raidlead | The user(s) who will do the raidlead for this raid | Dreendor, Pace |
startdate | The date when the raid will start | 26.12.2014 19:00 |
enddate | The date when the raid will end | 26.12.2014 23:00 |
###Possible Response Codes These Codes are stored in the 'code' variable of the returned JSON in POST Requests
Code | Description | Example |
0 | Successful Event | User was created succesfully |
1 | Nil Error Event | Requested User doesn't exist |
2 | Wrong Data Error | Wrong password was entered |