An open API service indexing awesome lists of open source software.

https://github.com/ntwigs/blaast


https://github.com/ntwigs/blaast

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# BLAAST - Blog as a Service

#### Why the T?
Because a Blaast without the 'T' is just a Blaas, and that does not make sense.

# What works

#### Entry
GET - / | Gets the entry point

#### User
GET - /users | Gets all the users
GET - /users/:id | Gets a specific user
POST - /users | Create a user (register)
PATCH - /users | Update the user associated with your JWT
DELETE - /users | Delete the user associated with your JWT

#### Auth
POST - /auth | Authenticates user and returns a JWT

#### Post
GET - /posts | Gets all the blogposts
GET - /posts/:id | Gets a specific blogpost
GET - /posts/users/:id | Gets all the posts done by a specific user
POST - /posts | Creates a blogpost
PATCH - /posts/:id | Updates a specific blogpost
DELETE - /posts/:id | Deletes a specific blogpost

#### Comment
GET - /comments | Gets all the comments
GET - /comments/:id | Gets a specific comment
GET - /comments/users/:id | Gets all the comments done by a specific user
GET - /comments/posts/:id | Gets all the comments done on a specific blogpost
POST - /comments/posts/:id | Creates a comment on a specific blogpost
PATCH - /comments/:id | Updates a specific comment
DELETE - /comments/:id | Deletes a specific comment

#### Webhook
GET - /webhooks | Gets all the webhooks
GET - /webhooks/:id | Gets a specific webhook
POST - /webhooks | Create a webhook
PATCH - /webhooks/:id | Updates a specific webhook
DELETE - /webhooks/:id | Deletes a specific webhook