tinance2-doorbot/Insomnia-local-acl-api-spec.yaml

293 lines
8.1 KiB
YAML
Raw Normal View History

2023-06-12 17:17:28 +00:00
_type: export
__export_format: 4
2023-06-13 15:15:25 +00:00
__export_date: 2023-06-13T15:14:59.180Z
2023-06-12 17:17:28 +00:00
__export_source: insomnia.desktop.app:v2023.2.2
resources:
- _id: req_fab13abf4f6146a3b0db6955b4968837
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
2023-06-13 15:15:25 +00:00
modified: 1686669271336
2023-06-12 17:17:28 +00:00
created: 1680522514230
2023-06-13 15:15:25 +00:00
url: http://{{ _.url }}/users
2023-06-12 17:17:28 +00:00
name: Get Card ACL's
description: ""
method: GET
body:
mimeType: application/json
2023-06-13 15:15:25 +00:00
text: "\n "
2023-06-12 17:17:28 +00:00
parameters: []
headers:
- id: pair_cf9752f319fc4ce2bbc5c1d802d7a82b
name: Content-Type
value: application/json
description: ""
authentication:
type: basic
useISO88591: false
disabled: false
2023-06-13 15:15:25 +00:00
username: "{{ _.username }}"
password: "{{ _.password }}"
2023-06-12 17:17:28 +00:00
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
2023-06-13 15:15:25 +00:00
- _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
2023-06-13 15:24:34 +00:00
url: http://{{ _.url }}/gpio?output=relay1&state=0
2023-06-13 15:15:25 +00:00
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
2023-06-12 17:17:28 +00:00
- _id: req_fbe2da3ea1b942149289048a145c2e1f
parentId: wrk_3465ebd3f0ef47dcac39369bc6f6475e
2023-06-13 15:15:25 +00:00
modified: 1686669265389
2023-06-12 17:17:28 +00:00
created: 1686523684626
2023-06-13 15:15:25 +00:00
url: http://{{ _.url }}/users/create
2023-06-12 17:17:28 +00:00
name: Create Card ACL
description: ""
method: POST
body:
mimeType: multipart/form-data
params:
2023-06-13 15:15:25 +00:00
- id: pair_9a5eca8b66424013bc891f6bbfe6aa66
name: cardId
value: ""
description: ""
- id: pair_5ceef17886e44a3785d8007e39aaac1a
2023-06-12 17:17:28 +00:00
name: desc
2023-06-13 15:15:25 +00:00
value: ""
2023-06-12 17:17:28 +00:00
description: ""
parameters: []
headers:
- id: pair_cf9752f319fc4ce2bbc5c1d802d7a82b
name: Content-Type
value: multipart/form-data
description: ""
authentication:
type: basic
useISO88591: false
disabled: false
2023-06-13 15:15:25 +00:00
username: "{{ _.username }}"
password: "{{ _.password }}"
2023-06-12 17:17:28 +00:00
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
2023-06-13 15:15:25 +00:00
modified: 1686669263689
2023-06-12 17:17:28 +00:00
created: 1686527136306
2023-06-13 15:15:25 +00:00
url: http://{{ _.url }}/users/update
2023-06-12 17:17:28 +00:00
name: Update Card ACL
description: ""
method: POST
body:
mimeType: multipart/form-data
params:
- name: cardId
2023-06-13 15:15:25 +00:00
value: ""
2023-06-12 17:17:28 +00:00
id: pair_601e929fe2cf4f35a8fef542dbdff232
- id: pair_fb6e32685ee1484da24a96d5a445dab5
name: newCardId
2023-06-13 15:15:25 +00:00
value: ""
2023-06-12 17:17:28 +00:00
description: ""
- id: pair_688c548f6db94924be254a3b4593862c
name: desc
2023-06-13 15:15:25 +00:00
value: ""
2023-06-12 17:17:28 +00:00
description: ""
parameters: []
headers:
- id: pair_cf9752f319fc4ce2bbc5c1d802d7a82b
name: Content-Type
value: multipart/form-data
description: ""
authentication:
type: basic
useISO88591: false
disabled: false
2023-06-13 15:15:25 +00:00
username: "{{ _.username }}"
password: "{{ _.password }}"
2023-06-12 17:17:28 +00:00
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
2023-06-13 15:15:25 +00:00
modified: 1686669260874
2023-06-12 17:17:28 +00:00
created: 1686526808857
2023-06-13 15:15:25 +00:00
url: http://{{ _.url }}/users/remove
2023-06-12 17:17:28 +00:00
name: Remove Card ACL
description: ""
method: POST
body:
mimeType: multipart/form-data
params:
- name: cardId
2023-06-13 15:15:25 +00:00
value: ""
2023-06-12 17:17:28 +00:00
id: pair_601e929fe2cf4f35a8fef542dbdff232
parameters: []
headers:
- id: pair_cf9752f319fc4ce2bbc5c1d802d7a82b
name: Content-Type
value: multipart/form-data
description: ""
authentication:
type: basic
useISO88591: false
disabled: false
2023-06-13 15:15:25 +00:00
username: "{{ _.username }}"
password: "{{ _.password }}"
2023-06-12 17:17:28 +00:00
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
2023-06-13 15:15:25 +00:00
modified: 1686669088807
2023-06-12 17:17:28 +00:00
created: 1680522505349
name: Base Environment
2023-06-13 15:15:25 +00:00
data:
username: admin
password: admin
2023-06-13 15:18:34 +00:00
url: reader-hostname-or-ip
2023-06-13 15:15:25 +00:00
dataPropertyOrder:
"&":
- username
- password
- url
2023-06-12 17:17:28 +00:00
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