change notifications functions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user