Skip to content

Commit 694e2a8

Browse files
committed
docs: correct paths
1 parent baa419c commit 694e2a8

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Cargo.lock
1515

1616
# IDE
1717
.idea/
18+
.vscode/
1819

1920
# Database
2021
cira-backend.sqlite

readme.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

7373
Your 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

104104
Get all tickets.
105105

106106
#### Delete ticket
107107

108108
```http
109-
DELETE /tickets/{id}
109+
DELETE /api/tickets/{id}
110110
```
111111

112112
URL 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

126126
URL 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

163163
Your 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

179179
Your payload must be valid JSON and contain the following properties:

0 commit comments

Comments
 (0)