From 7738fea746c1093fe727719b5a3cc912065949aa Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Mon, 9 Nov 2015 15:10:10 -0600 Subject: [PATCH] Comments, TODO list. --- restapi.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/restapi.go b/restapi.go index 666c87e..aee1771 100644 --- a/restapi.go +++ b/restapi.go @@ -22,13 +22,16 @@ import ( // Please let me know if you know of any others. const ( // Base URLS - DISCORD = "http://discordapp.com" - API = DISCORD + "/api" - SERVERS = API + "/guilds" - CHANNELS = API + "/channels" - USERS = API + "/users" - LOGIN = API + "/auth/login" - LOGOUT = API + "/auth/logout" + DISCORD = "http://discordapp.com" + API = DISCORD + "/api" + SERVERS = API + "/guilds" + CHANNELS = API + "/channels" + USERS = API + "/users" + LOGIN = API + "/auth/login" + LOGOUT = API + "/auth/logout" + GATEWAY = API + "/gateway" + + // Constants not implemented below yet. TODO tracker :) REGISTER = API + "/auth/register" INVITE = API + "/invite" TRACK = API + "/track" @@ -41,8 +44,6 @@ const ( ICE = API + "/voice/ice" REPORT = API + "/report" INTEGRATIONS = API + "/integrations" - GATEWAY = API + "/gateway" - // Authenticated User Info AU = USERS + "/@me" AU_DEVICES = ME + "/devices"