Blog post articles containing title, body, user association, created dates, and full-text search indexing. All mutations persist in your isolated session overlay.
List All Posts
Retrieve a paginated list of posts. Results merge shared global posts with session sandbox overlays (newly created posts appear at the top).
Request Endpoint
GEThttps://playground.nileslabs.com/api/v1/posts
Parameters
Parameter
Type
Description
page
integer
Page number (1-indexed).
limit
integer
Number of records per page (default 10, max 200).
user_id
integer
Filter posts authored by user ID (e.g. user_id=1).
q
string
Full-text search query term across title and body.
_sort
string
Field name to sort results by (title, id, created_at).
"title":"sunt aut facere repellat provident occaecati excepturi optio reprehenderit",
5
"body":"quia et suscipit suscipit recusandae consequuntur expedita et cum reprehenderit molestiae ut ut quas totam nostrum rerum est autem sunt rem eveniet architecto"
6
}
Create Post
Create a new post in your session overlay. Capped at 30 custom created records per session.
Request Endpoint
POSThttps://playground.nileslabs.com/api/v1/posts
Request Body Example
1
{
2
"user_id":1,
3
"title":"Getting Started with Playground API",
4
"body":"Playground API provides instant sandboxed mock endpoints with per-session mutation overlays."