u
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -36,7 +36,8 @@ Created attribute value
|
||||
"id": 1,
|
||||
"attributeId": 1,
|
||||
"value": "…",
|
||||
"sort": 1
|
||||
"sort": 1,
|
||||
"articleCount": 1
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user