Skip to content

Commit 7160749

Browse files
committed
docs(api-server): add language model and update data access documentation
- Add `language` model to the list of supported models - Include note about read-only status of `country` and `language` models - Clarify that these models are managed via database seeding process
1 parent 98f2e8a commit 7160749

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/content/docs/api-server/reference/data-access.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,17 @@ The following model names are supported:
2424
- `topic`
2525
- `source`
2626
- `country`
27+
- `language`
2728
- `user`
2829
- `user_app_settings`
2930
- `user_content_preferences`
3031
- `remote_config`
3132
- `dashboard_summary`
3233

34+
<Aside type="caution" title="Read-Only Models">
35+
The `country` and `language` models are configured to be **read-only** through the API (i.e., they do not support `POST`, `PUT`, or `DELETE` requests). This is an intentional design choice, as this foundational data is managed via the database seeding process.
36+
</Aside>
37+
3338
<Aside type="caution">
3439
Attempting to use an unsupported model name will result in a `400 Bad Request` error.
3540
</Aside>

0 commit comments

Comments
 (0)