ex_heroku_client v0.1.0 Heroku.Build

Summary

Functions

Calls POST /apps/#{app_identity}/builds

Calls GET /apps/#{app_identity}/builds/#{build_identity}

Calls GET /apps/#{app_identity}/builds

Functions

create(app_identity, params)

Calls POST /apps/#{app_identity}/builds

params is JSON encoded and passed as the request body.

params Schema

{
  "properties": {
    "buildpacks": {
      "additionalItems": true,
      "description": "buildpacks executed for this build, in order",
      "items": {
        "description": "Buildpack to execute in a build",
        "properties": {
          "url": {
            "description": "location of the buildpack for the app. Either a url (unofficial buildpacks) or an internal urn (heroku official buildpacks).",
            "example": "https://github.com/heroku/heroku-buildpack-ruby",
            "readOnly": false,
            "type": [
              "string"
            ]
          }
        },
        "type": [
          "object"
        ]
      },
      "type": [
        "array",
        "null"
      ]
    },
    "source_blob": {
      "description": "location of gzipped tarball of source code used to create build",
      "properties": {
        "checksum": {
          "description": "an optional checksum of the gzipped tarball for verifying its integrity",
          "example": "SHA256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
          "readOnly": true,
          "type": [
            "null",
            "string"
          ]
        },
        "url": {
          "description": "URL where gzipped tar archive of source code for build was downloaded.",
          "example": "https://example.com/source.tgz?token=xyz",
          "readOnly": true,
          "type": [
            "string"
          ]
        },
        "version": {
          "description": "Version of the gzipped tarball.",
          "example": "v1.3.0",
          "readOnly": true,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "strictProperties": true,
      "type": [
        "object"
      ]
    }
  },
  "required": [
    "source_blob"
  ],
  "type": [
    "object"
  ]
}
get(app_identity, build_identity)

Calls GET /apps/#{app_identity}/builds/#{build_identity}

index(app_identity)

Calls GET /apps/#{app_identity}/builds