Vue d’ensemble
Attribut
Créez et gérez des attributs personnalisés pour étendre les modèles Flowtly.
Endpoints
/api/attributes
Lister les attributs
Récupère les attributs avec pagination et filtres.
/api/attributes
Créer un attribut
Définit un nouvel attribut avec slug, nom et type.
/api/attributes/{id}
Obtenir un attribut par ID
Lit une définition d’attribut précise.
/api/attributes/{id}
Mettre à jour un attribut
Modifie le nom ou la description d’un attribut.
/api/attributes/{id}
Supprimer un attribut
Supprime une définition d’attribut.
/api/attribute-entity-values
List attribute-entity-values
Retrieves the collection of AttributeValue resources.
/api/attribute-entity-values
Create attribute-entity-value
Creates a AttributeValue resource.
/api/attribute-entity-values/{id}
Get attribute-entity-value
Retrieves a AttributeValue resource.
/api/attribute-entity-values/{id}
Update attribute-entity-value
Updates the AttributeValue resource.
/api/attribute-entity-values/{id}
Delete attribute-entity-value
Removes the AttributeValue resource.
/api/attribute-set-attributes
List attribute-set-attributes
Retrieves the collection of AttributeSetAttribute resources.
/api/attribute-set-attributes
Create attribute-set-attribute
Creates a AttributeSetAttribute resource.
/api/attribute-set-attributes/{id}
Get attribute-set-attribute
Retrieves a AttributeSetAttribute resource.
/api/attribute-set-attributes/{id}
Update attribute-set-attribute
Updates the AttributeSetAttribute resource.
/api/attribute-set-attributes/{id}
Delete attribute-set-attribute
Removes the AttributeSetAttribute resource.
/api/attribute-sets
List attribute-sets
Retrieves the collection of AttributeSet resources.
/api/attribute-sets
Create attribute-set
Creates a AttributeSet resource.
/api/attribute-sets/{id}
Get attribute-set
Retrieves a AttributeSet resource.
/api/attribute-sets/{id}
Update attribute-set
Updates the AttributeSet resource.
/api/attribute-sets/{id}
Delete attribute-set
Removes the AttributeSet resource.
/api/attribute-values
List attribute-values
Retrieves the collection of AttributeValue resources.
/api/attribute-values
Create attribute-value
Creates a AttributeValue resource.
/api/attribute-values/{id}
Get attribute-value
Retrieves a AttributeValue resource.
/api/attribute-values/{id}
Update attribute-value
Updates the AttributeValue resource.
/api/attribute-values/{id}
Delete attribute-value
Removes the AttributeValue resource.
Champs du schéma
Attribute-attribute.read| Champ | Type | Description |
|---|---|---|
id |
string | Identifiant de l’attribut. |
name |
string | Nom affiché de l’attribut. |
type |
string | Type de données de l’attribut. |
shift |
integer | — |
required |
boolean | — |
multiple |
boolean | — |
defaultValue |
string | null | — |
formatPattern |
string | null | — |