Menu
Create Algolia Search Index
Create an Index
POST
/algolia-search/{hubId}/indexesUse it in a workflow
- Add a step and choose the Amplience connector.
- Pick the Create Algolia Search Index action (under Search Indexes).
- Fill in the fields below, then reference the result from later steps as
{{createAlgoliaSearchIndex.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"id": "00112233445566778899aabb",
"name": "anya-finn.my-index",
"suffix": "my-index",
"label": "My Index",
"type": "PRODUCTION",
"assignedContentTypes": [
{
"id": "00112233445566778899aabb",
"contentTypeUri": "http://deliver.bigcontent.io/schema/banner-type.json",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"_links": {
"self": null,
"assigned-content-type": null,
"content-type": null,
"unassign": null,
"webhook": null,
"recreate-webhook": null,
"active-content-webhook": null,
"recreate-active-content-webhook": null,
"archived-content-webhook": null,
"recreate-archived-content-webhook": null
}
}
],
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"_links": {
"self": null,
"index": null,
"hub-search-key": null,
"update": null,
"delete": null,
"list-replicas": null,
"hub": null,
"settings": null,
"update-settings": null,
"assigned-content-types": null,
"clear": null,
"stats": null
},
"parentId": "00112233445566778899aabb",
"replicaCount": 0,
"status": "ACTIVE"
}
Response
Returns 201 with an object. Read it in later steps with {{createAlgoliaSearchIndex.response.data.<field>}}.
{
"id": "00112233445566778899aabb",
"name": "anya-finn.my-index",
"suffix": "my-index",
"label": "My Index",
"type": "PRODUCTION",
"assignedContentTypes": [
{
"id": "00112233445566778899aabb",
"contentTypeUri": "http://deliver.bigcontent.io/schema/banner-type.json",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"_links": {
"self": null,
"assigned-content-type": null,
"content-type": null,
"unassign": null,
"webhook": null,
"recreate-webhook": null,
"active-content-webhook": null,
"recreate-active-content-webhook": null,
"archived-content-webhook": null,
"recreate-archived-content-webhook": null
}
}
],
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"_links": {
"self": null,
"index": null,
"hub-search-key": null,
"update": null,
"delete": null,
"list-replicas": null,
"hub": null,
"settings": null,
"update-settings": null,
"assigned-content-types": null,
"clear": null,
"stats": null
},
"parentId": "00112233445566778899aabb",
"replicaCount": 0,
"status": "ACTIVE"
}
Need more? See the Amplience guide for connection setup and behaviour shared by every action.
Was this page helpful?