Saltar al contenido principal

GET /api/contracts/templates/categories

Return each template category and how many templates belong to it.

Response — 200

{
"ok": true,
"categories": [
{ "category": "Finance", "count": 4 },
{ "category": "Governance", "count": 2 },
{ "category": "Marketplace", "count": 2 },
{ "category": "Logistics", "count": 1 },
{ "category": "Compliance", "count": 2 },
{ "category": "Hardware", "count": 1 },
{ "category": "Data", "count": 2 },
{ "category": "Security", "count": 1 },
{ "category": "Operations", "count": 1 },
{ "category": "Legal", "count": 1 },
{ "category": "Protocol", "count": 1 }
]
}