{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kisi Calendars Readers API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Readers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Fetch readers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.kisi.io/readers",
            "params": [
              {
                "name": "ids",
                "value": "",
                "type": "query",
                "description": "Filter by object IDs"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Filter by a freetext string. Properties searched: `name`, `device_id`, `token`\n"
              },
              {
                "name": "model",
                "value": "",
                "type": "query",
                "description": "Filter by model"
              },
              {
                "name": "place_id",
                "value": "",
                "type": "query",
                "description": "Filter by place ID"
              },
              {
                "name": "lock_id",
                "value": "",
                "type": "query",
                "description": "Filter by lock ID"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The number of objects to return"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The number of objects to offset"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by status"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sort the results. Prepend `-` to sort in reverse order.\n\n`name` - sort by group name, alphabetically\n"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Fetch readers"
        },
        {
          "info": {
            "name": "Assign a reader by token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kisi.io/readers/:token/assign",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "The token of the reader."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Assign a reader by token"
        },
        {
          "info": {
            "name": "Deassign a reader",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kisi.io/readers/:id/deassign",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the object"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Deassign a reader"
        },
        {
          "info": {
            "name": "Reset the tampered state of a reader",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kisi.io/readers/:id/reset_tamper",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the object"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Reset the tampered state of a reader"
        },
        {
          "info": {
            "name": "Reboot a reader",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kisi.io/readers/:id/reboot",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the object"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Reboot a reader"
        },
        {
          "info": {
            "name": "Fetch reader",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.kisi.io/readers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the object"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Fetch reader"
        },
        {
          "info": {
            "name": "Update reader",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.kisi.io/readers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the object"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update reader"
        }
      ]
    }
  ],
  "bundled": true
}