{
  "opencollection": "1.0.0",
  "info": {
    "name": "Open Liberty APIs Applications Batch API",
    "version": "24.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Batch",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Batch Job Instances",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:9443/ibm/api/batch/jobinstances",
            "params": [
              {
                "name": "jobName",
                "value": "example_value",
                "type": "query",
                "description": "Filter by job name"
              },
              {
                "name": "page",
                "value": "10",
                "type": "query",
                "description": "Page number"
              },
              {
                "name": "pageSize",
                "value": "10",
                "type": "query",
                "description": "Number of items per page"
              },
              {
                "name": "sortBy",
                "value": "jobInstanceId",
                "type": "query",
                "description": "Sort field"
              }
            ]
          },
          "docs": "Returns a list of Jakarta Batch job instances."
        },
        {
          "info": {
            "name": "Get Batch Job Instance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:9443/ibm/api/batch/jobinstances/:jobInstanceId",
            "params": [
              {
                "name": "jobInstanceId",
                "value": "500123",
                "type": "path",
                "description": "Job instance identifier"
              }
            ]
          },
          "docs": "Returns details of a specific batch job instance."
        },
        {
          "info": {
            "name": "List Job Executions for an Instance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:9443/ibm/api/batch/jobinstances/:jobInstanceId/jobexecutions",
            "params": [
              {
                "name": "jobInstanceId",
                "value": "500123",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a list of executions for a specific batch job instance."
        },
        {
          "info": {
            "name": "Get Batch Job Execution",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:9443/ibm/api/batch/jobexecutions/:executionId",
            "params": [
              {
                "name": "executionId",
                "value": "500123",
                "type": "path",
                "description": "Job execution identifier"
              }
            ]
          },
          "docs": "Returns details of a specific batch job execution."
        },
        {
          "info": {
            "name": "Stop a Batch Job Execution",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://localhost:9443/ibm/api/batch/jobexecutions/:executionId/stop",
            "params": [
              {
                "name": "executionId",
                "value": "500123",
                "type": "path"
              }
            ]
          },
          "docs": "Stops a running batch job execution."
        },
        {
          "info": {
            "name": "Restart a Batch Job Execution",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://localhost:9443/ibm/api/batch/jobexecutions/:executionId/restart",
            "params": [
              {
                "name": "executionId",
                "value": "500123",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Restarts a failed or stopped batch job execution."
        }
      ]
    }
  ],
  "bundled": true
}