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

730 B

GET /propertyname

Protected. Requires a valid session cookie (credentials: 'include').

List property names

Lists all property names defined for the selected company, ordered by sort. Each property name includes articleCount (the number of articles in this company that have an articleproperty row for that property).

Response 200

List of property names

{
  "propertynames": [
    {
      "id": 1,
      "name": "…",
      "sort": 1,
      "exclusive": true,
      "articleCount": 1
    }
  ]
}

Errors

Status Description
400 No company selected — {"error":"…"}

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