Add an image file to the repository
Since Product Version: 3.1
Resource Information
Rate Limiting?
|
No
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Write
|
HTTP Methods
|
|
API version v1 is deprecated
This API version has been deprecated. It will be removed in a future release of the product. Please develop new clients using the latest API version. Please modify your existing clients to use a later API version.
Resource URL
/webacs/api/v1/op/image/add
Request Payload Parameters
applicationType
String
|
The type of application, e.g. router
|
family
String
|
The product family of this image e.g. vNAM
|
imageType
String
|
the type of image file, e.g. OVA
|
imageURL
String
|
http or ftp url for uploading the image file
|
minDisk
String
|
Minimum amount of disk space for intances of this image
|
minMemory
String
|
Minimum amount of memory for instances of this image
|
minProcessors
String
|
Minimum number of processors for instances of this image
|
version
String
|
The version number of this image file
|
Response Parameters
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://10.64.80.159/webacs/api/v1/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://10.64.80.159/webacs/api/v1/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://10.64.80.159/webacs/api/v1/op/image/add
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.80.159/webacs/api/v1/op">
<imageRepositoryOperationStatus>
<status>String value</status>
</imageRepositoryOperationStatus>
</mgmtResponse>
Sample JSON Response Payload
https://10.64.80.159/webacs/api/v1/op/image/add.json
{
"mgmtResponse" : {
"@responseType" : "operation",
"@requestUrl" : "https : \/\/10.64.80.159\/webacs\/api\/v1\/op\/image\/add",
"@rootUrl" : "https : \/\/10.64.80.159\/webacs\/api\/v1\/op",
"imageRepositoryOperationStatus" : {
"status" : "String value"
}
}
}
Resource Information
Rate Limiting?
|
No
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Write
|
HTTP Methods
|
|
Resource URL
/webacs/api/v2/op/image/add
Unmodified
This resource has not been modified since the previous API version.
Request Payload Parameters
applicationType
String
|
The type of application, e.g. router
|
family
String
|
The product family of this image e.g. vNAM
|
imageType
String
|
the type of image file, e.g. OVA
|
imageURL
String
|
http or ftp url for uploading the image file
|
minDisk
String
|
Minimum amount of disk space for intances of this image
|
minMemory
String
|
Minimum amount of memory for instances of this image
|
minProcessors
String
|
Minimum number of processors for instances of this image
|
version
String
|
The version number of this image file
|
Response Parameters
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://10.64.80.159/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://10.64.80.159/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://10.64.80.159/webacs/api/v2/op/image/add
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.80.159/webacs/api/v2/op">
<imageRepositoryOperationStatus>
<status>String value</status>
</imageRepositoryOperationStatus>
</mgmtResponse>
Sample JSON Response Payload
https://10.64.80.159/webacs/api/v2/op/image/add.json
{
"mgmtResponse" : {
"@requestUrl" : "../../../../../pages/common/login.jsp.html",
"@responseType" : "operation",
"@rootUrl" : "https://10.64.80.159/webacs/api/v2/op",
"imageRepositoryOperationStatus" : [ {
"status" : "String value"
} ]
}
}
Resource Information
Rate Limiting?
|
No
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Write
|
HTTP Methods
|
|
Resource URL
/webacs/api/v3/op/image/add
Unmodified
This resource has not been modified since the previous API version.
Request Payload Parameters
applicationType
String
|
The type of application, e.g. router
|
family
String
|
The product family of this image e.g. vNAM
|
imageType
String
|
the type of image file, e.g. OVA
|
imageURL
String
|
http or ftp url for uploading the image file
|
minDisk
String
|
Minimum amount of disk space for intances of this image
|
minMemory
String
|
Minimum amount of memory for instances of this image
|
minProcessors
String
|
Minimum number of processors for instances of this image
|
version
String
|
The version number of this image file
|
Response Parameters
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://10.64.80.159/webacs/api/v3/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://10.64.80.159/webacs/api/v3/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://10.64.80.159/webacs/api/v3/op/image/add
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.80.159/webacs/api/v3/op">
<imageRepositoryOperationStatus>
<status>String value</status>
</imageRepositoryOperationStatus>
</mgmtResponse>
Sample JSON Response Payload
https://10.64.80.159/webacs/api/v3/op/image/add.json
{
"mgmtResponse" : {
"@requestUrl" : "../../../../../pages/common/login.jsp.html",
"@responseType" : "operation",
"@rootUrl" : "https://10.64.80.159/webacs/api/v3/op",
"imageRepositoryOperationStatus" : [ {
"status" : "String value"
} ]
}
}
Resource Information
Rate Limiting?
|
No
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Write
|
HTTP Methods
|
|
Resource URL
/webacs/api/v4/op/image/add
Unmodified
This resource has not been modified since the previous API version.
Request Payload Parameters
applicationType
String
|
The type of application, e.g. router
|
family
String
|
The product family of this image e.g. vNAM
|
imageType
String
|
the type of image file, e.g. OVA
|
imageURL
String
|
http or ftp url for uploading the image file
|
minDisk
String
|
Minimum amount of disk space for intances of this image
|
minMemory
String
|
Minimum amount of memory for instances of this image
|
minProcessors
String
|
Minimum number of processors for instances of this image
|
version
String
|
The version number of this image file
|
Response Parameters
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://10.64.80.159/webacs/api/v4/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://10.64.80.159/webacs/api/v4/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://10.64.80.159/webacs/api/v4/op/image/add
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.80.159/webacs/api/v4/op">
<imageRepositoryOperationStatus>
<status>String value</status>
</imageRepositoryOperationStatus>
</mgmtResponse>
Sample JSON Response Payload
https://10.64.80.159/webacs/api/v4/op/image/add.json
{
"mgmtResponse" : {
"@requestUrl" : "../../../../../pages/common/login.jsp.html",
"@responseType" : "operation",
"@rootUrl" : "https://10.64.80.159/webacs/api/v4/op",
"imageRepositoryOperationStatus" : [ {
"status" : "String value"
} ]
}
}