Created
July 15, 2016 13:57
-
-
Save Halama/f81d8a63781565107094c8aafe91513b to your computer and use it in GitHub Desktop.
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
{ | |
"parameters": { | |
"api": { | |
"baseUrl": "https:\/\/api.intercom.io", | |
"authentication": { | |
"type": "basic" | |
}, | |
"http": { | |
"defaultOptions": { | |
"headers": { | |
"Accept": "application\/json" | |
} | |
} | |
}, | |
"pagination": { | |
"method": "pagenum", | |
"pageParam": "page", | |
"limit": "50", | |
"limitParam": "per_page" | |
} | |
}, | |
"config": { | |
"outputBucket": "intercom", | |
"username": "", | |
"#password": "YOUR_PASSWORD", | |
"jobs": [ | |
{ | |
"endpoint": "users", | |
"children": [ | |
{ | |
"endpoint": "notes?user_id={1:user_id}", | |
"placeholders": { | |
"1:user_id": "user_id" | |
}, | |
"recursionFilter": "user_id!=&email!=" | |
}, | |
{ | |
"endpoint": "events?user_id={1:user_id}&type=user", | |
"placeholders": { | |
"1:user_id": "user_id" | |
}, | |
"recursionFilter": "user_id!=&email!=" | |
} | |
] | |
}, | |
{ | |
"endpoint": "contacts" | |
}, | |
{ | |
"endpoint": "companies" | |
}, | |
{ | |
"endpoint": "admins" | |
}, | |
{ | |
"endpoint": "tags" | |
}, | |
{ | |
"endpoint": "segments" | |
}, | |
{ | |
"endpoint": "conversations", | |
"children": [ | |
{ | |
"endpoint": "conversations/{1:id}", | |
"dataField": ".", | |
"placeholders": { | |
"1:id": "id" | |
} | |
} | |
] | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment