{
  "opencollection": "1.0.0",
  "info": {
    "name": "Benchling AA Sequences Projects API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/api/v2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/projects",
            "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 name, modifiedAt, and createdAt. Optionally add :asc or :desc to specify ascending or descending order. Default is modifiedAt.\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 projects. Use \"ANY_ARCHIVED\" to filter for archived projects 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": "name",
                "value": "",
                "type": "query",
                "description": "Name of a project. Restricts results to those with the specified name."
              }
            ]
          },
          "docs": "List projects"
        },
        {
          "info": {
            "name": "Get a project by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/projects/:project_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "ID of project to get"
              }
            ]
          },
          "docs": "Get a project by ID"
        },
        {
          "info": {
            "name": "Archive projects",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/projects:archive",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Archives projects and their contents"
        },
        {
          "info": {
            "name": "Unarchive projects",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/projects:unarchive",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Unarchives projects and the contents that were archived along with them"
        }
      ]
    }
  ],
  "bundled": true
}