Droplet

Droplet
Droplet

A droplet is the result of staging an application package. There are two types (lifecycles) of droplets buildpack and docker. In the case of the buildpacks, the droplet contains the bits produced by the buildpack, typically application code and dependencies.

AllOf
This class requires all of the following:
JSON Example
{
    "guid": "string",
    "created_at": "string",
    "updated_at": "string",
    "state": "string",
    "error": "string",
    "lifecycle": {
        "type": "string",
        "data": {
            "buildpacks": [
                "string"
            ],
            "stack": "string",
            "credentials": {
                "credentials": {
                    "username": "string",
                    "password": "string",
                    "token": "string"
                }
            }
        }
    },
    "execution_metadata": "string",
    "process_types": {},
    "metadata": {
        "labels": {
            "labels": "string"
        },
        "annotations": {
            "annotations": "string"
        }
    },
    "links": {
        "self": {
            "href": "string",
            "method": "string"
        },
        "package": {
            "href": "string",
            "method": "string"
        },
        "app": {
            "href": "string",
            "method": "string"
        },
        "assign_current_droplet": {
            "href": "string",
            "method": "string"
        },
        "download": {
            "href": "string",
            "method": "string"
        },
        "upload": {
            "href": "string",
            "method": "string"
        }
    },
    "checksum": {
        "type": "string",
        "value": "string"
    },
    "buildpacks": [
        {
            "name": "string",
            "detect_output": "string",
            "version": "string",
            "buildpack_name": "string"
        }
    ],
    "stack": "string",
    "image": "string"
}