Sync Postman.

This commit is contained in:
2026-10-08 13:36:08 +02:00
parent 9038120734
commit 85f46cb041
43 changed files with 274 additions and 0 deletions
@@ -0,0 +1,2 @@
$kind: collection
order: 1000
@@ -0,0 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0
method: DELETE
order: 5000
@@ -0,0 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0
method: GET
order: 3000
@@ -0,0 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps
method: GET
order: 2000
@@ -0,0 +1,2 @@
$kind: collection
order: 1000
@@ -0,0 +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
method: DELETE
order: 4000
@@ -0,0 +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
method: GET
order: 2000
@@ -0,0 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0/secrets
method: GET
order: 1000
@@ -0,0 +1,16 @@
$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
method: PUT
body:
type: json
content: |-
{
"expires_at": "2027-01-01T00:00:00.000Z"
}
scripts:
- type: afterResponse
code: |-
var user_app_secret = pm.response.json()["secret"];
pm.collectionVariables.set("user_app_secret", user_app_secret);
language: text/javascript
order: 3000
@@ -0,0 +1,13 @@
$kind: http-request
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0
method: PUT
body:
type: json
content: "{}"
scripts:
- type: afterResponse
code: |-
var user_app_id = pm.response.json()["id"];
pm.collectionVariables.set("user_app_id", user_app_id);
language: text/javascript
order: 4000