@@ -97,9 +97,9 @@ This endpoint serves as the single entry point for accessing different data mode
97972 . **Create Item**
9898 * **Method:** `POST`
9999 * **Path:** `/api/v1/data?model=<model_name>`
100- * **Request Body:** JSON object representing the item to create.
100+ * **Request Body:** JSON object representing the item to create (using `camelCase` keys) .
101101 * **Success Response:** `201 Created` with `SuccessApiResponse<T>` containing the created item.
102- * **Example:** `POST /api/v1/data?model=category` with body `{"name": "Sports", ... }`
102+ * **Example:** `POST /api/v1/data?model=category` with body `{"name": "Sports", "description": "News about sports" }`
103103
1041043 . **Get Item by ID**
105105 * **Method:** `GET`
@@ -111,10 +111,10 @@ This endpoint serves as the single entry point for accessing different data mode
1111114 . **Update Item by ID**
112112 * **Method:** `PUT`
113113 * **Path:** `/api/v1/data/<item_id>?model=<model_name>`
114- * **Request Body:** JSON object representing the complete updated item (must include `id`).
114+ * **Request Body:** JSON object representing the complete updated item (must include `id`, using `camelCase` keys ).
115115 * **Success Response:** `200 OK` with `SuccessApiResponse<T>`.
116116 * **Error Response:** `404 Not Found`, `400 Bad Request`.
117- * **Example:** `PUT /api/v1/data/some-category-id?model=category` with updated category JSON.
117+ * **Example:** `PUT /api/v1/data/some-category-id?model=category` with updated category JSON (e.g., `{"id": "...", "name": "...", "description": "..."}`) .
118118
1191195 . **Delete Item by ID**
120120 * **Method:** `DELETE`
@@ -140,9 +140,9 @@ These endpoints manage application settings. Currently, they operate on a global
1401402 . **Update Display Settings**
141141 * **Method:** `PUT`
142142 * **Path:** `/api/v1/users/me/settings/display`
143- * **Request Body:** JSON object representing the complete `DisplaySettings`.
143+ * **Request Body:** JSON object representing the complete `DisplaySettings` (using `camelCase` keys) .
144144 * **Success Response:** `200 OK` with `SuccessApiResponse<DisplaySettings>` containing the updated settings.
145- * **Example:** `PUT /api/v1/users/me/settings/display` with `DisplaySettings` JSON in the body .
145+ * **Example:** `PUT /api/v1/users/me/settings/display` with body `{"baseTheme": "dark", "accentTheme": "newsRed", ...}` .
146146
1471473 . **Get Language Setting**
148148 * **Method:** `GET`
0 commit comments