Menu
Assign Algolia Search Index Assigned Content Type
Create an Assigned Content Type
POST
/algolia-search/{hubId}/indexes/{indexId}/assigned-content-typesUse it in a workflow
- Add a step and choose the Amplience connector.
- Pick the Assign Algolia Search Index Assigned Content Type action (under Search Indexes).
- Fill in the fields below, then reference the result from later steps as
{{assignAlgoliaSearchIndexAssignedContentType.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"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
}
}
Response
Returns 201 with an object. Read it in later steps with {{assignAlgoliaSearchIndexAssignedContentType.response.data.<field>}}.
{
"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
}
}
Need more? See the Amplience guide for connection setup and behaviour shared by every action.
Was this page helpful?