4
4
description : " TOPCODER NOTIFICATIONS SERIES - NOTIFICATIONS SERVER"
5
5
version : " 1.0.0"
6
6
host : " localhost:4000"
7
+ basePath : " /v5/notifications"
7
8
schemes :
8
9
- " http"
9
10
securityDefinitions :
@@ -14,7 +15,7 @@ securityDefinitions:
14
15
description : JWT Authentication. Provide API Key in the form 'Bearer <token>'.
15
16
16
17
paths :
17
- /notifications :
18
+ /list :
18
19
get :
19
20
description :
20
21
list notifications
@@ -102,7 +103,7 @@ paths:
102
103
description : " Internal server error."
103
104
schema :
104
105
$ref : " #/definitions/Error"
105
- /notifications/ {id}/read :
106
+ /{id}/read :
106
107
put :
107
108
description :
108
109
mark notification(s) as read, id can be single id or '-' separated ids
@@ -138,7 +139,7 @@ paths:
138
139
description : " Internal server error."
139
140
schema :
140
141
$ref : " #/definitions/Error"
141
- /notifications/ read :
142
+ /read :
142
143
put :
143
144
description :
144
145
mark all notifications as read
@@ -155,7 +156,7 @@ paths:
155
156
description : " Internal server error."
156
157
schema :
157
158
$ref : " #/definitions/Error"
158
- /notifications/ {id}/seen :
159
+ /{id}/seen :
159
160
put :
160
161
description :
161
162
mark notification(s) as seen, id can be single id or '-' separated ids
@@ -191,7 +192,7 @@ paths:
191
192
description : " Internal server error."
192
193
schema :
193
194
$ref : " #/definitions/Error"
194
- /notificationsettings :
195
+ /settings :
195
196
get :
196
197
description :
197
198
get notification settings
0 commit comments