younifyd
Menu

Faceting Content Items With Search By Text

Faceting Content Items with Search by Text

POST/hubs/{hubId}/content-items/facet

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Faceting Content Items With Search By Text action (under Content Items).
  3. Fill in the fields below, then reference the result from later steps as {{facetingContentItemsWithSearchByText.response.data}}.

Request

Path parameters

hubIdstringrequired

Hub ID

Query parameters

sortstring

Sort

createdDate.dirstring

Direction of sort

One ofascdesc

Request body

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

fieldsarray<object>required
facetAsstring

Facet As

filterobject2 fields
fieldstring

Field

userFacingNamestring

User Facing Name

returnEntitiesboolean

Return Entities

json
{
  "fields": [
    {
      "facetAs": "ENUM",
      "filter": {
        "type": "EQ",
        "value": [
          "http://deliver.bigcontent.io/schema/nested/nested-type.json"
        ]
      },
      "field": "schema",
      "userFacingName": "Schema"
    }
  ],
  "returnEntities": true
}

Response

Returns 200 with a any. Read it in later steps with {{facetingContentItemsWithSearchByText.response.data.<field>}}.

Need more? See the Amplience guide for connection setup and behaviour shared by every action.