{
  "opencollection": "1.0.0",
  "info": {
    "name": "JFrog Access REST Access Tokens Builds API",
    "version": "2.x"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Builds",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "JFrog List All Builds",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{server}.jfrog.io/access/api/build"
          },
          "docs": "Returns a list of all builds stored in Artifactory."
        },
        {
          "info": {
            "name": "JFrog Get Build Runs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{server}.jfrog.io/access/api/build/:buildName",
            "params": [
              {
                "name": "buildName",
                "value": "",
                "type": "path",
                "description": "Build name"
              }
            ]
          },
          "docs": "Returns all runs for a specific build."
        },
        {
          "info": {
            "name": "JFrog Get Build Information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{server}.jfrog.io/access/api/build/:buildName/:buildNumber",
            "params": [
              {
                "name": "buildName",
                "value": "",
                "type": "path",
                "description": "Build name"
              },
              {
                "name": "buildNumber",
                "value": "",
                "type": "path",
                "description": "Build number"
              }
            ]
          },
          "docs": "Returns full build information for a specific build run."
        },
        {
          "info": {
            "name": "JFrog Promote Build",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{server}.jfrog.io/access/api/build/promote/:buildName/:buildNumber",
            "params": [
              {
                "name": "buildName",
                "value": "",
                "type": "path",
                "description": "Build name"
              },
              {
                "name": "buildNumber",
                "value": "",
                "type": "path",
                "description": "Build number"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Promotes a build by moving or copying artifacts to a target repository."
        }
      ]
    }
  ],
  "bundled": true
}