tinance2-doorbot/Insomnia-local-acl-api-spec.yaml
2023-06-13 17:18:34 +02:00

292 lines
8.1 KiB
YAML

_type: export
__export_format: 4
__export_date: 2023-06-13T15:14:59.180Z
__export_source: insomnia.desktop.app:v2023.2.2
resources:
- _id: req_fab13abf4f6146a3b0db6955b4968837
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
modified: 1686669271336
created: 1680522514230
url: http://{{ _.url }}/users
name: Get Card ACL's
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: -1680522514230
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: wrk_3465ebd3f0ef47dcac39369bc6f6475e
parentId: null
modified: 1680522505347
created: 1680522505347
name: my-spec.yaml
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: 1686669265389
created: 1686523684626
url: http://{{ _.url }}/users/create
name: Create Card ACL
description: ""
method: POST
body:
mimeType: multipart/form-data
params:
- id: pair_9a5eca8b66424013bc891f6bbfe6aa66
name: cardId
value: ""
description: ""
- id: pair_5ceef17886e44a3785d8007e39aaac1a
name: desc
value: ""
description: ""
parameters: []
headers:
- id: pair_cf9752f319fc4ce2bbc5c1d802d7a82b
name: Content-Type
value: multipart/form-data
description: ""
authentication:
type: basic
useISO88591: false
disabled: false
username: "{{ _.username }}"
password: "{{ _.password }}"
metaSortKey: -1678709813012.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_60a5d5a1e2d444b18d05c1892f23ba0c
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
modified: 1686669263689
created: 1686527136306
url: http://{{ _.url }}/users/update
name: Update Card ACL
description: ""
method: POST
body:
mimeType: multipart/form-data
params:
- name: cardId
value: ""
id: pair_601e929fe2cf4f35a8fef542dbdff232
- id: pair_fb6e32685ee1484da24a96d5a445dab5
name: newCardId
value: ""
description: ""
- id: pair_688c548f6db94924be254a3b4593862c
name: desc
value: ""
description: ""
parameters: []
headers:
- id: pair_cf9752f319fc4ce2bbc5c1d802d7a82b
name: Content-Type
value: multipart/form-data
description: ""
authentication:
type: basic
useISO88591: false
disabled: false
username: "{{ _.username }}"
password: "{{ _.password }}"
metaSortKey: -1678256637708.125
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_df860cce04cf49c98c9abc4e92ec5a72
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
modified: 1686669260874
created: 1686526808857
url: http://{{ _.url }}/users/remove
name: Remove Card ACL
description: ""
method: POST
body:
mimeType: multipart/form-data
params:
- name: cardId
value: ""
id: pair_601e929fe2cf4f35a8fef542dbdff232
parameters: []
headers:
- id: pair_cf9752f319fc4ce2bbc5c1d802d7a82b
name: Content-Type
value: multipart/form-data
description: ""
authentication:
type: basic
useISO88591: false
disabled: false
username: "{{ _.username }}"
password: "{{ _.password }}"
metaSortKey: -1677803462403.75
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: env_72c9ec50419adc3e8768056161ce4d086c486204
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
modified: 1686669088807
created: 1680522505349
name: Base Environment
data:
username: admin
password: admin
url: reader-hostname-or-ip
dataPropertyOrder:
"&":
- username
- password
- url
color: null
isPrivate: false
metaSortKey: 1680522505349
_type: environment
- _id: jar_72c9ec50419adc3e8768056161ce4d086c486204
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
modified: 1680522505350
created: 1680522505350
name: Default Jar
cookies: []
_type: cookie_jar
- _id: spc_deaf3f00ef8847429199de99aca75d06
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
modified: 1680522505347
created: 1680522505347
fileName: my-spec.yaml
contents: ""
contentType: yaml
_type: api_spec