Add an image file to the repository
Since Product Version: 3.1
Resource Information
Rate Limiting? |
Yes |
Sorting? |
No |
Paging? |
No |
Filtering? |
No |
Aggregation? |
No |
Response Formats |
xml json |
User Group |
NBI Write |
HTTP Methods |
POST |
DevNet Discussions
Resource URL
/webacs/api/v2/op/image/add UnmodifiedThis resource has not been modified since the previous API version.
Request Payload Parameters
Attribute | Description |
---|---|
applicationType String |
|
family String |
|
imageType String |
|
imageURL String |
|
minDisk String |
|
minMemory String |
|
minProcessors String |
|
version String |
Response Parameters
Attribute | Description |
---|---|
status String |
Sample Payloads
Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.
Sample XML Request Payload
https://localhost/webacs/api/v2/op/image/add
<?xml version="1.0" ?>
<addImageRequest>
<applicationType>String value</applicationType>
<family>String value</family>
<imageType>String value</imageType>
<imageURL>String value</imageURL>
<minDisk>String value</minDisk>
<minMemory>String value</minMemory>
<minProcessors>String value</minProcessors>
<version>String value</version>
</addImageRequest>
Sample JSON Request Payload
https://localhost/webacs/api/v2/op/image/add.json
{
"addImageRequest" : {
"applicationType" : "String value",
"family" : "String value",
"imageType" : "String value",
"imageURL" : "String value",
"minDisk" : "String value",
"minMemory" : "String value",
"minProcessors" : "String value",
"version" : "String value"
}
}
Sample XML Response Payload
https://localhost/webacs/api/v2/op/image/add
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v2/op/image/add" rootUrl="https://localhost/webacs/api/v2/op">
<imageRepositoryOperationStatus>
<status>String value</status>
</imageRepositoryOperationStatus>
</mgmtResponse>
Sample JSON Response Payload
https://localhost/webacs/api/v2/op/image/add.json
{
"mgmtResponse" : {
"@requestUrl" : "https://localhost/webacs/api/v2/op/image/add",
"@responseType" : "operation",
"@rootUrl" : "https://localhost/webacs/api/v2/op",
"imageRepositoryOperationStatus" : [ {
"status" : "String value"
} ]
}
}