Skip to content

This is the official API of the gCGaming Raiding Guild on Frostwolf - EU

License

Notifications You must be signed in to change notification settings

dhartwich1991/gc_gaming_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gC Gaming API

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

Register a new User

(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
email This is the E-Mail Address of a user and can be used to send mails testuser@testteam.com

Login a User

(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
(In the future this call will return a token if the login was succesful, this token will be needed for every call that goes further than the Login call)

List all Raids

(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

Create a new Raid

(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

About

This is the official API of the gCGaming Raiding Guild on Frostwolf - EU

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages