{
  "opencollection": "1.0.0",
  "info": {
    "name": "Benchling AA Sequences Locations API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/api/v2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Locations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List locations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/locations",
            "params": [
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Number of results to return."
              },
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "Token for pagination"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Method by which to order search results. Valid sorts are barcode, name, modifiedAt, and createdAt. Optionally add :asc or :desc to specify ascending or descending order. Default is modifiedAt.\n"
              },
              {
                "name": "schemaId",
                "value": "",
                "type": "query",
                "description": "ID of a schema. Restricts results to those of the specified schema."
              },
              {
                "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 location. Restricts results to those with the specified name."
              },
              {
                "name": "nameIncludes",
                "value": "",
                "type": "query",
                "description": "Name substring of a location. Restricts results to those with names that include the provided substring.\n"
              },
              {
                "name": "ancestorStorageId",
                "value": "",
                "type": "query",
                "description": "ID of a plate, box, or location. Restricts results to those located in the specified inventory."
              },
              {
                "name": "archiveReason",
                "value": "",
                "type": "query",
                "description": "Archive reason. Restricts items to those with the specified archive reason. Use \"NOT_ARCHIVED\" to filter for unarchived locations. Use \"ANY_ARCHIVED\" to filter for archived locations 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 locations"
        },
        {
          "info": {
            "name": "Create a location",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/locations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a location"
        },
        {
          "info": {
            "name": "Get a location by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/locations/:location_id",
            "params": [
              {
                "name": "location_id",
                "value": "",
                "type": "path",
                "description": "ID of location to get"
              }
            ]
          },
          "docs": "Get a location by ID"
        },
        {
          "info": {
            "name": "Update a location",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "/api/v2/locations/:location_id",
            "params": [
              {
                "name": "location_id",
                "value": "",
                "type": "path",
                "description": "ID of the location to update"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a location"
        },
        {
          "info": {
            "name": "Archive locations",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/locations:archive",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Archive locations"
        },
        {
          "info": {
            "name": "BulkGet locations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/locations:bulk-get",
            "params": [
              {
                "name": "locationIds",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of location IDs."
              },
              {
                "name": "barcodes",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of location barcodes."
              }
            ]
          },
          "docs": "BulkGet locations"
        },
        {
          "info": {
            "name": "Unarchive locations",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/locations:unarchive",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Unarchive locations"
        }
      ]
    }
  ],
  "bundled": true
}