younifyd
Menu

Manage Local Labels

Manage Locale Labels

PUT/hubs/{hubId}/locale-labels

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Manage Local Labels action (under Locale Labels).
  3. Fill in the fields below, then reference the result from later steps as {{manageLocalLabels.response.data}}.

Fields

baseUrlstring

The API host this action calls. Override to point at a different environment.

Default "https://api.amplience.net/v2/content"

bodystring

The request body content (for POST, PUT, PATCH requests).

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

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

localeLabelsarray<object>

An Array of objects containing a Locale and Label property

localestringrequired

locale

labelstringrequired

label

_linksobject

Resource HAL links

selfobjectrequired1 fields
local-labelsobject1 fields
manageobjectrequired1 fields
hubobjectrequired1 fields
json
{
  "localeLabels": [
    {
      "locale": "en-gb",
      "label": "england"
    }
  ],
  "_links": {
    "self": {
      "href": "https://api.amplience.net/v2/content/hubs/00112233445566778899aabb/locale-labels"
    },
    "manage": {
      "href": "https://api.amplience.net/v2/content/hubs/00112233445566778899aabb/locale-labels"
    },
    "hub": {
      "href": "https://api.amplience.net/v2/content/hubs/00112233445566778899aabb"
    },
    "local-labels": {
      "href": "https://api.amplience.net/v2/content/hubs/00112233445566778899aabb/locale-labels"
    }
  }
}

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

Was this page helpful?