Categories List
This section covers the endpoints for retrieving coach categories information.
Available Endpoints
List Categories
Get a list of all available coach categories.
Endpoint
- Method: GET
- URL:
/v1/coach/categories
Request Headers
| Header | Value | Required |
|---|---|---|
| Content-Type | application/json | Yes |
| Accept | application/json | Yes |
Success Response
{
"success": true,
"message": "تم جلب البيانات بنجاح",
"data": [
{
"id": "uuid",
"name": "استشارة تربوية"
},
],
"statusCode": 200
}
Overview
Category Information
Each category entry includes:
- Unique identifier
- Category name
- Category description
- Active status
- Priority for sorting
- Category image URL
- Creation and update timestamps
Important Notes
- Categories are sorted by priority
- Only active categories are returned
- Categories can have associated images
- Category data is cached for better performance
- Categories are used to classify coaches and sessions