- Authentication
- Overview
- PAM asset category
- Asset family
- Asset
- Asset attribute
- Asset attribute option
- Asset media file
- PAM asset tag
- PAM asset
- PAM asset reference file
- PAM asset variation file
- Association type
- Attribute group
- Attribute
- Attribute option
- Category
- Channel
- Currency
- Family
- Family variant
- Locale
- Measure family
- Measurement family
- Product media file
- Product model
- Product
- Published product
- Reference entity
- Reference entity media file
- Reference entity attribute
- Reference entity attribute option
- Reference entity record
- System
- Catalogs
- Catalog products
- Product [identifier]
- Product [uuid]
Get the list of attributes of a given asset family
GET
/api/rest/v1/asset-families/{asset_family_code}/attributes
Asset attribute
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/rest/v1/asset-families//attributes'
Response Response Example
200 - Example 1
[
{
"code": "model_is_wearing_size",
"is_required_for_completeness": true,
"labels": {
"en_US": "Model is wearing size",
"fr_FR": "Le mannequin porte la taille"
},
"type": "single_option",
"value_per_channel": false,
"value_per_locale": false
}
]
Request
Path Params
asset_family_code
stringÂ
required
Responses
🟢200Return the attributes of the given asset family
application/json
Body
array of:
allowed_extensions
array[string]
optional
media_file
code
stringÂ
required
decimals_allowed
booleanÂ
optional
number
Default:
false
is_read_only
booleanÂ
optional
Default:
false
is_required_for_completeness
booleanÂ
optional
Default:
false
is_rich_text_editor
booleanÂ
optional
text
is_textarea
booleanÂ
optional
text
Default:
false
labels
objectÂ
optional
Default:
{}
localeCode
stringÂ
optional
localeCode
max_characters
integerÂ
optional
text
max_file_size
stringÂ
optional
media_file
Default:
null
max_value
stringÂ
optional
number
Default:
null
media_type
enum<string>Â
required
media_link
attribute type, it is the type of the media behind the url, to allow its preview in the PIM. For the media_file
attribute type, it is the type of the file.Allowed values:
imagepdfyoutubevimeoother
min_value
stringÂ
optional
number
Default:
null
prefix
stringÂ
optional
media_link
attribute type. The common url root that prefixes the link to the mediaDefault:
null
suffix
stringÂ
optional
media_link
attribute type. The common url suffix for the mediaDefault:
null
type
enum<string>Â
required
Allowed values:
textmedia_linknumbermedia_filesingle_optionmultiple_optionsreference_entity_single_linkreference_entity_multiple_linksboolean
validation_regexp
stringÂ
optional
text
Default:
null
validation_rule
enum<string>Â
optional
text
Allowed values:
emailurlregexpnone
Default:
none
value_per_channel
booleanÂ
optional
Default:
false
value_per_locale
booleanÂ
optional
Default:
false
🟠401Authentication required
🟠406Not Acceptable
Modified at 2023-08-15 05:53:55