{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kisi Calendars Role assignments API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Role assignments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Fetch role assignments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.kisi.io/role_assignments",
            "params": [
              {
                "name": "ids",
                "value": "",
                "type": "query",
                "description": "Filter by object IDs"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Filter by a freetext string. Properties searched: `user.email`, `user.name`\n"
              },
              {
                "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": "role_id",
                "value": "",
                "type": "query",
                "description": "Filter by role ID"
              },
              {
                "name": "assignee_type",
                "value": "",
                "type": "query",
                "description": "Filter by assignee type"
              },
              {
                "name": "assignee_id",
                "value": "",
                "type": "query",
                "description": "Filter by assignee ID. Must be used with `assignee_type`"
              },
              {
                "name": "applies_to_type",
                "value": "",
                "type": "query",
                "description": "Filter by applies to type"
              },
              {
                "name": "applies_to_id",
                "value": "",
                "type": "query",
                "description": "Filter by applies to ID. Must be used with `applies_to_type`"
              },
              {
                "name": "scope",
                "value": "",
                "type": "query",
                "description": "Filter by scope"
              },
              {
                "name": "user_id",
                "value": "",
                "type": "query",
                "description": "Filter by user ID or by current user if value is `me`."
              },
              {
                "name": "place_id",
                "value": "",
                "type": "query",
                "description": "Filter by place ID"
              },
              {
                "name": "group_id",
                "value": "",
                "type": "query",
                "description": "Filter by group ID"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sort the results. Prepend `-` to sort in reverse order.\n`user.name` - sort by user name, alphabetically\n"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Fetch role assignments"
        },
        {
          "info": {
            "name": "Create role assignment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kisi.io/role_assignments",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create role assignment"
        },
        {
          "info": {
            "name": "Fetch role assignment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.kisi.io/role_assignments/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the object"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Fetch role assignment"
        },
        {
          "info": {
            "name": "Update role assignment",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.kisi.io/role_assignments/: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 role assignment"
        },
        {
          "info": {
            "name": "Delete role assignment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.kisi.io/role_assignments/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the object"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Delete role assignment"
        }
      ]
    }
  ],
  "bundled": true
}