compare_functional_go_vs_dart/docs/tests/Insomnia_2025-01-03.yaml

579 lines
16 KiB
YAML

_type: export
__export_format: 4
__export_date: 2025-01-03T20:49:00.058Z
__export_source: insomnia.desktop.app:v2023.3.0
resources:
- _id: req_5a89c144227f4efcbe02057a5a520345
parentId: fld_72976ae44a264b32aa6e263e8d8f5680
modified: 1735936506605
created: 1735936453326
url: http://localhost:8080/api/auth/login/
name: Login
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"email": "peter@p2uter.der",
"password":"test"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1735767726710.75
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_72976ae44a264b32aa6e263e8d8f5680
parentId: wrk_231cffc002dd4034b9624047bdc6b9a8
modified: 1735936437521
created: 1735936437521
name: Auth
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1735936437521
_type: request_group
- _id: wrk_231cffc002dd4034b9624047bdc6b9a8
parentId: null
modified: 1735767761853
created: 1735767761853
name: API
description: ""
scope: collection
_type: workspace
- _id: req_09af6bdca2554bbeaf106ce8e663db8d
parentId: fld_72976ae44a264b32aa6e263e8d8f5680
modified: 1735937021442
created: 1735936528202
url: http://localhost:8080/api/auth/validate/
name: Validate
description: ""
method: POST
body:
mimeType: application/json
text: >-
{
"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzYwMjM0MDUsInVzZXJJRCI6IjQ5NjJlZDNlLWM3OTgtNDY4Zi05Mzk5LTMzNDA0MmZlZjExNCJ9._DzxIjQGpq5UgD_V2NtrL4UAW_RhgwtZBUvWpybuA0g"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1735767724183.625
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_896a4113fb6c48c3a94e902d08e8c994
parentId: fld_72976ae44a264b32aa6e263e8d8f5680
modified: 1735937083173
created: 1735937079673
url: http://localhost:8080/api/auth/revoke/
name: Revoke
description: ""
method: POST
body:
mimeType: application/json
text: >-
{
"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzYwMjM0MDUsInVzZXJJRCI6IjQ5NjJlZDNlLWM3OTgtNDY4Zi05Mzk5LTMzNDA0MmZlZjExNCJ9._DzxIjQGpq5UgD_V2NtrL4UAW_RhgwtZBUvWpybuA0g"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1735767722920.0625
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_be92aeb2b15b4438ae110c9291993d90
parentId: fld_170e0d747dec492c826844410971ec92
modified: 1735919666234
created: 1735768533479
url: http://localhost:8080/api/time-entries/
name: GetAll
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1735768533479
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_170e0d747dec492c826844410971ec92
parentId: wrk_231cffc002dd4034b9624047bdc6b9a8
modified: 1735767789833
created: 1735767789833
name: TimeEntries
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1735767789833
_type: request_group
- _id: req_226d41abac134ac58f374d86738aca41
parentId: fld_170e0d747dec492c826844410971ec92
modified: 1735919656909
created: 1735768573567
url: http://localhost:8080/api/time-entries/40b9ccf0-1d79-4c2a-9b21-99fba8539e97
name: Get Time Entry By Id
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1735768440555.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_18ff5242aa1b4564839c119f96ee4e9c
parentId: fld_170e0d747dec492c826844410971ec92
modified: 1735929699731
created: 1735768602433
url: http://localhost:8080/api/time-entries/
name: Create Time Entry
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"startTime": "2025-01-01T08:00:00Z",
"description": "Worked on user authentication",
"userId": "0",
"projectId": "5338ec33-cd20-4630-a8ba-67a6f0a10975",
"endTime": null
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1735768394093.75
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_5780954485984ec69671f12c72b3edc4
parentId: fld_170e0d747dec492c826844410971ec92
modified: 1735919627706
created: 1735768614983
url: http://localhost:8080/api/time-entries/40b9ccf0-1d79-4c2a-9b21-99fba8539e97
name: Update Time Entry
description: ""
method: PUT
body:
mimeType: application/json
text: |-
{
"startTime": "2025-01-01T08:00:00Z",
"description": "Worked on user authentication",
"userId": "0",
"projectId": "5338ec33-cd20-4630-a8ba-67a6f0a10975",
"endTime": "2025-01-01T22:01:44.462Z"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1735768370862.875
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_052b380ea33646e283041a461105e711
parentId: fld_94a1b0f4432c4954959ab0acb9f11d14
modified: 1735919676233
created: 1735768347632
url: http://localhost:8080/api/project-tasks/
name: Get All Tasks
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1735768347632
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_94a1b0f4432c4954959ab0acb9f11d14
parentId: wrk_231cffc002dd4034b9624047bdc6b9a8
modified: 1735767782283
created: 1735767782283
name: ProjectTasks
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1735767782283
_type: request_group
- _id: req_81ac44bc4fac41a591b8a51266b5da2c
parentId: fld_94a1b0f4432c4954959ab0acb9f11d14
modified: 1735919685480
created: 1735768400340
url: http://localhost:8080/api/project-tasks/d5aae508-a8ee-47b4-8b8a-e9d7aa00da53
name: Get Task By Id
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1735768178093.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_024edabc2b244fe980bab0bab1ee3cb4
parentId: fld_94a1b0f4432c4954959ab0acb9f11d14
modified: 1735919693113
created: 1735768436509
url: http://localhost:8080/api/project-tasks/
name: Create Task
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"name": "Implement Authentication",
"description": "Add user authentication to the backend",
"projectId": "5338ec33-cd20-4630-a8ba-67a6f0a10975"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1735768093324.25
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_89a36833923d4c38afaf0a5fdcbc66ce
parentId: fld_94a1b0f4432c4954959ab0acb9f11d14
modified: 1735919700530
created: 1735768451458
url: http://localhost:8080/api/project-tasks/d5aae508-a8ee-47b4-8b8a-e9d7aa00da53
name: Update Task
description: ""
method: PUT
body:
mimeType: application/json
text: |-
{
"name": "Fix Authorization Issues",
"description": "Resolve authorization bugs"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1735768050939.625
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_cd52f193e87146d5ac2cb0882fe04898
parentId: fld_0bd621a875254d82bf91df2475d3ad48
modified: 1735919708154
created: 1735768008555
url: http://localhost:8080/api/projects/
name: Get All Projects
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1735768008555
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_0bd621a875254d82bf91df2475d3ad48
parentId: wrk_231cffc002dd4034b9624047bdc6b9a8
modified: 1735767773782
created: 1735767773782
name: Projects
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1735767773782
_type: request_group
- _id: req_8aff1d52aeef49069dd2c8f1fd83a09d
parentId: fld_0bd621a875254d82bf91df2475d3ad48
modified: 1735919714984
created: 1735768058540
url: http://localhost:8080/api/projects/5338ec33-cd20-4630-a8ba-67a6f0a10975
name: Get Project By Id
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1735767900485.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_0104259fb15343189185680546f13e8f
parentId: fld_0bd621a875254d82bf91df2475d3ad48
modified: 1735920898456
created: 1735768071216
url: http://localhost:8080/api/projects/
name: Create Project
description: ""
method: POST
body:
mimeType: application/json
text: |
{
"name": "Backend Development",
"description": "Develop the backend for the project",
"clientId": "client123",
"userId": "0"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1735767846450.75
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_5001cc6906e94a698951296a66895440
parentId: fld_0bd621a875254d82bf91df2475d3ad48
modified: 1735768336993
created: 1735768075985
url: http://localhost:8080/projects/5338ec33-cd20-4630-a8ba-67a6f0a10975
name: Update Project
description: ""
method: PUT
body:
mimeType: application/json
text: |
{
"name": "Backend Update",
"description": "Develop the backend for the project new",
"clientId": "client123"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1735767819433.375
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_1119d920857e40b6b33742f6c1c2c4b3
parentId: fld_882d1dac77784235aaf9bac6325b856c
modified: 1735919750715
created: 1735767792416
url: http://localhost:8080/api/users/
name: Get Users
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1735767792416
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_882d1dac77784235aaf9bac6325b856c
parentId: wrk_231cffc002dd4034b9624047bdc6b9a8
modified: 1735767767762
created: 1735767767762
name: User
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1735767767762
_type: request_group
- _id: req_5460a1db555f4ded9ab9318d42dac0d0
parentId: fld_882d1dac77784235aaf9bac6325b856c
modified: 1735931741932
created: 1735767831267
url: http://localhost:8080/api/users/0
name: Get User
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1735767751982
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_3abca2ff922a4169bb8ba7c3adbee1c6
parentId: fld_882d1dac77784235aaf9bac6325b856c
modified: 1735932096327
created: 1735767851734
url: http://localhost:8080/api/users/
name: Create User
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"name": "Peter",
"email": "peter@p2uter.der",
"password":"test"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1735767731765
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_3fe07e9723564d28a23809103cf6cb35
parentId: fld_882d1dac77784235aaf9bac6325b856c
modified: 1735919801158
created: 1735767910265
url: http://localhost:8080/api/users/0
name: Update User
description: ""
method: PUT
body:
mimeType: application/json
text: |-
{
"name": "Peter Griffin",
"email": "peter@Randeom.der",
"password":"test"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1735767721656.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: env_c9e6893ed49a0ac90c959f2ac88e8c9b404c2d95
parentId: wrk_231cffc002dd4034b9624047bdc6b9a8
modified: 1735767761855
created: 1735767761855
name: Base Environment
data: {}
dataPropertyOrder: null
color: null
isPrivate: false
metaSortKey: 1735767761855
_type: environment
- _id: jar_c9e6893ed49a0ac90c959f2ac88e8c9b404c2d95
parentId: wrk_231cffc002dd4034b9624047bdc6b9a8
modified: 1735767761857
created: 1735767761857
name: Default Jar
cookies: []
_type: cookie_jar