first commit
This commit is contained in:
commit
ea35958607
19 changed files with 285 additions and 0 deletions
17
api/invite/create.bru
Executable file
17
api/invite/create.bru
Executable file
|
@ -0,0 +1,17 @@
|
|||
meta {
|
||||
name: create
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base_url}}/api/invite/create
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"expires": "1d1h"
|
||||
}
|
||||
}
|
15
api/invite/delete.bru
Executable file
15
api/invite/delete.bru
Executable file
|
@ -0,0 +1,15 @@
|
|||
meta {
|
||||
name: delete
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{base_url}}/api/invite/delete/:invite
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
invite: 26c50d68-8f5c-4074-af6d-029681cbffd1
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue