{
  "opencollection": "1.0.0",
  "info": {
    "name": "Qovery Account Info Job Main Calls API",
    "version": "1.0.4"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Job Main Calls",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get job by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.qovery.com/job/:jobId",
            "params": [
              {
                "name": "jobId",
                "value": "",
                "type": "path",
                "description": "Job ID"
              }
            ]
          },
          "docs": "Get job by ID"
        },
        {
          "info": {
            "name": "Edit job",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.qovery.com/job/:jobId",
            "params": [
              {
                "name": "jobId",
                "value": "",
                "type": "path",
                "description": "Job ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "- To edit the job you must have the admin permission.\n"
        },
        {
          "info": {
            "name": "Delete job",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.qovery.com/job/:jobId",
            "params": [
              {
                "name": "jobId",
                "value": "",
                "type": "path",
                "description": "Job ID"
              }
            ]
          },
          "docs": "To delete the job you must have the admin permission"
        },
        {
          "info": {
            "name": "Get job status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.qovery.com/job/:jobId/status",
            "params": [
              {
                "name": "jobId",
                "value": "",
                "type": "path",
                "description": "Job ID"
              }
            ]
          },
          "docs": "Get job status"
        },
        {
          "info": {
            "name": "List last job commits",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.qovery.com/job/:jobId/commit",
            "params": [
              {
                "name": "jobId",
                "value": "",
                "type": "path",
                "description": "Job ID"
              },
              {
                "name": "startId",
                "value": "",
                "type": "query",
                "description": "Starting point after which to return results"
              },
              {
                "name": "gitCommitId",
                "value": "",
                "type": "query",
                "description": "Git Commit ID"
              }
            ]
          },
          "docs": "Returns list of the last 100 commits made on the repository linked to the job"
        }
      ]
    }
  ],
  "bundled": true
}