-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
36 lines (25 loc) · 1.5 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Tune-In App
## Endpoints
### Gateway
| URL | redirect to | Info |
| -------------- | ----------------- | ------------------------------------------- |
| /blog/* | Blog service | Prefix for all blog-service requests |
| /comment/* | Comment service | Prefix for all comment-service requests |
### Blog Service
#### Blog controller
| URL | Funtion | Type |
|-------------------------------|--------------------------------|:------:|
| / | Create blog | POST |
| /{id} | Update blog | PUT |
| /all | Get all blogs | GET |
| /{id} | Delete blog | DELETE |
| /delete/all | Delete all blogs | DELETE |
### Comment service
#### Comment controller
| URL | Funtion | Type |
|-------------------------------|--------------------------------|:------:|
| /submit | Create comment | POST |
| /{id} | Update comment | PUT |
| /all | Get all comments | GET |
| /{id} | Delete comment | DELETE |
| /delete/all | Delete all comments | DELETE |