more automated spec
This commit is contained in:
parent
4b4e9d87a0
commit
378efcfd1e
1 changed files with 134 additions and 30 deletions
|
@ -1,19 +1,19 @@
|
||||||
_type: export
|
_type: export
|
||||||
__export_format: 4
|
__export_format: 4
|
||||||
__export_date: 2023-06-12T09:12:10.701Z
|
__export_date: 2023-06-13T15:14:59.180Z
|
||||||
__export_source: insomnia.desktop.app:v2023.2.2
|
__export_source: insomnia.desktop.app:v2023.2.2
|
||||||
resources:
|
resources:
|
||||||
- _id: req_fab13abf4f6146a3b0db6955b4968837
|
- _id: req_fab13abf4f6146a3b0db6955b4968837
|
||||||
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
|
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
|
||||||
modified: 1686560719521
|
modified: 1686669271336
|
||||||
created: 1680522514230
|
created: 1680522514230
|
||||||
url: http://reader-hostname/users/
|
url: http://{{ _.url }}/users
|
||||||
name: Get Card ACL's
|
name: Get Card ACL's
|
||||||
description: ""
|
description: ""
|
||||||
method: GET
|
method: GET
|
||||||
body:
|
body:
|
||||||
mimeType: application/json
|
mimeType: application/json
|
||||||
text: ""
|
text: "\n "
|
||||||
parameters: []
|
parameters: []
|
||||||
headers:
|
headers:
|
||||||
- id: pair_cf9752f319fc4ce2bbc5c1d802d7a82b
|
- id: pair_cf9752f319fc4ce2bbc5c1d802d7a82b
|
||||||
|
@ -24,8 +24,8 @@ resources:
|
||||||
type: basic
|
type: basic
|
||||||
useISO88591: false
|
useISO88591: false
|
||||||
disabled: false
|
disabled: false
|
||||||
username: admin
|
username: "{{ _.username }}"
|
||||||
password: admin
|
password: "{{ _.password }}"
|
||||||
metaSortKey: -1680522514230
|
metaSortKey: -1680522514230
|
||||||
isPrivate: false
|
isPrivate: false
|
||||||
settingStoreCookies: true
|
settingStoreCookies: true
|
||||||
|
@ -43,23 +43,120 @@ resources:
|
||||||
description: ""
|
description: ""
|
||||||
scope: design
|
scope: design
|
||||||
_type: workspace
|
_type: workspace
|
||||||
|
- _id: req_c66870231d7e481e9924d79dd20a3469
|
||||||
|
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
|
||||||
|
modified: 1686669269579
|
||||||
|
created: 1686657865280
|
||||||
|
url: http://{{ _.url }}/gpio?output=relay1&state=1
|
||||||
|
name: Relay 1 - Lock
|
||||||
|
description: ""
|
||||||
|
method: GET
|
||||||
|
body:
|
||||||
|
mimeType: application/json
|
||||||
|
text: "\n"
|
||||||
|
parameters: []
|
||||||
|
headers:
|
||||||
|
- id: pair_cf9752f319fc4ce2bbc5c1d802d7a82b
|
||||||
|
name: Content-Type
|
||||||
|
value: application/json
|
||||||
|
description: ""
|
||||||
|
authentication:
|
||||||
|
type: basic
|
||||||
|
useISO88591: false
|
||||||
|
disabled: false
|
||||||
|
username: "{{ _.username }}"
|
||||||
|
password: "{{ _.password }}"
|
||||||
|
metaSortKey: -1679616163621.25
|
||||||
|
isPrivate: false
|
||||||
|
settingStoreCookies: true
|
||||||
|
settingSendCookies: true
|
||||||
|
settingDisableRenderRequestBody: false
|
||||||
|
settingEncodeUrl: true
|
||||||
|
settingRebuildPath: true
|
||||||
|
settingFollowRedirects: global
|
||||||
|
_type: request
|
||||||
|
- _id: req_fa13d02a8e494b3bac5e8ebd9e43743d
|
||||||
|
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
|
||||||
|
modified: 1686669268206
|
||||||
|
created: 1686668861396
|
||||||
|
url: http://{{ _.url }}/state/relay1
|
||||||
|
name: Relay 1 - State
|
||||||
|
description: ""
|
||||||
|
method: GET
|
||||||
|
body:
|
||||||
|
mimeType: application/json
|
||||||
|
text: "\n"
|
||||||
|
parameters: []
|
||||||
|
headers:
|
||||||
|
- id: pair_cf9752f319fc4ce2bbc5c1d802d7a82b
|
||||||
|
name: Content-Type
|
||||||
|
value: application/json
|
||||||
|
description: ""
|
||||||
|
authentication:
|
||||||
|
type: basic
|
||||||
|
useISO88591: false
|
||||||
|
disabled: false
|
||||||
|
username: "{{ _.username }}"
|
||||||
|
password: "{{ _.password }}"
|
||||||
|
metaSortKey: -1679389575969.0625
|
||||||
|
isPrivate: false
|
||||||
|
settingStoreCookies: true
|
||||||
|
settingSendCookies: true
|
||||||
|
settingDisableRenderRequestBody: false
|
||||||
|
settingEncodeUrl: true
|
||||||
|
settingRebuildPath: true
|
||||||
|
settingFollowRedirects: global
|
||||||
|
_type: request
|
||||||
|
- _id: req_1b2a0092b3244361b37c14cdffd76b12
|
||||||
|
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
|
||||||
|
modified: 1686669266737
|
||||||
|
created: 1686666065894
|
||||||
|
url: http://{{ _.url }}gpio?output=relay1&state=0
|
||||||
|
name: Relay 1 - Unlock
|
||||||
|
description: ""
|
||||||
|
method: GET
|
||||||
|
body:
|
||||||
|
mimeType: application/json
|
||||||
|
text: "\n"
|
||||||
|
parameters: []
|
||||||
|
headers:
|
||||||
|
- id: pair_cf9752f319fc4ce2bbc5c1d802d7a82b
|
||||||
|
name: Content-Type
|
||||||
|
value: application/json
|
||||||
|
description: ""
|
||||||
|
authentication:
|
||||||
|
type: basic
|
||||||
|
useISO88591: false
|
||||||
|
disabled: false
|
||||||
|
username: "{{ _.username }}"
|
||||||
|
password: "{{ _.password }}"
|
||||||
|
metaSortKey: -1679162988316.875
|
||||||
|
isPrivate: false
|
||||||
|
settingStoreCookies: true
|
||||||
|
settingSendCookies: true
|
||||||
|
settingDisableRenderRequestBody: false
|
||||||
|
settingEncodeUrl: true
|
||||||
|
settingRebuildPath: true
|
||||||
|
settingFollowRedirects: global
|
||||||
|
_type: request
|
||||||
- _id: req_fbe2da3ea1b942149289048a145c2e1f
|
- _id: req_fbe2da3ea1b942149289048a145c2e1f
|
||||||
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
|
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
|
||||||
modified: 1686561076133
|
modified: 1686669265389
|
||||||
created: 1686523684626
|
created: 1686523684626
|
||||||
url: http://reader-hostname/users/create
|
url: http://{{ _.url }}/users/create
|
||||||
name: Create Card ACL
|
name: Create Card ACL
|
||||||
description: ""
|
description: ""
|
||||||
method: POST
|
method: POST
|
||||||
body:
|
body:
|
||||||
mimeType: multipart/form-data
|
mimeType: multipart/form-data
|
||||||
params:
|
params:
|
||||||
- name: cardId
|
- id: pair_9a5eca8b66424013bc891f6bbfe6aa66
|
||||||
value: "1234"
|
name: cardId
|
||||||
id: pair_601e929fe2cf4f35a8fef542dbdff232
|
value: ""
|
||||||
- id: pair_8156862f80b84f988f5677eec2332f70
|
description: ""
|
||||||
|
- id: pair_5ceef17886e44a3785d8007e39aaac1a
|
||||||
name: desc
|
name: desc
|
||||||
value: Person A
|
value: ""
|
||||||
description: ""
|
description: ""
|
||||||
parameters: []
|
parameters: []
|
||||||
headers:
|
headers:
|
||||||
|
@ -71,8 +168,8 @@ resources:
|
||||||
type: basic
|
type: basic
|
||||||
useISO88591: false
|
useISO88591: false
|
||||||
disabled: false
|
disabled: false
|
||||||
username: admin
|
username: "{{ _.username }}"
|
||||||
password: admin
|
password: "{{ _.password }}"
|
||||||
metaSortKey: -1678709813012.5
|
metaSortKey: -1678709813012.5
|
||||||
isPrivate: false
|
isPrivate: false
|
||||||
settingStoreCookies: true
|
settingStoreCookies: true
|
||||||
|
@ -84,9 +181,9 @@ resources:
|
||||||
_type: request
|
_type: request
|
||||||
- _id: req_60a5d5a1e2d444b18d05c1892f23ba0c
|
- _id: req_60a5d5a1e2d444b18d05c1892f23ba0c
|
||||||
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
|
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
|
||||||
modified: 1686560730675
|
modified: 1686669263689
|
||||||
created: 1686527136306
|
created: 1686527136306
|
||||||
url: http://reader-hostname/users/update
|
url: http://{{ _.url }}/users/update
|
||||||
name: Update Card ACL
|
name: Update Card ACL
|
||||||
description: ""
|
description: ""
|
||||||
method: POST
|
method: POST
|
||||||
|
@ -94,15 +191,15 @@ resources:
|
||||||
mimeType: multipart/form-data
|
mimeType: multipart/form-data
|
||||||
params:
|
params:
|
||||||
- name: cardId
|
- name: cardId
|
||||||
value: "1234"
|
value: ""
|
||||||
id: pair_601e929fe2cf4f35a8fef542dbdff232
|
id: pair_601e929fe2cf4f35a8fef542dbdff232
|
||||||
- id: pair_fb6e32685ee1484da24a96d5a445dab5
|
- id: pair_fb6e32685ee1484da24a96d5a445dab5
|
||||||
name: newCardId
|
name: newCardId
|
||||||
value: "1234"
|
value: ""
|
||||||
description: ""
|
description: ""
|
||||||
- id: pair_688c548f6db94924be254a3b4593862c
|
- id: pair_688c548f6db94924be254a3b4593862c
|
||||||
name: desc
|
name: desc
|
||||||
value: Test
|
value: ""
|
||||||
description: ""
|
description: ""
|
||||||
parameters: []
|
parameters: []
|
||||||
headers:
|
headers:
|
||||||
|
@ -114,8 +211,8 @@ resources:
|
||||||
type: basic
|
type: basic
|
||||||
useISO88591: false
|
useISO88591: false
|
||||||
disabled: false
|
disabled: false
|
||||||
username: admin
|
username: "{{ _.username }}"
|
||||||
password: admin
|
password: "{{ _.password }}"
|
||||||
metaSortKey: -1678256637708.125
|
metaSortKey: -1678256637708.125
|
||||||
isPrivate: false
|
isPrivate: false
|
||||||
settingStoreCookies: true
|
settingStoreCookies: true
|
||||||
|
@ -127,9 +224,9 @@ resources:
|
||||||
_type: request
|
_type: request
|
||||||
- _id: req_df860cce04cf49c98c9abc4e92ec5a72
|
- _id: req_df860cce04cf49c98c9abc4e92ec5a72
|
||||||
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
|
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
|
||||||
modified: 1686560728749
|
modified: 1686669260874
|
||||||
created: 1686526808857
|
created: 1686526808857
|
||||||
url: http://reader-hostname/users/remove
|
url: http://{{ _.url }}/users/remove
|
||||||
name: Remove Card ACL
|
name: Remove Card ACL
|
||||||
description: ""
|
description: ""
|
||||||
method: POST
|
method: POST
|
||||||
|
@ -137,7 +234,7 @@ resources:
|
||||||
mimeType: multipart/form-data
|
mimeType: multipart/form-data
|
||||||
params:
|
params:
|
||||||
- name: cardId
|
- name: cardId
|
||||||
value: "1234"
|
value: ""
|
||||||
id: pair_601e929fe2cf4f35a8fef542dbdff232
|
id: pair_601e929fe2cf4f35a8fef542dbdff232
|
||||||
parameters: []
|
parameters: []
|
||||||
headers:
|
headers:
|
||||||
|
@ -149,8 +246,8 @@ resources:
|
||||||
type: basic
|
type: basic
|
||||||
useISO88591: false
|
useISO88591: false
|
||||||
disabled: false
|
disabled: false
|
||||||
username: admin
|
username: "{{ _.username }}"
|
||||||
password: admin
|
password: "{{ _.password }}"
|
||||||
metaSortKey: -1677803462403.75
|
metaSortKey: -1677803462403.75
|
||||||
isPrivate: false
|
isPrivate: false
|
||||||
settingStoreCookies: true
|
settingStoreCookies: true
|
||||||
|
@ -162,11 +259,18 @@ resources:
|
||||||
_type: request
|
_type: request
|
||||||
- _id: env_72c9ec50419adc3e8768056161ce4d086c486204
|
- _id: env_72c9ec50419adc3e8768056161ce4d086c486204
|
||||||
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
|
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
|
||||||
modified: 1680522505349
|
modified: 1686669088807
|
||||||
created: 1680522505349
|
created: 1680522505349
|
||||||
name: Base Environment
|
name: Base Environment
|
||||||
data: {}
|
data:
|
||||||
dataPropertyOrder: null
|
username: admin
|
||||||
|
password: admin
|
||||||
|
url: http://reader
|
||||||
|
dataPropertyOrder:
|
||||||
|
"&":
|
||||||
|
- username
|
||||||
|
- password
|
||||||
|
- url
|
||||||
color: null
|
color: null
|
||||||
isPrivate: false
|
isPrivate: false
|
||||||
metaSortKey: 1680522505349
|
metaSortKey: 1680522505349
|
||||||
|
|
Loading…
Reference in a new issue