Users
User profile records with names, usernames, emails, address details, and avatar seeds. All mutations persist in your isolated session overlay.
List All Users
Retrieve a paginated list of users. Results merge shared global user records with session sandbox overlays (newly created users appear at the top).
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (1-indexed). |
| limit | integer | Number of records per page (default 10, max 200). |
| q | string | Full-text search query term across name, username, email. |
| _sort | string | Field name to sort results by (name, username, email). |
| _order | string | Sort direction: asc or desc. |
Get Single User
Retrieve a single user by ID. Supports plain integer IDs for global records (e.g. 1) and string IDs formatted as local-<uuid> for sandbox records.
| Parameter | Type | Description |
|---|---|---|
| id | string | integer | User ID (global integer or local-<uuid>). |
Create New User
Create a new session sandbox user record. Returns a local-<uuid> formatted ID with _sandbox: "created". Capped at 30 custom created records per session.
Replace User (PUT)
Replace an existing user record in the session overlay. Global baseline records remain untouched for all other developers.
Partial User Update (PATCH)
Partially update specific profile fields of a user record in your session overlay.
Delete User
Remove a user record from your session view. The underlying global baseline record is unaffected for other users.
Get User Posts Sub-Resource
Retrieve all blog posts authored by a specific user with full pagination, search query, and sorting support.
| Parameter | Type | Description |
|---|---|---|
| userId | string | integer | Author user ID (e.g. 1 or local-<uuid>). |
| page | integer | Page number (1-indexed). |
| limit | integer | Number of posts per page. |
| q | string | Search term across post title and body. |
| _sort | string | Field name to sort by (title, id, created_at). |
| _order | string | Sort direction: asc or desc. |
Get User Todos Sub-Resource
Retrieve all task todos assigned to a specific user, with optional completion status filtering.
| Parameter | Type | Description |
|---|---|---|
| userId | string | integer | Owner user ID (e.g. 1 or local-<uuid>). |
| completed | boolean | Filter tasks by completion status (true or false). |
| page | integer | Page number (1-indexed). |
| limit | integer | Number of todos per page. |
| _sort | string | Field name to sort by (title, id, completed). |
| _order | string | Sort direction: asc or desc. |