Add Rename/Move/Update endpoints
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
meta {
|
||||
name: delete plan
|
||||
type: http
|
||||
seq: 2
|
||||
seq: 5
|
||||
}
|
||||
|
||||
delete {
|
||||
|
||||
24
.bruno/Plan Endpoints/move plan.bru
Normal file
24
.bruno/Plan Endpoints/move plan.bru
Normal file
@@ -0,0 +1,24 @@
|
||||
meta {
|
||||
name: move plan
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
put {
|
||||
url: http://localhost:14014/api/move/[planId]
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "test",
|
||||
"pin": "1234",
|
||||
"folder": "new folder name"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
24
.bruno/Plan Endpoints/rename plan.bru
Normal file
24
.bruno/Plan Endpoints/rename plan.bru
Normal file
@@ -0,0 +1,24 @@
|
||||
meta {
|
||||
name: rename plan
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
put {
|
||||
url: http://localhost:14014/api/rename/[planId]
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "test",
|
||||
"pin": "1234",
|
||||
"planName": "new plan name"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
meta {
|
||||
name: undelete plan
|
||||
type: http
|
||||
seq: 3
|
||||
seq: 6
|
||||
}
|
||||
|
||||
put {
|
||||
|
||||
24
.bruno/Plan Endpoints/update plan.bru
Normal file
24
.bruno/Plan Endpoints/update plan.bru
Normal file
@@ -0,0 +1,24 @@
|
||||
meta {
|
||||
name: update plan
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
put {
|
||||
url: http://localhost:14014/api/move/[planId]
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "test",
|
||||
"pin": "1234",
|
||||
"data": "new plan data"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
Reference in New Issue
Block a user