acquia-dam-sdk / Components / AttributesApi
new AttributesApi(
client):AttributesApi
Create an instance of the AttributesApi class.
The Attributes API lists all product attributes that have been configured in Entries, and all controlled vocabulary values for any single-select or multi-select attribute
Provide an instance of ApiClient.
https://docs.acquia.com/acquia-dam/api-v2#tag/Attributes
listAttributes(
params?):Promise<ListAttributesResult>
Retrieve a list of attributes
Information about the request
Promise<ListAttributesResult>
Promise containing a list of attributes
https://docs.acquia.com/acquia-dam/api-v2#tag/Attributes/operation/listAttributes
listAttributeVocabulary(
id):Promise<ListAttributeVocabularyResult>
List the vocabulary for a single-select or multi-select attribute
string
Attribute ID
Promise<ListAttributeVocabularyResult>
Promise containing the vocabulary for the provided attribute field
https://docs.acquia.com/acquia-dam/api-v2#tag/Attributes/operation/listVocabulary