Files
dashback/docs/api/routes/attributename.get.md
2026-10-11 18:55:06 +02:00

862 B

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. Each attribute name includes articleCount (the number of parent articles configured with this attribute) and each value includes articleCount (the number of articles having this attribute value).

Response 200

List of attribute names

{
  "attributenames": [
    {
      "id": 1,
      "name": "…",
      "sort": 1,
      "exclusive": true,
      "articleCount": 1,
      "values": [
        {
          "id": 1,
          "attributeId": 1,
          "value": "…",
          "sort": 1,
          "articleCount": 1
        }
      ]
    }
  ]
}

Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.