File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ Cargo.lock
1515
1616# IDE
1717.idea /
18+ .vscode /
1819
1920# Database
2021cira-backend.sqlite
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ cargo test
6767#### Create a new ticket
6868
6969``` http
70- POST /tickets
70+ POST /api/ tickets
7171```
7272
7373Your payload must be valid JSON and contain the following properties:
@@ -98,15 +98,15 @@ Creates a new ticket and returns it.
9898#### Get tickets
9999
100100``` http
101- GET /tickets
101+ GET /api/ tickets
102102```
103103
104104Get all tickets.
105105
106106#### Delete ticket
107107
108108``` http
109- DELETE /tickets/{id}
109+ DELETE /api/ tickets/{id}
110110```
111111
112112URL parameters:
@@ -120,7 +120,7 @@ Deletes a ticket and returns it.
120120#### Edit a ticket
121121
122122``` http
123- POST /tickets/{id}
123+ PUT /api /tickets/{id}
124124```
125125
126126URL parameters:
@@ -157,7 +157,7 @@ Updates a ticket and returns it.
157157#### Sign up
158158
159159```
160- POST /users
160+ POST /api/signup
161161```
162162
163163Your payload must be valid JSON and contain the following properties:
@@ -173,7 +173,7 @@ Create a new user and return it.
173173#### Filter tickets
174174
175175``` http
176- POST /filter
176+ POST /api/ filter
177177```
178178
179179Your payload must be valid JSON and contain the following properties:
You can’t perform that action at this time.
0 commit comments