{
  "opencollection": "1.0.0",
  "info": {
    "name": "Apache Hadoop REST APIs WebHDFS YARN Applications API",
    "version": "stable"
  },
  "items": [
    {
      "info": {
        "name": "YARN Applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List applications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/ws/v1/cluster/apps",
            "params": [
              {
                "name": "state",
                "value": "",
                "type": "query"
              },
              {
                "name": "user",
                "value": "",
                "type": "query"
              },
              {
                "name": "queue",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List applications"
        },
        {
          "info": {
            "name": "Submit a new application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://{host}:{port}/ws/v1/cluster/apps"
          },
          "docs": "Submit a new application"
        },
        {
          "info": {
            "name": "Application details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/ws/v1/cluster/apps/:appid",
            "params": [
              {
                "name": "appid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Application details"
        },
        {
          "info": {
            "name": "Update application state",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://{host}:{port}/ws/v1/cluster/apps/:appid/state",
            "params": [
              {
                "name": "appid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update application state"
        },
        {
          "info": {
            "name": "Move application to a different queue",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://{host}:{port}/ws/v1/cluster/apps/:appid/queue",
            "params": [
              {
                "name": "appid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Move application to a different queue"
        },
        {
          "info": {
            "name": "Update application priority",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://{host}:{port}/ws/v1/cluster/apps/:appid/priority",
            "params": [
              {
                "name": "appid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update application priority"
        },
        {
          "info": {
            "name": "List application attempts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/ws/v1/cluster/apps/:appid/appattempts",
            "params": [
              {
                "name": "appid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List application attempts"
        },
        {
          "info": {
            "name": "Application statistics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/ws/v1/cluster/appstatistics"
          },
          "docs": "Application statistics"
        }
      ]
    }
  ],
  "bundled": true
}