Reference seed data by default from Postman.

This commit is contained in:
2026-10-09 20:13:09 +02:00
parent 238c125a5c
commit 38ee5fe021
25 changed files with 68 additions and 63 deletions
@@ -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,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,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