u
This commit is contained in:
36
docs/api/routes/attributename.get.md
Normal file
36
docs/api/routes/attributename.get.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# `GET /attributename`
|
||||
|
||||
Protected. Requires a valid session cookie (`credentials: 'include'`).
|
||||
|
||||
List attribute names
|
||||
|
||||
Lists all attribute names defined for the selected company, including nested values.
|
||||
|
||||
## Response `200`
|
||||
|
||||
List of attribute names
|
||||
|
||||
```json
|
||||
{
|
||||
"attributenames": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "…",
|
||||
"sort": 1,
|
||||
"exclusive": true,
|
||||
"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