Playground API
DocsStatsBlogStudio
Documentation Tree
Technical BlogFeature Deep Dives
  • Introduction
  • Quickstart
    5 min
  • How It Works
  • Recipes & Cookbooks
  • Platform Comparisons
  • Real-World Showcase
  • Interactive Studio
    Studio
  • GraphiQL IDE
    IDE
  • Session Quotas & Activity
  • Network Chaos Simulator
  • Atomic Sandbox Reset
  • Overview & Models
    Hub
  • Users Resource
  • Posts Resource
  • Comments Resource
  • Todos Resource
  • Custom Collections
    Custom
  • Multipart File Uploads
    Upload
  • Dynamic SVG Avatars
    SVG
  • Image Thumbnails
    CDN
  • Relational Filtering
  • Full-Text Search
  • Dynamic Sorting
  • Offset Pagination
  • Cursor Pagination
    Scroll
  • CSV & Excel Export & Import
    IO
  • Custom Collections
    CRUD
  • Overview & Architecture
    Hub
  • JWT Auth Flow
  • Refresh Token Rotation
    Mutex
  • RBAC Permission Matrix
    Roles
  • Expiry Simulation
  • Clock Skew Drift
  • Password Recovery Loop
  • Dual-Mode Sandboxing
  • GraphiQL IDE
    IDE
  • Relational Queries
  • Stateful Mutations
  • Realtime Subscriptions
  • Overview & Flowcharts
    Hub
  • Hosted Checkout
    Stripe
  • Payment Intents API
  • 3DS Challenge Modal
    Modal
  • Customers Vault
  • Charges & Refunds
  • Test Cards Catalog
  • Overview & Channels
    Hub
  • Virtual Email Mailbox
    Mailtrap
  • Virtual SMS Terminal
    Phone
  • In-App Notifications
  • Message Dispatcher
  • Realtime Studio
    Studio
  • Native WebSocket (/ws)
  • Socket.io Gateway
  • Presence & Echo Bot
  • Server-Sent Events (SSE)
    SSE
  • Analytics Telemetry
  • Webhook Subscriptions
  • HMAC SHA-256 Signatures
  • Delivery Logs
  • Manual Retry Simulator
  • Network Latency Delay
  • HTTP Status Codes
  • Rate-Limit Simulator
    429
  • Flaky Network & Jitter
    Chaos
  • Session Quotas & Activity
  • JSON Snapshots
    JSON
  • Headless CI/CD Testing
    CI
  • Mobile QR Code Sync
  • System Metrics & Health
  • Atomic Sandbox Reset
  • Official TypeScript SDK
  • Multi-Language Generators
  • DevTools Extension
  • OpenAPI 3.1 Spec
    JSON
  • Postman Collection v2.1
  • Bruno Collection
  • Insomnia Workspace
  • TypeScript .d.ts
    .d.ts
  • AI Prompt Rules
    Rules
  • Context Index (llms.txt)
  • Full Schema (llms-full.txt)
  • Manifest (product.json)
  • All Feature Articles
    Blog
  • React CRUD Without Backend
    Deep Dive
  • Why Static APIs Fail
  • Mocking Stateful Auth
  • WebSockets & SSE Guide
Technical Blog
Articles

In-depth articles explaining stateful mock APIs, WebSockets, payments, and frontend resilience.

Read Articles
PreviousAtomic Sandbox Reset
NextUsers Resource
Core REST Architecture

Core REST Resources & Data Models

Four foundational relational collections providing 825 baseline seed fixtures with isolated copy-on-write session persistence, relational sub-resource traversal, and full CRUD simulation.

Total Fixtures

825

Ready out of the box
Core Collections

4

Users, Posts, Comments, Todos
Mutation Mode

CoW

Copy-on-write overlay
Session Reset

<5ms

Instant atomic restore

Foundational REST Collections

Click any resource to explore its live data explorer, field dictionary, TypeScript interface, and interactive consoles:

Users Resource

25 Profiles

Seed & Custom

Rich user directory records with nested address geo-coordinates, employer company profiles, contact numbers, and deterministic SVG avatar seeds.

Common Endpoints:
GET /api/v1/users
POST /api/v1/users
GET /api/v1/users/:id/posts

Posts Resource

100 Articles

Full-Text Search

Blog post articles containing headlines and body paragraphs indexed for full-text search (?q=...). Directly linked to author users via user_id foreign keys.

Common Endpoints:
GET /api/v1/posts
POST /api/v1/posts
GET /api/v1/posts/:id/comments

Comments Resource

500 Comments

Relational Joins

Community discussion threads attached to blog articles via post_id. Features verified author email addresses and commentary text.

Common Endpoints:
GET /api/v1/comments
POST /api/v1/comments
GET /api/v1/comments/:id/post

Todos Resource

200 Checklists

Boolean State

Task management checklist items with boolean completed flags. Ideal for testing interactive checkboxes, task filtering, and optimistic state updates.

Common Endpoints:
GET /api/v1/todos
PATCH /api/v1/todos/:id
GET /api/v1/todos?completed=false

Entity Relationship Architecture

How foundational entities relate through foreign keys and nested sub-resource routing.

PRIMARY ENTITY

Users (id: 1..25)

Author & Assignee Profile Root

hasMany (1:N)
hasMany (1:N)
Posts (user_id)

GET /users/:id/posts

Todos (user_id)

GET /users/:id/todos

Comments (post_id) cascade naturally under Posts: GET /posts/:id/comments
Explore Comments →

Universal Collection Query Modifiers

Standard query string parameters supported across all four collection endpoints:

ParameterTypeDefaultDescription
pageinteger11-indexed page number for offset pagination.
limitinteger10Max records returned per page (default: 10, max: 200).
cursorstring-Opaque base64 cursor token for infinite-scroll pagination.
qstring-Full-text search query across searchable text fields.
_sortstringidProperty key to sort results by (e.g. name, title, created_at).
_orderstringascSort direction: asc (ascending) or desc (descending).
Dynamic Schema Capability

Need Custom Entities Beyond Core Resources?

Playground API also supports ad-hoc user-defined collections like /api/v1/custom/products or /api/v1/custom/invoices with on-the-fly table creation and spreadsheet export.

Explore Custom Collections