Skip to content

Commit

Permalink
doc: update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-ciesielska committed Nov 24, 2023
1 parent 09da75e commit f79d136
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/BLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ Deletes blog post object of specified `id` in the database

Expects authorization header with Bearer token.
Creates blog post with fields provided in multipart/form-data body. Requires `title` and `body`, has optional `image` field. `author` is fetched from the session info.

## `GET /blog/user/:id`

Returns blog post object of specified author `id` in the database.

0 comments on commit f79d136

Please sign in to comment.