{
  "opencollection": "1.0.0",
  "info": {
    "name": "Benchling AA Sequences Boxes API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/api/v2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Boxes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List boxes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/boxes",
            "params": [
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Number of results to return. Defaults to 50, maximum of 100.\n"
              },
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "Token for pagination"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "schemaId",
                "value": "",
                "type": "query",
                "description": "ID of a schema. Restricts results to those of the specified schema.\n"
              },
              {
                "name": "schemaFields",
                "value": "",
                "type": "query",
                "description": "Filter based on schema field value (not display value). Restricts results to those with a field whose value matches the filter. For Integer, Float, and Date type fields, supports the >= and <= operators (but not < or >). If any schemaField filters are present, the schemaId param must also be present. Note that all operators must be separated from any values by a single space.\n"
              },
              {
                "name": "createdAt",
                "value": "",
                "type": "query",
                "description": "Datetime, in RFC 3339 format. Supports the > and < operators. Time zone defaults to UTC. Restricts results to those created in the specified range. e.g. > 2017-04-30. Date ranges can be specified with the following nomenclature > YYYY-MM-DD AND <YYYY-MM-DD.\n"
              },
              {
                "name": "modifiedAt",
                "value": "",
                "type": "query",
                "description": "Datetime, in RFC 3339 format. Supports the > and < operators. Time zone defaults to UTC. Restricts results to those modified in the specified range. e.g. > 2017-04-30. Date ranges can be specified with the following nomenclature > YYYY-MM-DD AND <YYYY-MM-DD.\n"
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Name of a box. Restricts results to those with the specified name."
              },
              {
                "name": "nameIncludes",
                "value": "",
                "type": "query",
                "description": "Name substring of a box. Restricts results to those with names that include the provided substring.\n"
              },
              {
                "name": "emptyPositions",
                "value": "",
                "type": "query",
                "description": "Only return boxes that have the specified number of empty positions\n"
              },
              {
                "name": "emptyPositions.gte",
                "value": "",
                "type": "query",
                "description": "Only return boxes that have greater-than or equal-to the specified number of empty positions.\n"
              },
              {
                "name": "emptyPositions.gt",
                "value": "",
                "type": "query",
                "description": "Only return boxes that have greater-than the specified number of empty positions.\n"
              },
              {
                "name": "emptyPositions.lte",
                "value": "",
                "type": "query",
                "description": "Only return boxes that have less-than or equal-to the specified number of empty positions.\n"
              },
              {
                "name": "emptyPositions.lt",
                "value": "",
                "type": "query",
                "description": "Only return boxes that have less-than the specified number of empty positions.\n"
              },
              {
                "name": "emptyContainers",
                "value": "",
                "type": "query",
                "description": "Only return boxes that have the specified number of empty containers (containers without contents).\n"
              },
              {
                "name": "emptyContainers.gte",
                "value": "",
                "type": "query",
                "description": "Only return boxes that have greater-than or equal-to the specified number of empty containers (containers without contents).\n"
              },
              {
                "name": "emptyContainers.gt",
                "value": "",
                "type": "query",
                "description": "Only return boxes that have greater-than the specified number of empty containers (containers without contents).\n"
              },
              {
                "name": "emptyContainers.lte",
                "value": "",
                "type": "query",
                "description": "Only return boxes that have less-than or equal-to the specified number of empty containers (containers without contents).\n"
              },
              {
                "name": "emptyContainers.lt",
                "value": "",
                "type": "query",
                "description": "Only return boxes that have less-than the specified number of empty containers (containers without contents).\n"
              },
              {
                "name": "ancestorStorageId",
                "value": "",
                "type": "query",
                "description": "ID of a location. Restricts results to those located in the specified inventory.\n"
              },
              {
                "name": "storageContentsId",
                "value": "",
                "type": "query",
                "description": "ID of a entity, or entity schema. Restricts results to those that hold containers with entities associated with the specified ID.\n"
              },
              {
                "name": "storageContentsIds",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of IDs of entities. Restricts results to those that hold containers with at least one of the specified entities.\n"
              },
              {
                "name": "archiveReason",
                "value": "",
                "type": "query",
                "description": "Archive reason. Restricts items to those with the specified archive reason. Use \"NOT_ARCHIVED\" to filter for unarchived boxes. Use \"ANY_ARCHIVED\" to filter for archived boxes regardless of reason. Use \"ANY_ARCHIVED_OR_NOT_ARCHIVED\" to return items for both archived and unarchived.\n"
              },
              {
                "name": "ids",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of ids. Matches all of the provided IDs, or returns a 400 error that includes a list of which IDs are invalid.\n"
              },
              {
                "name": "barcodes",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of barcodes. Matches all of the provided barcodes, or returns a 400 error that includes a list of which barcodes are invalid.\n"
              },
              {
                "name": "names.anyOf",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of names. Maximum of 100. Restricts results to those that match any of the specified names, case insensitive.  Warning - this filter can be non-performant due to case insensitivity.\n"
              },
              {
                "name": "names.anyOf.caseSensitive",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of names. Maximum of 100. Restricts results to those that match any of the specified names, case sensitive.\n"
              },
              {
                "name": "creatorIds",
                "value": "",
                "type": "query",
                "description": "Comma separated list of users IDs"
              }
            ]
          },
          "docs": "List boxes"
        },
        {
          "info": {
            "name": "Create a box",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/boxes",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a box"
        },
        {
          "info": {
            "name": "Get a box",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/boxes/:box_id",
            "params": [
              {
                "name": "box_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a box"
        },
        {
          "info": {
            "name": "Update a box",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "/api/v2/boxes/:box_id",
            "params": [
              {
                "name": "box_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a box"
        },
        {
          "info": {
            "name": "List a box's contents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/boxes/:box_id/contents",
            "params": [
              {
                "name": "box_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Number of results to return."
              },
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "Token for pagination"
              },
              {
                "name": "returning",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to return. Modifies the output shape. To return all keys at a given level, enumerate them or use the wildcard, '*'. For more information, [click here](https://docs.benchling.com/docs/getting-started-1#returning-query-parameter)."
              }
            ]
          },
          "docs": "List a box's contents"
        },
        {
          "info": {
            "name": "Archive boxes",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/boxes:archive",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Archive boxes and any containers of the boxes"
        },
        {
          "info": {
            "name": "BulkGet boxes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/boxes:bulk-get",
            "params": [
              {
                "name": "boxIds",
                "value": "",
                "type": "query"
              },
              {
                "name": "barcodes",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "BulkGet boxes"
        },
        {
          "info": {
            "name": "Unarchive boxes",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/boxes:unarchive",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Unarchive boxes and the containers that were archived along with them"
        }
      ]
    }
  ],
  "bundled": true
}