page_number - page to fetch, starts at 1 (default 1).category_name - filter by category name.search - match against the blog name.status - which blogs to return (see below).status values the frontend can send (case-insensitive; omit = all):status | Returns |
|---|---|
all (or omit) | All blogs except deleted |
draft | Unpublished blogs (is_active = false) |
published | Published blogs (is_active = true) |
featured | Featured blogs (is_featured = true) |
notified | Blogs that were notified (is_notify = true) |
deleted | Soft-deleted blogs only (is_deleted = true) |
GET /blogs/panel?page_number=1&status=draft&category_name=Astrology200 - data.blogs[] (each: name, slug, image, description, is_active, is_featured, is_notify, reading_time, category_name, created_at) plus data.total, data.offset, data.limit.401 - missing/invalid token | 403 - not an admin