Skip to main content

Bulk Clusters by Id

POST 

/clusters/bulk/id

The bulk endpoints offer an efficient way of importing/updating large amounts of clusters with just a single API call. When using the bulk id endpoint, the clusters are identified by Propeller cluster id. If a cluster with such id doesn't already exist, it will be created. If it does exist, the cluster will be updated.

Fields

NameRequired
clusters (array of cluster objects)yes
sourceIdyes
sourceyes
languageyes
namesyes
descriptionsno
shortDescriptionsno
parentyes
metadataTitlesno
metadataDescriptionsno
metadataKeywordsno
metadataCanonicalUrlsno
priorityno

Directives

NameDescriptionFields
skipIfNotEmptyOn update, skip updating fields of an existing category that are not emptyarray of field names
e.g. names, descriptions, etc.
skipMoveOnUpdateOn update, skip moving an existing category in the parent category providedempty array
mergeTranslationsOnUpdateOn update, delete all translation for a category that are not provided in the payloadempty array

What are directives?

Request

Body

    clusters

    object[]

  • Array [

  • clusterConfigId number
    code string

    descriptions

    object[]

  • Array [

  • language string
    value string
  • ]

  • id number

    names

    object[]

  • Array [

  • language string
    value string
  • ]

  • parent

    object

    id number
  • ]

  • directives

    object[]

  • Array [

  • fields string[]
    operation string
  • ]

Responses

Loading...