# NOMAZRA API Endpoints — Rights Cards
Base URL: `https://nomazra.kelthos.com/api/nomazra/`

All endpoints require `Authorization: Bearer <access_token>`

---

## GET /rights-cards/
List all rights cards. Can filter by category.

**Query Parameters:**
- `category` (optional): Filter by category. Values: `"workers"`, `"women"`, `"children"`, `"property"`, `"criminal"`, `"family"`, `"consumer"`, `"business"`

**Example:** `GET /rights-cards/?category=workers`

**Response 200:**
```json
[
  {
    "id": "uuid",
    "title": "Worker's Right to Minimum Wage",
    "title_km": "សិទ្ធិប្រាក់ឈ្នួលអប្បបរមារបស់កម្មករ",
    "category": "workers",
    "content": "Under Article 104 of the Cambodian Labour Law...",
    "content_km": "យោងតាមច្បាប់ការងារកម្ពុជា មាត្រា ១០៤...",
    "source_law": "Labour Law, Article 104",
    "is_featured": true,
    "order": 1,
    "created_at": "..."
  }
]
```

---

## GET /rights-cards/{id}/
Get a single rights card with full content.

**Response 200:** Full rights card object.

---

## GET /rights-cards/categories/
List all available categories with counts.

**Response 200:**
```json
[
  {"category": "workers", "count": 12},
  {"category": "women", "count": 8},
  {"category": "property", "count": 15},
  {"category": "criminal", "count": 10},
  {"category": "family", "count": 7},
  {"category": "consumer", "count": 5},
  {"category": "business", "count": 9},
  {"category": "children", "count": 6}
]
```
