u
This commit is contained in:
34
docs/api/routes/attributename/_attributeId/value.get.md
Normal file
34
docs/api/routes/attributename/_attributeId/value.get.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# `GET /attributename/{attributeId}/value`
|
||||
|
||||
Protected. Requires a valid session cookie (`credentials: 'include'`).
|
||||
|
||||
List values for an attribute
|
||||
|
||||
Lists all values for a specific attribute.
|
||||
|
||||
## Path parameters
|
||||
|
||||
| Param | Required | Type | Description |
|
||||
|-------|----------|------|-------------|
|
||||
| `attributeId` | yes | integer | |
|
||||
|
||||
## Response `200`
|
||||
|
||||
List of attribute values
|
||||
|
||||
```json
|
||||
{
|
||||
"values": [
|
||||
{
|
||||
"id": 1,
|
||||
"attributeId": 1,
|
||||
"value": "…",
|
||||
"sort": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
_Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._
|
||||
Reference in New Issue
Block a user