This commit is contained in:
seb
2026-10-11 18:55:06 +02:00
parent fe7be79b90
commit 7fd8d5d704
15 changed files with 150 additions and 129 deletions

View File

@@ -4,7 +4,7 @@ Protected. Requires a valid session cookie (`credentials: 'include'`).
List values for an attribute
Lists all values for a specific attribute.
Lists all values for a specific attribute. Each value includes `articleCount` (the number of articles having this attribute value).
## Path parameters
@@ -23,7 +23,8 @@ List of attribute values
"id": 1,
"attributeId": 1,
"value": "…",
"sort": 1
"sort": 1,
"articleCount": 1
}
]
}

View File

@@ -36,7 +36,8 @@ Created attribute value
"id": 1,
"attributeId": 1,
"value": "…",
"sort": 1
"sort": 1,
"articleCount": 1
}
}
```

View File

@@ -43,12 +43,14 @@ Updated attribute name
"name": "…",
"sort": 1,
"exclusive": true,
"articleCount": 1,
"values": [
{
"id": 1,
"attributeId": 1,
"value": "…",
"sort": 1
"sort": 1,
"articleCount": 1
}
]
}