{
  "opencollection": "1.0.0",
  "info": {
    "name": "Apache Oozie REST Admin Jobs API",
    "version": "5.2.1"
  },
  "items": [
    {
      "info": {
        "name": "Jobs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Apache Oozie List Jobs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:11000/oozie/v1/jobs",
            "params": [
              {
                "name": "filter",
                "value": "user%3Dadmin%3Bstatus%3DRUNNING",
                "type": "query",
                "description": "Filter criteria as URL-encoded semicolon-delimited key=value pairs (e.g., user=admin;status=RUNNING)."
              },
              {
                "name": "offset",
                "value": "1",
                "type": "query",
                "description": "Pagination offset, 1-based."
              },
              {
                "name": "len",
                "value": "50",
                "type": "query",
                "description": "Maximum number of jobs to return."
              },
              {
                "name": "timezone",
                "value": "GMT",
                "type": "query",
                "description": "Timezone for date formatting in response."
              },
              {
                "name": "jobtype",
                "value": "",
                "type": "query",
                "description": "Filter by job type (wf, coordinator, bundle)."
              },
              {
                "name": "bulk",
                "value": "",
                "type": "query",
                "description": "Bulk filter for coordinator action status queries."
              }
            ]
          },
          "docs": "Returns a list of jobs matching the specified filters with pagination support."
        },
        {
          "info": {
            "name": "Apache Oozie Submit a Job",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:11000/oozie/v1/jobs",
            "params": [
              {
                "name": "action",
                "value": "",
                "type": "query",
                "description": "Set to \"start\" to immediately start the submitted job."
              },
              {
                "name": "jobtype",
                "value": "",
                "type": "query",
                "description": "Job type for proxy submissions without a workflow XML."
              }
            ]
          },
          "docs": "Submit a workflow, coordinator, or bundle job using an XML configuration payload. Use the action=start query parameter to submit and immediately start the job. Use jobtype for proxy submissions (mapreduce, pig, hive, sqoop) without a workflow XML."
        },
        {
          "info": {
            "name": "Apache Oozie Bulk Job Action",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://localhost:11000/oozie/v1/jobs",
            "params": [
              {
                "name": "action",
                "value": "",
                "type": "query",
                "description": "Action to apply to matching jobs."
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter criteria for selecting target jobs."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset."
              },
              {
                "name": "len",
                "value": "",
                "type": "query",
                "description": "Maximum number of jobs to affect."
              },
              {
                "name": "jobtype",
                "value": "",
                "type": "query",
                "description": "Job type to filter by."
              }
            ]
          },
          "docs": "Apply an action (kill, suspend, resume) to multiple jobs matching filter criteria."
        },
        {
          "info": {
            "name": "Apache Oozie Validate Workflow XML",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:11000/oozie/v2/validate",
            "params": [
              {
                "name": "file",
                "value": "hdfs://localhost:8020/user/admin/myApp/workflow.xml",
                "type": "query",
                "description": "Local or HDFS path to the XML file to validate."
              }
            ]
          },
          "docs": "Validates a workflow, coordinator, or bundle XML definition from the local filesystem or HDFS. The file path is provided as a query parameter and the XML content in the request body."
        }
      ]
    }
  ],
  "bundled": true
}