Created
October 2, 2019 17:32
-
-
Save gminero/6fa663384faf845b83e39513c0c81cd4 to your computer and use it in GitHub Desktop.
generic rest configuration for indexing stackexchange
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
{ | |
"Services": [ | |
{ | |
"Url": "https://api.stackexchange.com", | |
"Endpoints": [ | |
{ | |
"Path": "/2.2/search/advanced", | |
"Method": "GET", | |
"ItemType": "questions", | |
"ItemPath": "items", | |
"Uri": "%[link]", | |
"ClickableUri": "%[link]", | |
"Title": "%[title]", | |
"Metadata": { | |
"type": "questions", | |
"category": "lightning-web-components", | |
"creation_date": "%[creation_date]", | |
"view_count": "%[view_count]", | |
"answer_count": "%[answer_count]", | |
"wagid": "%[id]" | |
}, | |
"QueryParameters": { | |
"site": "salesforce.stackexchange", | |
"sort": "activity", | |
"order": "desc", | |
"tagged": "lightning-web-components", | |
"pagesize": "100" | |
} | |
}, | |
{ | |
"Path": "/2.2/search/advanced", | |
"Method": "GET", | |
"ItemType": "questions", | |
"ItemPath": "items", | |
"Uri": "%[link]", | |
"ClickableUri": "%[link]", | |
"Title": "%[title]", | |
"Metadata": { | |
"type": "questions", | |
"category": "lightning-aura-components", | |
"creation_date": "%[creation_date]", | |
"view_count": "%[view_count]", | |
"answer_count": "%[answer_count]", | |
"wagid": "%[id]" | |
}, | |
"QueryParameters": { | |
"site": "salesforce.stackexchange", | |
"sort": "activity", | |
"order": "desc", | |
"tagged": "lightning-aura-components", | |
"pagesize": "100" | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment