more automated spec

This commit is contained in:
Matthew Frost 2023-06-13 17:15:25 +02:00
parent 4b4e9d87a0
commit 378efcfd1e

View file

@ -1,19 +1,19 @@
_type: export
__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
resources:
- _id: req_fab13abf4f6146a3b0db6955b4968837
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
modified: 1686560719521
modified: 1686669271336
created: 1680522514230
url: http://reader-hostname/users/
url: http://{{ _.url }}/users
name: Get Card ACL's
description: ""
method: GET
body:
mimeType: application/json
text: ""
text: "\n "
parameters: []
headers:
- id: pair_cf9752f319fc4ce2bbc5c1d802d7a82b
@ -24,8 +24,8 @@ resources:
type: basic
useISO88591: false
disabled: false
username: admin
password: admin
username: "{{ _.username }}"
password: "{{ _.password }}"
metaSortKey: -1680522514230
isPrivate: false
settingStoreCookies: true
@ -43,23 +43,120 @@ resources:
description: ""
scope: design
_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
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
modified: 1686561076133
modified: 1686669265389
created: 1686523684626
url: http://reader-hostname/users/create
url: http://{{ _.url }}/users/create
name: Create Card ACL
description: ""
method: POST
body:
mimeType: multipart/form-data
params:
- name: cardId
value: "1234"
id: pair_601e929fe2cf4f35a8fef542dbdff232
- id: pair_8156862f80b84f988f5677eec2332f70
- id: pair_9a5eca8b66424013bc891f6bbfe6aa66
name: cardId
value: ""
description: ""
- id: pair_5ceef17886e44a3785d8007e39aaac1a
name: desc
value: Person A
value: ""
description: ""
parameters: []
headers:
@ -71,8 +168,8 @@ resources:
type: basic
useISO88591: false
disabled: false
username: admin
password: admin
username: "{{ _.username }}"
password: "{{ _.password }}"
metaSortKey: -1678709813012.5
isPrivate: false
settingStoreCookies: true
@ -84,9 +181,9 @@ resources:
_type: request
- _id: req_60a5d5a1e2d444b18d05c1892f23ba0c
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
modified: 1686560730675
modified: 1686669263689
created: 1686527136306
url: http://reader-hostname/users/update
url: http://{{ _.url }}/users/update
name: Update Card ACL
description: ""
method: POST
@ -94,15 +191,15 @@ resources:
mimeType: multipart/form-data
params:
- name: cardId
value: "1234"
value: ""
id: pair_601e929fe2cf4f35a8fef542dbdff232
- id: pair_fb6e32685ee1484da24a96d5a445dab5
name: newCardId
value: "1234"
value: ""
description: ""
- id: pair_688c548f6db94924be254a3b4593862c
name: desc
value: Test
value: ""
description: ""
parameters: []
headers:
@ -114,8 +211,8 @@ resources:
type: basic
useISO88591: false
disabled: false
username: admin
password: admin
username: "{{ _.username }}"
password: "{{ _.password }}"
metaSortKey: -1678256637708.125
isPrivate: false
settingStoreCookies: true
@ -127,9 +224,9 @@ resources:
_type: request
- _id: req_df860cce04cf49c98c9abc4e92ec5a72
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
modified: 1686560728749
modified: 1686669260874
created: 1686526808857
url: http://reader-hostname/users/remove
url: http://{{ _.url }}/users/remove
name: Remove Card ACL
description: ""
method: POST
@ -137,7 +234,7 @@ resources:
mimeType: multipart/form-data
params:
- name: cardId
value: "1234"
value: ""
id: pair_601e929fe2cf4f35a8fef542dbdff232
parameters: []
headers:
@ -149,8 +246,8 @@ resources:
type: basic
useISO88591: false
disabled: false
username: admin
password: admin
username: "{{ _.username }}"
password: "{{ _.password }}"
metaSortKey: -1677803462403.75
isPrivate: false
settingStoreCookies: true
@ -162,11 +259,18 @@ resources:
_type: request
- _id: env_72c9ec50419adc3e8768056161ce4d086c486204
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
modified: 1680522505349
modified: 1686669088807
created: 1680522505349
name: Base Environment
data: {}
dataPropertyOrder: null
data:
username: admin
password: admin
url: http://reader
dataPropertyOrder:
"&":
- username
- password
- url
color: null
isPrivate: false
metaSortKey: 1680522505349