-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Chaitanya Surapaneni
committed
Dec 13, 2018
1 parent
8347402
commit be2fa12
Showing
6 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"name": "GetResponse", | ||
"desc": "GetResponse offers a complete suite of simple-yet-powerful solutions, scaled and customized for small and large companies for email marketing and online campaign management.", | ||
"url": "https://api.getresponse.com/v3", | ||
"oauth2": { | ||
"authorize": { | ||
"url": "https://app.getresponse.com/oauth2_authorize.html", | ||
"query": { | ||
"response_type": "code", | ||
"client_id": "{client_id}", | ||
"state": "{{state}}" | ||
} | ||
}, | ||
"access_token": { | ||
"url": "/token", | ||
"headers": { | ||
"Authorization": "Basic !BASE64{client_id}:{client_secret}!BASE64" | ||
}, | ||
"query": { | ||
"grant_type": "authorization_code", | ||
"code": "{{code}}" | ||
} | ||
}, | ||
"request": { | ||
"url": "https://api.getresponse.com/v3", | ||
"headers": { | ||
"Authorization": "Bearer {{token}}" | ||
} | ||
}, | ||
"refresh": { | ||
"url": "/token", | ||
"headers": { | ||
"Authorization": "Basic !BASE64{client_id}:{client_secret}!BASE64" | ||
}, | ||
"query": { | ||
"grant_type": "refresh_token", | ||
"refresh_token": "{{refresh_token}}" | ||
} | ||
} | ||
}, | ||
"href": { | ||
"keys": "https://app.getresponse.com/manage_api.html?", | ||
"docs": "https://apidocs.getresponse.com/v3", | ||
"apps": "https://app.getresponse.com/manage_api.html", | ||
"provider": "https://www.getresponse.com/" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
var me = { | ||
url: "/accounts", | ||
params: {}, | ||
fields: { | ||
accountId: function (me) { | ||
return me.accountId | ||
}, | ||
firstName: function (me) { | ||
return me.firstName | ||
}, | ||
lastName: function (me) { | ||
return me.lastName | ||
}, | ||
email: function (me) { | ||
return me.email | ||
}, | ||
href: function (me) { | ||
return me.href | ||
} | ||
} | ||
}; | ||
module.exports = me; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"settings": { | ||
"createApp": { | ||
"url": "https://app.getresponse.com/manage_api.html", | ||
"image": "config.png" | ||
}, | ||
"copyingKey": { | ||
"url": "https://app.getresponse.com/manage_api.html", | ||
"image": "keys.png" | ||
}, | ||
"install": { | ||
"href": { | ||
"provider": "https://www.getresponse.com/", | ||
"docs": "https://apidocs.getresponse.com/v3/" | ||
} | ||
}, | ||
"sample": { | ||
"method": "get", | ||
"url": "/accounts" | ||
} | ||
} | ||
} |