Uploading stemcells

Uploading stemcells

Uploads the stemcell to OpsManager and ensures the stemcell is valid.

Request
URI
POST
https://{opsmanager-installation}//api/v0/stemcells
COPY
Request Body
File of type(s) multipart/form-data
Optional
{
    "stemcell[file]": "string",
    "stemcell[floating]": false
}
string
stemcell[file]
Optional

Stemcell file

boolean
stemcell[floating]
Optional

When set to true, OpsManager automatically assigns the new stemcell to all compatible products.

Responses
200

OK

Returns PostStemcellResponse of type(s) application/json
{
    "stemcell": {
        "infrastructure": "string",
        "hypervisor": "string",
        "os": "string",
        "version": "string",
        "file": "string",
        "name": "string"
    },
    "existing": "string"
}
stemcell
Optional

stemcell

string
existing
Optional

If the stemcell already exists, this key is set to true.