Menu
Enable Algolia Searech
Enable the Search Index module on a hub
POST
/admin/modules/hubs/{hubId}/algolia-searchUse it in a workflow
- Add a step and choose the Amplience connector.
- Pick the Enable Algolia Searech action (under Administration).
- Fill in the fields below, then reference the result from later steps as
{{enableAlgoliaSearech.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{enableAlgoliaSearech.response.data.<field>}}.
{
"id": "00112233445566778899aabb",
"name": "anya-finn",
"label": "Anya Finn",
"description": "Content for anyafinn.com",
"plan": "DEVELOPER",
"algoliaSearch": "ENABLED",
"cdv2": "ENABLED",
"organizationId": "org_cDQVi4ww5y6cMPtN",
"settings": {
"publishing": {
"platforms": {
"amplience_dam": {
"API_KEY": "DAM_CLIENT_KEY",
"API_SECRET": "DAM_CLIENT_SECRET",
"endpoint": "endpoint"
}
}
},
"devices": [
{
"name": "New Device",
"width": 2048,
"height": 1024,
"orientate": false
}
],
"localization": {
"locales": [
"en-GB",
"fr-FR"
]
},
"applications": [
{
"name": "Preview Site",
"templatedUri": "http://example.com"
}
],
"previewVirtualStagingEnvironment": {
"hostname": "unique-id.staging.bigcontent.io"
},
"virtualStagingEnvironment": {
"hostname": "unique-id.staging.bigcontent.io"
},
"assetManagement": {
"enabled": false,
"clientConfig": "HUB"
},
"contentItems": {
"validation": {
"ignoreSchemaValidation": false
}
}
},
"_links": {
"self": null,
"hub": null,
"snapshots": null,
"create-snapshot": null,
"batch-create-snapshot": null,
"events": null,
"create-event": null,
"archive": null,
"update": null,
"delete": null,
"update-settings": null,
"share": null
}
}
Need more? See the Amplience guide for connection setup and behaviour shared by every action.
Was this page helpful?