change notifications functions

This commit is contained in:
2025-12-17 17:18:37 +01:00
parent 08c51473a7
commit 08459ac627
5 changed files with 10 additions and 63 deletions
@@ -1,27 +0,0 @@
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
}
@@ -5,14 +5,13 @@ meta {
}
delete {
url: {{url}}/api/users/{{userId}}/delete/notification/{{notificationId}}
url: {{url}}/api/users/delete/notification/{{notificationId}}
body: none
auth: inherit
}
vars:pre-request {
userId:
notificationId:
notificationId: 3
}
settings {
@@ -1,19 +1,15 @@
meta {
name: Get user notifications
type: http
seq: 12
seq: 2
}
get {
url: {{url}}/api/users/{{id}}/notifications
url: {{url}}/api/users/notifications
body: none
auth: inherit
}
vars:pre-request {
id: 12
}
settings {
encodeUrl: true
timeout: 0