create notification bruno request and move some routes

This commit is contained in:
2025-12-17 14:32:01 +01:00
parent 090db4205a
commit 7390ae6116
21 changed files with 113 additions and 37 deletions
@@ -0,0 +1,27 @@
meta {
name: Create notification
type: http
seq: 12
}
post {
url: {{url}}/api/users/{{id}}/create/notification
body: json
auth: inherit
}
body:json {
{
"content": "{{content}}"
}
}
vars:pre-request {
id: 12
content: test
}
settings {
encodeUrl: true
timeout: 0
}
@@ -0,0 +1,21 @@
meta {
name: Delete user notification
type: http
seq: 3
}
delete {
url: {{url}}/api/users/{{userId}}/delete/notification/{{notificationId}}
body: none
auth: inherit
}
vars:pre-request {
userId:
notificationId:
}
settings {
encodeUrl: true
timeout: 0
}
@@ -0,0 +1,20 @@
meta {
name: Get user notifications
type: http
seq: 12
}
get {
url: {{url}}/api/users/{{id}}/notifications
body: none
auth: inherit
}
vars:pre-request {
id: 12
}
settings {
encodeUrl: true
timeout: 0
}
+8
View File
@@ -0,0 +1,8 @@
meta {
name: Notifications
seq: 8
}
auth {
mode: inherit
}