{
  "opencollection": "1.0.0",
  "info": {
    "name": "Benchling AA Sequences Folders API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/api/v2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Folders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List folders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/folders",
            "params": [
              {
                "name": "nextToken",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Method by which to order search results. Valid sorts are modifiedAt (modified time, most recent first) and name (folder name, alphabetical). Optionally add :asc or :desc to specify ascending or descending order.\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 folders. Use \"ANY_ARCHIVED\" to filter for archived folders regardless of reason. Use \"ANY_ARCHIVED_OR_NOT_ARCHIVED\" to return items for both archived and unarchived.\n"
              },
              {
                "name": "nameIncludes",
                "value": "",
                "type": "query",
                "description": "Name substring of a folder. Restricts results to those with names that include the provided substring.\n"
              },
              {
                "name": "parentFolderId",
                "value": "",
                "type": "query",
                "description": "ID of a folder. Restricts results to those in the folder. Use \"NO_PARENT\" to filter for root folders."
              },
              {
                "name": "projectId",
                "value": "",
                "type": "query",
                "description": "ID of a project. Restricts results to those in the project."
              },
              {
                "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": "name",
                "value": "",
                "type": "query",
                "description": "Name of a folder. Restricts results to those with the specified name."
              },
              {
                "name": "section",
                "value": "",
                "type": "query",
                "description": "Deprecated - Folder types have been merged, however this will restrict to the pre-merge types.\n"
              }
            ]
          },
          "docs": "List folders"
        },
        {
          "info": {
            "name": "Create folder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/folders",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create folder"
        },
        {
          "info": {
            "name": "Get a folder by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/folders/:folder_id",
            "params": [
              {
                "name": "folder_id",
                "value": "",
                "type": "path",
                "description": "ID of folder to get"
              }
            ]
          },
          "docs": "Get a folder by ID"
        },
        {
          "info": {
            "name": "Archive folders",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/folders:archive",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Archives folders and their contents"
        },
        {
          "info": {
            "name": "Unarchive folders",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/folders:unarchive",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Unarchives folders and the contents that were archived along with them"
        }
      ]
    }
  ],
  "bundled": true
}