From 85f46cb0419111bc20ae28d7ac7a369a38f0f00e Mon Sep 17 00:00:00 2001 From: Rogier Reerink Date: Thu, 8 Oct 2026 13:36:08 +0200 Subject: [PATCH] Sync Postman. --- .postman/resources.yaml | 7 ++++++ .../.resources/definition.yaml | 10 ++++++++ .../API/.resources/definition.yaml | 2 ++ .../API/Accounts/.resources/definition.yaml | 2 ++ .../API/Accounts/Delete account.request.yaml | 5 ++++ .../API/Accounts/Get account.request.yaml | 8 ++++++ .../API/Accounts/List accounts.request.yaml | 9 +++++++ .../API/Accounts/Upsert account.request.yaml | 11 ++++++++ .../API/Auth/.resources/definition.yaml | 2 ++ .../Auth/Passkey/.resources/definition.yaml | 2 ++ .../Get challenge options.request.yaml | 4 +++ .../Verify challenge response.request.yaml | 4 +++ .../API/Auth/Token/.resources/definition.yaml | 2 ++ .../API/Auth/Token/Refresh token.request.yaml | 9 +++++++ ...oken using client credentials.request.yaml | 19 ++++++++++++++ .../API/Auth/Token/Revoke token.request.yaml | 8 ++++++ .../.resources/definition.yaml | 2 ++ .../Delete scheduled transaction.request.yaml | 5 ++++ .../Get scheduled transaction.request.yaml | 5 ++++ .../List scheduled transactions.request.yaml | 8 ++++++ .../Upsert scheduled transaction.request.yaml | 25 +++++++++++++++++++ .../Transactions/.resources/definition.yaml | 2 ++ .../Delete transaction.request.yaml | 5 ++++ .../Transactions/Get transaction.request.yaml | 8 ++++++ .../List transactions.request.yaml | 8 ++++++ .../Upsert transaction.request.yaml | 17 +++++++++++++ .../API/Users/.resources/definition.yaml | 2 ++ .../API/Users/Apps/.resources/definition.yaml | 2 ++ .../API/Users/Apps/Delete app.request.yaml | 4 +++ .../API/Users/Apps/Get app.request.yaml | 4 +++ .../API/Users/Apps/List apps.request.yaml | 4 +++ .../Apps/Secrets/.resources/definition.yaml | 2 ++ .../Apps/Secrets/Delete secret.request.yaml | 4 +++ .../Apps/Secrets/Get secret.request.yaml | 4 +++ .../Apps/Secrets/List secrets.request.yaml | 4 +++ .../Apps/Secrets/Upsert secret.request.yaml | 16 ++++++++++++ .../API/Users/Apps/Upsert app.request.yaml | 13 ++++++++++ .../API/Users/Delete user.request.yaml | 4 +++ .../API/Users/Get user.request.yaml | 4 +++ .../API/Users/List users.request.yaml | 4 +++ .../API/Users/Upsert user.request.yaml | 7 ++++++ .../Expenses Server/Health.request.yaml | 5 ++++ postman/globals/workspace.globals.yaml | 2 ++ 43 files changed, 274 insertions(+) create mode 100644 .postman/resources.yaml create mode 100644 postman/collections/Expenses Server/.resources/definition.yaml create mode 100644 postman/collections/Expenses Server/API/.resources/definition.yaml create mode 100644 postman/collections/Expenses Server/API/Accounts/.resources/definition.yaml create mode 100644 postman/collections/Expenses Server/API/Accounts/Delete account.request.yaml create mode 100644 postman/collections/Expenses Server/API/Accounts/Get account.request.yaml create mode 100644 postman/collections/Expenses Server/API/Accounts/List accounts.request.yaml create mode 100644 postman/collections/Expenses Server/API/Accounts/Upsert account.request.yaml create mode 100644 postman/collections/Expenses Server/API/Auth/.resources/definition.yaml create mode 100644 postman/collections/Expenses Server/API/Auth/Passkey/.resources/definition.yaml create mode 100644 postman/collections/Expenses Server/API/Auth/Passkey/Get challenge options.request.yaml create mode 100644 postman/collections/Expenses Server/API/Auth/Passkey/Verify challenge response.request.yaml create mode 100644 postman/collections/Expenses Server/API/Auth/Token/.resources/definition.yaml create mode 100644 postman/collections/Expenses Server/API/Auth/Token/Refresh token.request.yaml create mode 100644 postman/collections/Expenses Server/API/Auth/Token/Request token using client credentials.request.yaml create mode 100644 postman/collections/Expenses Server/API/Auth/Token/Revoke token.request.yaml create mode 100644 postman/collections/Expenses Server/API/Scheduled transactions/.resources/definition.yaml create mode 100644 postman/collections/Expenses Server/API/Scheduled transactions/Delete scheduled transaction.request.yaml create mode 100644 postman/collections/Expenses Server/API/Scheduled transactions/Get scheduled transaction.request.yaml create mode 100644 postman/collections/Expenses Server/API/Scheduled transactions/List scheduled transactions.request.yaml create mode 100644 postman/collections/Expenses Server/API/Scheduled transactions/Upsert scheduled transaction.request.yaml create mode 100644 postman/collections/Expenses Server/API/Transactions/.resources/definition.yaml create mode 100644 postman/collections/Expenses Server/API/Transactions/Delete transaction.request.yaml create mode 100644 postman/collections/Expenses Server/API/Transactions/Get transaction.request.yaml create mode 100644 postman/collections/Expenses Server/API/Transactions/List transactions.request.yaml create mode 100644 postman/collections/Expenses Server/API/Transactions/Upsert transaction.request.yaml create mode 100644 postman/collections/Expenses Server/API/Users/.resources/definition.yaml create mode 100644 postman/collections/Expenses Server/API/Users/Apps/.resources/definition.yaml create mode 100644 postman/collections/Expenses Server/API/Users/Apps/Delete app.request.yaml create mode 100644 postman/collections/Expenses Server/API/Users/Apps/Get app.request.yaml create mode 100644 postman/collections/Expenses Server/API/Users/Apps/List apps.request.yaml create mode 100644 postman/collections/Expenses Server/API/Users/Apps/Secrets/.resources/definition.yaml create mode 100644 postman/collections/Expenses Server/API/Users/Apps/Secrets/Delete secret.request.yaml create mode 100644 postman/collections/Expenses Server/API/Users/Apps/Secrets/Get secret.request.yaml create mode 100644 postman/collections/Expenses Server/API/Users/Apps/Secrets/List secrets.request.yaml create mode 100644 postman/collections/Expenses Server/API/Users/Apps/Secrets/Upsert secret.request.yaml create mode 100644 postman/collections/Expenses Server/API/Users/Apps/Upsert app.request.yaml create mode 100644 postman/collections/Expenses Server/API/Users/Delete user.request.yaml create mode 100644 postman/collections/Expenses Server/API/Users/Get user.request.yaml create mode 100644 postman/collections/Expenses Server/API/Users/List users.request.yaml create mode 100644 postman/collections/Expenses Server/API/Users/Upsert user.request.yaml create mode 100644 postman/collections/Expenses Server/Health.request.yaml create mode 100644 postman/globals/workspace.globals.yaml diff --git a/.postman/resources.yaml b/.postman/resources.yaml new file mode 100644 index 0000000..099294e --- /dev/null +++ b/.postman/resources.yaml @@ -0,0 +1,7 @@ +workspace: + id: 8c2f9f37-0dc7-42c8-8376-b6c18c650d6d +cloudResources: + collections: + ../postman/collections/Expenses Server: 19868969-b6a41e34-1567-4a90-af82-d863aaa2bd8e + globals: + ../postman/globals/workspace.globals.yaml: 440d44c8-920a-4bc2-8fe6-de61186321be diff --git a/postman/collections/Expenses Server/.resources/definition.yaml b/postman/collections/Expenses Server/.resources/definition.yaml new file mode 100644 index 0000000..a8a7aeb --- /dev/null +++ b/postman/collections/Expenses Server/.resources/definition.yaml @@ -0,0 +1,10 @@ +$kind: collection +variables: + - key: user_app_id + secret: true + disabled: false + - key: user_app_secret + secret: true + disabled: false +auth: + type: noauth diff --git a/postman/collections/Expenses Server/API/.resources/definition.yaml b/postman/collections/Expenses Server/API/.resources/definition.yaml new file mode 100644 index 0000000..ec8bcd9 --- /dev/null +++ b/postman/collections/Expenses Server/API/.resources/definition.yaml @@ -0,0 +1,2 @@ +$kind: collection +order: 4162680831488136 diff --git a/postman/collections/Expenses Server/API/Accounts/.resources/definition.yaml b/postman/collections/Expenses Server/API/Accounts/.resources/definition.yaml new file mode 100644 index 0000000..6522e17 --- /dev/null +++ b/postman/collections/Expenses Server/API/Accounts/.resources/definition.yaml @@ -0,0 +1,2 @@ +$kind: collection +order: 2000 diff --git a/postman/collections/Expenses Server/API/Accounts/Delete account.request.yaml b/postman/collections/Expenses Server/API/Accounts/Delete account.request.yaml new file mode 100644 index 0000000..1adeb40 --- /dev/null +++ b/postman/collections/Expenses Server/API/Accounts/Delete account.request.yaml @@ -0,0 +1,5 @@ +$kind: http-request +url: http://localhost:3000/api/accounts/cb9b9fe6-1d4d-4b97-af75-2bda9e44a6dd +method: DELETE +settings: {} +order: 4000 diff --git a/postman/collections/Expenses Server/API/Accounts/Get account.request.yaml b/postman/collections/Expenses Server/API/Accounts/Get account.request.yaml new file mode 100644 index 0000000..2762657 --- /dev/null +++ b/postman/collections/Expenses Server/API/Accounts/Get account.request.yaml @@ -0,0 +1,8 @@ +$kind: http-request +url: http://localhost:3000/api/accounts/cb9b9fe6-1d4d-4b97-af75-2bda9e44a6dd +method: GET +body: + type: text + content: "{}" +settings: {} +order: 2000 diff --git a/postman/collections/Expenses Server/API/Accounts/List accounts.request.yaml b/postman/collections/Expenses Server/API/Accounts/List accounts.request.yaml new file mode 100644 index 0000000..e16888b --- /dev/null +++ b/postman/collections/Expenses Server/API/Accounts/List accounts.request.yaml @@ -0,0 +1,9 @@ +$kind: http-request +url: http://localhost:3000/api/accounts?name=&limit=20&offset=0 +method: GET +queryParams: + name: "" + limit: "20" + offset: "0" +settings: {} +order: 1000 diff --git a/postman/collections/Expenses Server/API/Accounts/Upsert account.request.yaml b/postman/collections/Expenses Server/API/Accounts/Upsert account.request.yaml new file mode 100644 index 0000000..0a056be --- /dev/null +++ b/postman/collections/Expenses Server/API/Accounts/Upsert account.request.yaml @@ -0,0 +1,11 @@ +$kind: http-request +url: http://localhost:3000/api/accounts/cb9b9fe6-1d4d-4b97-af75-2bda9e44a6dd +method: PUT +body: + type: json + content: |- + { + "name": "ASN Bank Checking" + } +settings: {} +order: 3000 diff --git a/postman/collections/Expenses Server/API/Auth/.resources/definition.yaml b/postman/collections/Expenses Server/API/Auth/.resources/definition.yaml new file mode 100644 index 0000000..53d990d --- /dev/null +++ b/postman/collections/Expenses Server/API/Auth/.resources/definition.yaml @@ -0,0 +1,2 @@ +$kind: collection +order: 1000 diff --git a/postman/collections/Expenses Server/API/Auth/Passkey/.resources/definition.yaml b/postman/collections/Expenses Server/API/Auth/Passkey/.resources/definition.yaml new file mode 100644 index 0000000..53d990d --- /dev/null +++ b/postman/collections/Expenses Server/API/Auth/Passkey/.resources/definition.yaml @@ -0,0 +1,2 @@ +$kind: collection +order: 1000 diff --git a/postman/collections/Expenses Server/API/Auth/Passkey/Get challenge options.request.yaml b/postman/collections/Expenses Server/API/Auth/Passkey/Get challenge options.request.yaml new file mode 100644 index 0000000..0167d6d --- /dev/null +++ b/postman/collections/Expenses Server/API/Auth/Passkey/Get challenge options.request.yaml @@ -0,0 +1,4 @@ +$kind: http-request +url: http://localhost:3000/api/auth/passkey/options +method: POST +order: 1000 diff --git a/postman/collections/Expenses Server/API/Auth/Passkey/Verify challenge response.request.yaml b/postman/collections/Expenses Server/API/Auth/Passkey/Verify challenge response.request.yaml new file mode 100644 index 0000000..12b361f --- /dev/null +++ b/postman/collections/Expenses Server/API/Auth/Passkey/Verify challenge response.request.yaml @@ -0,0 +1,4 @@ +$kind: http-request +url: http://localhost:3000/api/auth/passkey/verify +method: POST +order: 2000 diff --git a/postman/collections/Expenses Server/API/Auth/Token/.resources/definition.yaml b/postman/collections/Expenses Server/API/Auth/Token/.resources/definition.yaml new file mode 100644 index 0000000..6522e17 --- /dev/null +++ b/postman/collections/Expenses Server/API/Auth/Token/.resources/definition.yaml @@ -0,0 +1,2 @@ +$kind: collection +order: 2000 diff --git a/postman/collections/Expenses Server/API/Auth/Token/Refresh token.request.yaml b/postman/collections/Expenses Server/API/Auth/Token/Refresh token.request.yaml new file mode 100644 index 0000000..1cae21f --- /dev/null +++ b/postman/collections/Expenses Server/API/Auth/Token/Refresh token.request.yaml @@ -0,0 +1,9 @@ +$kind: http-request +url: http://localhost:3000/api/auth/token +method: POST +body: + type: urlencoded + content: + grant_type: refresh_token + refresh_token: "{{refresh_token}}" +order: 2000 diff --git a/postman/collections/Expenses Server/API/Auth/Token/Request token using client credentials.request.yaml b/postman/collections/Expenses Server/API/Auth/Token/Request token using client credentials.request.yaml new file mode 100644 index 0000000..b9aba27 --- /dev/null +++ b/postman/collections/Expenses Server/API/Auth/Token/Request token using client credentials.request.yaml @@ -0,0 +1,19 @@ +$kind: http-request +url: http://localhost:3000/api/auth/token +method: POST +body: + type: urlencoded + content: + grant_type: client_credentials + client_id: "{{user_app_id}}" + client_secret: "{{user_app_secret}}" +scripts: + - type: afterResponse + code: |- + var access_token = pm.response.json()["access_token"]; + pm.collectionVariables.set("access_token", access_token); + + var refresh_token = pm.response.json()["refresh_token"]; + pm.collectionVariables.set("refresh_token", access_token); + language: text/javascript +order: 1000 diff --git a/postman/collections/Expenses Server/API/Auth/Token/Revoke token.request.yaml b/postman/collections/Expenses Server/API/Auth/Token/Revoke token.request.yaml new file mode 100644 index 0000000..dee559f --- /dev/null +++ b/postman/collections/Expenses Server/API/Auth/Token/Revoke token.request.yaml @@ -0,0 +1,8 @@ +$kind: http-request +url: http://localhost:3000/api/auth/token/revoke +method: POST +body: + type: urlencoded + content: + token: "{{refresh_token}}" +order: 3000 diff --git a/postman/collections/Expenses Server/API/Scheduled transactions/.resources/definition.yaml b/postman/collections/Expenses Server/API/Scheduled transactions/.resources/definition.yaml new file mode 100644 index 0000000..40bbb1c --- /dev/null +++ b/postman/collections/Expenses Server/API/Scheduled transactions/.resources/definition.yaml @@ -0,0 +1,2 @@ +$kind: collection +order: 3000 diff --git a/postman/collections/Expenses Server/API/Scheduled transactions/Delete scheduled transaction.request.yaml b/postman/collections/Expenses Server/API/Scheduled transactions/Delete scheduled transaction.request.yaml new file mode 100644 index 0000000..bd0f6c3 --- /dev/null +++ b/postman/collections/Expenses Server/API/Scheduled transactions/Delete scheduled transaction.request.yaml @@ -0,0 +1,5 @@ +$kind: http-request +url: http://localhost:3000/api/scheduled-transactions/40bda5b3-451e-4c5e-8aeb-af14f8b95e69 +method: DELETE +settings: {} +order: 4000 diff --git a/postman/collections/Expenses Server/API/Scheduled transactions/Get scheduled transaction.request.yaml b/postman/collections/Expenses Server/API/Scheduled transactions/Get scheduled transaction.request.yaml new file mode 100644 index 0000000..c134afa --- /dev/null +++ b/postman/collections/Expenses Server/API/Scheduled transactions/Get scheduled transaction.request.yaml @@ -0,0 +1,5 @@ +$kind: http-request +url: http://localhost:3000/api/scheduled-transactions/40bda5b3-451e-4c5e-8aeb-af14f8b95e69 +method: GET +settings: {} +order: 2000 diff --git a/postman/collections/Expenses Server/API/Scheduled transactions/List scheduled transactions.request.yaml b/postman/collections/Expenses Server/API/Scheduled transactions/List scheduled transactions.request.yaml new file mode 100644 index 0000000..2317041 --- /dev/null +++ b/postman/collections/Expenses Server/API/Scheduled transactions/List scheduled transactions.request.yaml @@ -0,0 +1,8 @@ +$kind: http-request +url: http://localhost:3000/api/scheduled-transactions?limit=20&offset=0 +method: GET +queryParams: + limit: "20" + offset: "0" +settings: {} +order: 1000 diff --git a/postman/collections/Expenses Server/API/Scheduled transactions/Upsert scheduled transaction.request.yaml b/postman/collections/Expenses Server/API/Scheduled transactions/Upsert scheduled transaction.request.yaml new file mode 100644 index 0000000..f9bf31c --- /dev/null +++ b/postman/collections/Expenses Server/API/Scheduled transactions/Upsert scheduled transaction.request.yaml @@ -0,0 +1,25 @@ +$kind: http-request +url: http://localhost:3000/api/scheduled-transactions/40bda5b3-451e-4c5e-8aeb-af14f8b95e69 +method: PUT +body: + type: json + content: |- + { + "type": "recurring", + "name": "DUO", + "account": { + "id": "cb9b9fe6-1d4d-4b97-af75-2bda9e44a6dd" + }, + "amount_cents": 140, + "direction": "out", + "schedule": { + "start": "2026-09-25T09:00:00.000Z", + "recurrence": { + "every": 4, + "unit": "week" + }, + "weekend_adjustment": "previous_business_day" + } + } +settings: {} +order: 3000 diff --git a/postman/collections/Expenses Server/API/Transactions/.resources/definition.yaml b/postman/collections/Expenses Server/API/Transactions/.resources/definition.yaml new file mode 100644 index 0000000..dcd7396 --- /dev/null +++ b/postman/collections/Expenses Server/API/Transactions/.resources/definition.yaml @@ -0,0 +1,2 @@ +$kind: collection +order: 4000 diff --git a/postman/collections/Expenses Server/API/Transactions/Delete transaction.request.yaml b/postman/collections/Expenses Server/API/Transactions/Delete transaction.request.yaml new file mode 100644 index 0000000..9bf9714 --- /dev/null +++ b/postman/collections/Expenses Server/API/Transactions/Delete transaction.request.yaml @@ -0,0 +1,5 @@ +$kind: http-request +url: http://localhost:3000/api/transactions/147b49b7-fbe8-475b-a52d-e35f0fc47057 +method: DELETE +settings: {} +order: 4000 diff --git a/postman/collections/Expenses Server/API/Transactions/Get transaction.request.yaml b/postman/collections/Expenses Server/API/Transactions/Get transaction.request.yaml new file mode 100644 index 0000000..98b2a37 --- /dev/null +++ b/postman/collections/Expenses Server/API/Transactions/Get transaction.request.yaml @@ -0,0 +1,8 @@ +$kind: http-request +url: http://localhost:3000/api/transactions/147b49b7-fbe8-475b-a52d-e35f0fc47057 +method: GET +body: + type: text + content: "{}" +settings: {} +order: 2000 diff --git a/postman/collections/Expenses Server/API/Transactions/List transactions.request.yaml b/postman/collections/Expenses Server/API/Transactions/List transactions.request.yaml new file mode 100644 index 0000000..74de1d7 --- /dev/null +++ b/postman/collections/Expenses Server/API/Transactions/List transactions.request.yaml @@ -0,0 +1,8 @@ +$kind: http-request +url: http://localhost:3000/api/transactions?limit=20&offset=0 +method: GET +queryParams: + limit: "20" + offset: "0" +settings: {} +order: 1000 diff --git a/postman/collections/Expenses Server/API/Transactions/Upsert transaction.request.yaml b/postman/collections/Expenses Server/API/Transactions/Upsert transaction.request.yaml new file mode 100644 index 0000000..8374350 --- /dev/null +++ b/postman/collections/Expenses Server/API/Transactions/Upsert transaction.request.yaml @@ -0,0 +1,17 @@ +$kind: http-request +url: http://localhost:3000/api/transactions/147b49b7-fbe8-475b-a52d-e35f0fc47057 +method: PUT +body: + type: json + content: |- + { + "description": "BBQ sauce", + "account": { + "id": "cb9b9fe6-1d4d-4b97-af75-2bda9e44a6dd" + }, + "amount_cents": 450, + "direction": "out", + "date": "2025-10-12T16:27:00.000Z" + } +settings: {} +order: 3000 diff --git a/postman/collections/Expenses Server/API/Users/.resources/definition.yaml b/postman/collections/Expenses Server/API/Users/.resources/definition.yaml new file mode 100644 index 0000000..afdeb9a --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/.resources/definition.yaml @@ -0,0 +1,2 @@ +$kind: collection +order: 5000 diff --git a/postman/collections/Expenses Server/API/Users/Apps/.resources/definition.yaml b/postman/collections/Expenses Server/API/Users/Apps/.resources/definition.yaml new file mode 100644 index 0000000..53d990d --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/Apps/.resources/definition.yaml @@ -0,0 +1,2 @@ +$kind: collection +order: 1000 diff --git a/postman/collections/Expenses Server/API/Users/Apps/Delete app.request.yaml b/postman/collections/Expenses Server/API/Users/Apps/Delete app.request.yaml new file mode 100644 index 0000000..2d829bf --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/Apps/Delete app.request.yaml @@ -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 diff --git a/postman/collections/Expenses Server/API/Users/Apps/Get app.request.yaml b/postman/collections/Expenses Server/API/Users/Apps/Get app.request.yaml new file mode 100644 index 0000000..56753ea --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/Apps/Get app.request.yaml @@ -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 diff --git a/postman/collections/Expenses Server/API/Users/Apps/List apps.request.yaml b/postman/collections/Expenses Server/API/Users/Apps/List apps.request.yaml new file mode 100644 index 0000000..4f4d4bb --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/Apps/List apps.request.yaml @@ -0,0 +1,4 @@ +$kind: http-request +url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps +method: GET +order: 2000 diff --git a/postman/collections/Expenses Server/API/Users/Apps/Secrets/.resources/definition.yaml b/postman/collections/Expenses Server/API/Users/Apps/Secrets/.resources/definition.yaml new file mode 100644 index 0000000..53d990d --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/Apps/Secrets/.resources/definition.yaml @@ -0,0 +1,2 @@ +$kind: collection +order: 1000 diff --git a/postman/collections/Expenses Server/API/Users/Apps/Secrets/Delete secret.request.yaml b/postman/collections/Expenses Server/API/Users/Apps/Secrets/Delete secret.request.yaml new file mode 100644 index 0000000..7aec3c4 --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/Apps/Secrets/Delete secret.request.yaml @@ -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 diff --git a/postman/collections/Expenses Server/API/Users/Apps/Secrets/Get secret.request.yaml b/postman/collections/Expenses Server/API/Users/Apps/Secrets/Get secret.request.yaml new file mode 100644 index 0000000..cc0a87d --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/Apps/Secrets/Get secret.request.yaml @@ -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 diff --git a/postman/collections/Expenses Server/API/Users/Apps/Secrets/List secrets.request.yaml b/postman/collections/Expenses Server/API/Users/Apps/Secrets/List secrets.request.yaml new file mode 100644 index 0000000..9a54033 --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/Apps/Secrets/List secrets.request.yaml @@ -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 diff --git a/postman/collections/Expenses Server/API/Users/Apps/Secrets/Upsert secret.request.yaml b/postman/collections/Expenses Server/API/Users/Apps/Secrets/Upsert secret.request.yaml new file mode 100644 index 0000000..9d4fc04 --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/Apps/Secrets/Upsert secret.request.yaml @@ -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 diff --git a/postman/collections/Expenses Server/API/Users/Apps/Upsert app.request.yaml b/postman/collections/Expenses Server/API/Users/Apps/Upsert app.request.yaml new file mode 100644 index 0000000..1c71dae --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/Apps/Upsert app.request.yaml @@ -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 diff --git a/postman/collections/Expenses Server/API/Users/Delete user.request.yaml b/postman/collections/Expenses Server/API/Users/Delete user.request.yaml new file mode 100644 index 0000000..56fb4c5 --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/Delete user.request.yaml @@ -0,0 +1,4 @@ +$kind: http-request +url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03 +method: DELETE +order: 5000 diff --git a/postman/collections/Expenses Server/API/Users/Get user.request.yaml b/postman/collections/Expenses Server/API/Users/Get user.request.yaml new file mode 100644 index 0000000..ac50ebf --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/Get user.request.yaml @@ -0,0 +1,4 @@ +$kind: http-request +url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03 +method: GET +order: 3000 diff --git a/postman/collections/Expenses Server/API/Users/List users.request.yaml b/postman/collections/Expenses Server/API/Users/List users.request.yaml new file mode 100644 index 0000000..21e169b --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/List users.request.yaml @@ -0,0 +1,4 @@ +$kind: http-request +url: http://localhost:3000/api/users +method: GET +order: 2000 diff --git a/postman/collections/Expenses Server/API/Users/Upsert user.request.yaml b/postman/collections/Expenses Server/API/Users/Upsert user.request.yaml new file mode 100644 index 0000000..2aa9e90 --- /dev/null +++ b/postman/collections/Expenses Server/API/Users/Upsert user.request.yaml @@ -0,0 +1,7 @@ +$kind: http-request +url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03 +method: PUT +body: + type: json + content: "{}" +order: 4000 diff --git a/postman/collections/Expenses Server/Health.request.yaml b/postman/collections/Expenses Server/Health.request.yaml new file mode 100644 index 0000000..b47ef7b --- /dev/null +++ b/postman/collections/Expenses Server/Health.request.yaml @@ -0,0 +1,5 @@ +$kind: http-request +url: http://localhost:3000/health +method: GET +settings: {} +order: 4426667294982804 diff --git a/postman/globals/workspace.globals.yaml b/postman/globals/workspace.globals.yaml new file mode 100644 index 0000000..e96c6d6 --- /dev/null +++ b/postman/globals/workspace.globals.yaml @@ -0,0 +1,2 @@ +name: Globals +values: []