OAuth info stuff (#849)

* OAuth info stuff

* fix docs

* oops
This commit is contained in:
Hackzzila
2016-10-27 15:50:04 -05:00
committed by Amish Shah
parent 986b05442d
commit c9dbf1f7f0
6 changed files with 130 additions and 0 deletions

View File

@@ -128,6 +128,10 @@ const Endpoints = exports.Endpoints = {
// webhooks
webhook: (webhookID, token) => `${API}/webhooks/${webhookID}${token ? `/${token}` : ''}`,
// oauth
myApp: `${API}/oauth2/applications/@me`,
getApp: (id) => `${API}/oauth2/authorize?client_id=${id}`,
};
exports.Status = {