Comments, TODO list.
This commit is contained in:
parent
0840d1003d
commit
7738fea746
1 changed files with 10 additions and 9 deletions
19
restapi.go
19
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"
|
||||
|
|
Loading…
Reference in a new issue