Reference seed data by default from Postman.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0
|
||||
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000003
|
||||
method: DELETE
|
||||
order: 5000
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0
|
||||
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000003
|
||||
method: GET
|
||||
order: 3000
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps
|
||||
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps
|
||||
method: GET
|
||||
order: 2000
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0/secrets/0b4099cd-6959-4738-8456-0adcbc891f80
|
||||
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000001/secrets/00000000-0000-0000-0002-000000000001
|
||||
method: DELETE
|
||||
order: 4000
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0/secrets/0b4099cd-6959-4738-8456-0adcbc891f80
|
||||
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000001/secrets/00000000-0000-0000-0002-000000000001
|
||||
method: GET
|
||||
order: 2000
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0/secrets
|
||||
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000001/secrets
|
||||
method: GET
|
||||
order: 1000
|
||||
|
||||
+1
-7
@@ -1,5 +1,5 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0/secrets/0b4099cd-6959-4738-8456-0adcbc891f80
|
||||
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000001/secrets/00000000-0000-0000-0002-000000000001
|
||||
method: PUT
|
||||
body:
|
||||
type: json
|
||||
@@ -7,10 +7,4 @@ body:
|
||||
{
|
||||
"expires_at": "2027-01-01T00:00:00.000Z"
|
||||
}
|
||||
scripts:
|
||||
- type: afterResponse
|
||||
code: |-
|
||||
var user_app_secret = pm.response.json()["secret"];
|
||||
await pm.vault.set("expenses_user_app_secret", user_app_secret);
|
||||
language: text/javascript
|
||||
order: 3000
|
||||
|
||||
@@ -1,13 +1,7 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0
|
||||
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000003
|
||||
method: PUT
|
||||
body:
|
||||
type: json
|
||||
content: "{}"
|
||||
scripts:
|
||||
- type: afterResponse
|
||||
code: |-
|
||||
var user_app_id = pm.response.json()["id"];
|
||||
await pm.vault.set("expenses_user_app_id", user_app_id);
|
||||
language: text/javascript
|
||||
order: 4000
|
||||
|
||||
Reference in New Issue
Block a user