Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mariovyord committed Dec 15, 2023
1 parent 184f455 commit 40f86a3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ Marked with \* are the endpoints that require auth cookie with jwt token.
- `POST /api/v1/users/signup`
- `POST /api/v1/users/signin`
- `DELETE /api/v1/users/signout`\*
- `GET /api/v1/users/:id`\*
- `PATCH /api/v1/users/:id`\*
- `PATCH /api/v1/users/:id/password`\*

## **Articles service endpoints**

Expand All @@ -30,6 +33,14 @@ Marked with \* are the endpoints that require auth cookie with jwt token.
- `PATCH /api/v1/articles/:id` \*
- `DELETE /api/v1/articles/:id` \*

## **Comments service endpoints**

- `GET /api/v1/comments`
- `GET /api/v1/comments/:id`
- `POST /api/v1/comments` \*
- `PATCH /api/v1/comments/:id` \*
- `DELETE /api/v1/comments/:id` \*

### Query params

- `sortBy={property asc/desc}`
Expand Down

0 comments on commit 40f86a3

Please sign in to comment.