Last active
October 2, 2019 18:04
-
-
Save gminero/b378562fc4ad9ac99af7de936c9515cc to your computer and use it in GitHub Desktop.
Generic REST configuration for indexing fluidtopics
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://discover.fluidtopics.com", | |
"Endpoints": [ | |
{ | |
"Path": "/api/khub/maps", | |
"Method": "GET", | |
"ItemType": "FluidTopicArticles", | |
"Uri": "%[coveo_url]", | |
"ClickableUri": "%[coveo_url]", | |
"Title": "%[title]", | |
"Metadata": { | |
"type": "maps", | |
"id": "%[id]" | |
}, | |
"SubItems": [ | |
{ | |
"Path": "/api/khub/maps/%[coveo_parent.id]", | |
"Method": "GET", | |
"ItemType": "map", | |
"Uri": "%[coveo_url]%[readerUrl]", | |
"ClickableUri": "%[coveo_url]%[readerUrl]", | |
"Title": "%[title]", | |
"Metadata": { | |
"id": "%[id]", | |
"language": "%[lang]" | |
}, | |
"SubItems": [ | |
{ | |
"Path": "/api/khub/maps/%[coveo_parent.id]/topics", | |
"Method": "GET", | |
"ItemType": "topics", | |
"Uri": "%[coveo_url]%[readerUrl]", | |
"ClickableUri": "%[coveo_url]%[readerUrl]", | |
"Title": "%[title]", | |
"Metadata": { | |
"parentId": "%[coveo_parent.id]", | |
"id": "%[id]", | |
"contenturl": "%[contentApiEndpoint]", | |
"fluidtopics": "%[breadcrumb]", | |
"language": "%[coveo_parent.language]" | |
} | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment