...
There are 6 endpoints to be aware of here.
Response properties
Name | Type | Description |
---|---|---|
| int | A language-independent id for this combo value. |
| string | A language-independent string value for this combo value. |
| int | A value indicating how this node should be sorted in relation to all other combo value. |
| int | The metafield id of the metafield this combo value belongs to. |
| int | The itemId of the combo value. |
| string/guid/uuid | The itemGuid of the combo value. |
| dictionary | The translations of this combo value. The key is the languageId. |
| string | The title/name/label of the combo value in this language. |
| int | The language id of this translation. |
| int | The language specific id of this combo value. |
Get all combo values
URL: /digizuitecore/legacyservice/api/admin/combo-values
...
This api is also available as a bulk variant, that takes an array of the objects described here: /digizuitecore/legacyservice/api/admin/combo-values/bulk-create
Request parameters:
Name | Type | Description |
---|---|---|
| string | A language-independent string value for this combo value. |
| int | A value indicating how this combo value should be sorted in relation to all other combo values. |
| int | The metafield id of the metafield this combo valuebelongs to. |
| enum, string, one of:
| Controls how access rights/item security is created when this combo value is created.
If not specified, CalculateAutomatically will be used. |
| array of object | The translations that should be created for this object. |
| int | The id of the language this translation is for. |
| string | The language specific translation of this value. |
Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
Request
Response
|
...
Auth required: YES
Request parameters:
Name | Type | Description |
---|---|---|
| string | A language-independent string value for this combo value. |
| int | A value indicating how this combo value should be sorted in relation to all other combo values. |
| int | A language-independent id for this combo value. |
Expand | ||||
---|---|---|---|---|
| ||||
Request
Response
|
...
Auth required: YES
Request parameters:
Name | Type | Description |
---|---|---|
| string | The translated label for the combo in the specified language. |
| int | The language-independent id for this combo value. |
| int | The id of the language to update the combo in |
Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
Request
Response
|
...
Auth required: YES
Request parameters:
Name | Type | Description |
---|---|---|
| int | The language-independent id for this combo value. |
| bool | If If |
Expand | ||
---|---|---|
| ||
Request
Response <Empty response> |
Get
...
combos to display
URL:
/digizuitecore/legacyservice/api/combo/values/metafield/{metafieldId}
/digizuitecore/legacyservice/api/combo/values/metafield/{metafieldId}/assignable
/digizuitecore/legacyservice/api/combo/values/metafield/{metafieldItemGuid}
/digizuitecore/legacyservice/api/combo/values/metafield/{metafieldItemGuid}/assignable
...
This gets the combo nodes which the authorized user has access to based on item security. It is available in two flavors. One which returns everything the user has read access to and the /assignable
variant of the endpoint which returns everything the user has write access to. The difference between the two is what the user can assign to an asset (i.e. write) and what the user can see as assigned on the asset (i.e. read).
Request parameters:
Name | Type | Description |
---|---|---|
metafieldId | int | The metafield id of the tree metafield to fetch nodes for. |
metafieldItemGuid | string/guid/uuid | The itemGuid of the tree metafield to fetch nodes for. |
Response properties:
Name | Type | Description |
---|---|---|
| int | A language-independent id for this combo value. |
| string | A language-independent string value for this combo value. |
| int | A value indicating how this node should be sorted in relation to all other combo value. |
| int | The metafield id of the metafield this combo value belongs to. |
| int | The itemId of the combo value. |
| string/guid/uuid | The itemGuid of the combo value. |
| dictionary | The translations of this combo value. The key is the languageId. |
| string | The title/name/label of the combo value in this language. |
| int | The language id of this translation. |
| int | The language specific id of this combo value. |
Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
Request:
Response:
|
...