{
  "opencollection": "1.0.0",
  "info": {
    "name": "Asana Allocations Typeahead API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Typeahead",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Asana Get objects via typeahead",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.asana.com/api/1.0/workspaces/:workspace_gid/typeahead",
            "params": [
              {
                "name": "workspace_gid",
                "value": "12345",
                "type": "path",
                "description": "Globally unique identifier for the workspace or organization."
              },
              {
                "name": "resource_type",
                "value": "",
                "type": "query",
                "description": "The type of values the typeahead should return. You can choose from one of the following: `custom_field`, `goal`, `project`, `project_template`, `portfolio`, `tag`, `task`, `team`, and `user`. Note that unlike in the names of endpoints, the types listed here are in singular form (e.g. `task`). Using multiple types is not yet supported."
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "*Deprecated: new integrations should prefer the resource_type field.*"
              },
              {
                "name": "query",
                "value": "Greg",
                "type": "query",
                "description": "The string that will be used to search for relevant objects. If an empty string is passed in, the API will return results."
              },
              {
                "name": "count",
                "value": "20",
                "type": "query",
                "description": "The number of results to return. The default is 20 if this parameter is omitted, with a minimum of 1 and a maximum of 100. If there are fewer results found than requested, all will be returned."
              },
              {
                "name": "opt_pretty",
                "value": "true",
                "type": "query",
                "description": "Provides “pretty” output.\nProvides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging."
              },
              {
                "name": "opt_fields",
                "value": "name",
                "type": "query",
                "description": "This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include."
              }
            ]
          },
          "docs": "Retrieves objects in the workspace based via an auto-completion/typeahead\nsearch algorithm. This feature is meant to provide results quickly, so do\nnot rely on this API to provide extremely accurate search results. The\nresult set is limited to a single page of results with a maximum size, so\nyou won’t be able to fetch large numbers of results.\n\nThe typeahead search API provides search for objects from a single\nworkspace. This endpoint should be used to query for objects when\ncreating an auto-com"
        }
      ]
    }
  ],
  "bundled": true
}