Authentication API
Manage user authentication securely.
-
POST /api/auth/register
Register a new user with the platform.
-
POST /api/auth/login
Login a user and retrieve a token.
Blog Management API
Manage blogs with these endpoints.
-
POST /api/blogs
Create a new blog post.
-
PATCH /api/blogs/:id
Update an existing blog post.
-
DELETE /api/blogs/:id
Delete a blog post.
-
GET /api/blogs
Retrieve all blog posts.
Admin Actions API
Perform administrative tasks with these APIs.
-
PATCH /api/admin/users/:userId/block
Block a user account.
-
DELETE /api/admin/blogs/:id
Delete any blog post.