younifyd
Menu

Update Hub Settings

Update Hub Settings

PATCH/hubs/{hubId}/settings

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Update Hub Settings action (under Hubs).
  3. Fill in the fields below, then reference the result from later steps as {{updateHubSettings.response.data}}.

Request

Path parameters

hubIdstringrequired

Hub ID

Request body

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

publishingobject
platformsobject1 fields
devicesarray<object>
namestringrequired
widthintegerrequired
heightintegerrequired
orientatebooleanrequired
localizationobject
localesarray<string>
applicationsarray<object>
namestringrequired
templatedUristringrequired
previewVirtualStagingEnvironmentobject
hostnamestringrequired

Virtual Staging Environment hostname

virtualStagingEnvironmentobject
hostnamestringrequired

Virtual Staging Environment hostname

assetManagementobject
enabledboolean
clientConfigstring

One ofHUBUSER

contentItemsobject
validationobject1 fields
json
{
  "publishing": {
    "platforms": {
      "amplience_dam": {
        "API_KEY": "DAM_CLIENT_KEY",
        "API_SECRET": "DAM_CLIENT_SECRET",
        "endpoint": "endpoint"
      }
    }
  },
  "devices": [
    {
      "name": "New Device",
      "width": 2048,
      "height": 1024,
      "orientate": false
    }
  ],
  "localization": {
    "locales": [
      "en-GB",
      "fr-FR"
    ]
  },
  "applications": [
    {
      "name": "Preview Site",
      "templatedUri": "http://example.com"
    }
  ],
  "previewVirtualStagingEnvironment": {
    "hostname": "unique-id.staging.bigcontent.io"
  },
  "virtualStagingEnvironment": {
    "hostname": "unique-id.staging.bigcontent.io"
  },
  "assetManagement": {
    "enabled": false,
    "clientConfig": "HUB"
  },
  "contentItems": {
    "validation": {
      "ignoreSchemaValidation": false
    }
  }
}

Response

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

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

Update Hub Settings — Amplience — Documentation