younifyd
Menu

Create or update a collection alias

Create or update a collection alias

PUT/aliases/{aliasName}

Use it in a workflow

  1. Add a step and choose the Typesense connector.
  2. Pick the Create or update a collection alias action (under collections).
  3. Fill in the fields below, then reference the result from later steps as {{createOrUpdateACollectionAlias.response.data}}.

Request

Path parameters

aliasNamestringrequired

The name of the alias to create/update

Request body

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

collection_namestringrequired

Name of the collection you wish to map the alias to

json
{
  "collection_name": "string"
}

Response

Returns 200 with an object. Read it in later steps with {{createOrUpdateACollectionAlias.response.data.<field>}}.

namestring

Name of the collection alias

collection_namestring

Name of the collection the alias mapped to

json
{
  "name": "string",
  "collection_name": "string"
}

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