{
  "scroll": {
    "documentation": {
      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-scroll",
      "description": "Run a scrolling search"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ],
      "content_type": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_search/scroll",
          "methods": [
            "GET",
            "POST"
          ]
        },
        {
          "path": "/_search/scroll/{scroll_id}",
          "methods": [
            "GET",
            "POST"
          ],
          "parts": {
            "scroll_id": {
              "type": "string",
              "description": "The scroll ID",
              "deprecated": {
                "version": "7.0.0",
                "description": "A scroll id can be quite large and should be specified as part of the body"
              }
            }
          },
          "deprecated": {
            "version": "7.0.0",
            "description": "A scroll id can be quite large and should be specified as part of the body"
          }
        }
      ]
    },
    "params": {
      "scroll": {
        "type": "time",
        "default": "1d",
        "description": "Specify how long a consistent view of the index should be maintained for scrolled search"
      },
      "scroll_id": {
        "deprecated": {
          "version": "7.0.0",
          "description": "A scroll id can be quite large and should be specified as part of the body"
        },
        "type": "string",
        "description": "The scroll ID for scrolled search"
      },
      "rest_total_hits_as_int": {
        "type": "boolean",
        "description": "Indicates whether hits.total should be rendered as an integer or an object in the rest search response",
        "default": false
      }
    },
    "body": {
      "description": "The scroll ID if not passed by URL or query parameter.",
      "required": false
    }
  }
}
