add some more .bru updates
This commit is contained in:
parent
577fd4078b
commit
c6cc3b6418
@ -5,16 +5,11 @@ meta {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get {
|
get {
|
||||||
url: http://localhost:3000/api/v1/user/test123/files?path=&nesting=5
|
url:
|
||||||
body: none
|
body: none
|
||||||
auth: oauth2
|
auth: oauth2
|
||||||
}
|
}
|
||||||
|
|
||||||
params:query {
|
|
||||||
path:
|
|
||||||
nesting: 5
|
|
||||||
}
|
|
||||||
|
|
||||||
auth:oauth2 {
|
auth:oauth2 {
|
||||||
grant_type: authorization_code
|
grant_type: authorization_code
|
||||||
callback_url: https://localhost:1234
|
callback_url: https://localhost:1234
|
||||||
@ -26,3 +21,7 @@ auth:oauth2 {
|
|||||||
state:
|
state:
|
||||||
pkce: false
|
pkce: false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
script:post-response {
|
||||||
|
bru.setVar('access_token', res.body.access_token);
|
||||||
|
}
|
||||||
|
|||||||
@ -5,11 +5,15 @@ meta {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get {
|
get {
|
||||||
url: http://localhost:3000/api/v1/user/test123/download?path=test/blub.txt
|
url: http://localhost:3000/api/v1/user/cdf48a88-f0ae-4c09-acc3-c9f056229d95/download?path=test/blub.txt
|
||||||
body: none
|
body: none
|
||||||
auth: none
|
auth: bearer
|
||||||
}
|
}
|
||||||
|
|
||||||
params:query {
|
params:query {
|
||||||
path: test/blub.txt
|
path: test/blub.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auth:bearer {
|
||||||
|
token: {{access_token}}
|
||||||
|
}
|
||||||
|
|||||||
@ -5,9 +5,9 @@ meta {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get {
|
get {
|
||||||
url: http://localhost:3000/api/v1/user/test123/files?path=&nesting=5
|
url: http://localhost:3000/api/v1/user/cdf48a88-f0ae-4c09-acc3-c9f056229d95/files?path=&nesting=5
|
||||||
body: none
|
body: none
|
||||||
auth: oauth2
|
auth: bearer
|
||||||
}
|
}
|
||||||
|
|
||||||
params:query {
|
params:query {
|
||||||
@ -15,14 +15,6 @@ params:query {
|
|||||||
nesting: 5
|
nesting: 5
|
||||||
}
|
}
|
||||||
|
|
||||||
auth:oauth2 {
|
auth:bearer {
|
||||||
grant_type: authorization_code
|
token: {{access_token}}
|
||||||
callback_url: https://localhost:1234
|
|
||||||
authorization_url: https://login.nifni.net/realms/public_selfhosted/protocol/openid-connect/auth
|
|
||||||
access_token_url: https://login.nifni.net/realms/public_selfhosted/protocol/openid-connect/token
|
|
||||||
client_id: casket
|
|
||||||
client_secret:
|
|
||||||
scope:
|
|
||||||
state:
|
|
||||||
pkce: false
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,7 +5,11 @@ meta {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get {
|
get {
|
||||||
url: http://localhost:3000/api/v1/user/
|
url: http://localhost:3000/api/v1/user//files
|
||||||
body: none
|
body: none
|
||||||
auth: none
|
auth: bearer
|
||||||
|
}
|
||||||
|
|
||||||
|
auth:bearer {
|
||||||
|
token: {{access_token}}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,9 +5,13 @@ meta {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
url: http://localhost:3000/api/v1/user/test123/files
|
url: http://localhost:3000/api/v1/user/cdf48a88-f0ae-4c09-acc3-c9f056229d95/files
|
||||||
body: multipartForm
|
body: multipartForm
|
||||||
auth: none
|
auth: bearer
|
||||||
|
}
|
||||||
|
|
||||||
|
auth:bearer {
|
||||||
|
token: {{access_token}}
|
||||||
}
|
}
|
||||||
|
|
||||||
body:multipart-form {
|
body:multipart-form {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user