younifyd
Menu

Assign Algolia Search Index Assigned Content Type

Create an Assigned Content Type

POST/algolia-search/{hubId}/indexes/{indexId}/assigned-content-types

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Assign Algolia Search Index Assigned Content Type action (under Search Indexes).
  3. Fill in the fields below, then reference the result from later steps as {{assignAlgoliaSearchIndexAssignedContentType.response.data}}.

Request

Path parameters

hubIdstringrequired

Hub ID

indexIdstringrequired

Index ID

Request body

Enter the body as JSON in the step's Body field.

idstringrequired

ID

contentTypeUristringrequired

Registered Content Type Schema

createdDatestring (date-time)required

Created Date

lastModifiedDatestring (date-time)required

Last Modified Date

_linksobjectrequired

Resource HAL links

selfany
assigned-content-typeany
content-typeany
unassignany
webhookany
recreate-webhookany
active-content-webhookany
recreate-active-content-webhookany
archived-content-webhookany
recreate-archived-content-webhookany
json
{
  "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>}}.

idstring

ID

contentTypeUristring

Registered Content Type Schema

createdDatestring (date-time)

Created Date

lastModifiedDatestring (date-time)

Last Modified Date

_linksobject

Resource HAL links

selfany
assigned-content-typeany
content-typeany
unassignany
webhookany
recreate-webhookany
active-content-webhookany
recreate-active-content-webhookany
archived-content-webhookany
recreate-archived-content-webhookany
json
{
  "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.