Get Information About a Specific Application Snapshot

Returns information about all the operations that can be performed on a particular application snapshot. It provides details on operations such as Migration import and export, upload, download, and delete.

This API is version 11.1.2.3.600.

REST Resource

GET /interop/rest/{api_version}/applicationsnapshots/{applicationSnapshotName}

Request

Parameters:

The following table summarizes the GET request parameters.

Table 6-23 Parameters

Name Description Type Required Default
applicationSnapshotName Application snapshot name to retrieve the details Path Yes N/A

Response

Supported Media Types: application/json

Parameters:

Table 6-24 Parameters

Name Description
details In the case of an error, details are published with the error string
status See Migration Status Codes
items Detailed information about the API
name Name of the application snapshot
type Possible values: LCM, EXTERNAL
canexport Identifies whether this application snapshot can be exported using Migration. Applicable only to Migration application artifacts
canimport Identifies whether this application snapshot can be imported using Migration. Applicable only to Migration application artifacts
canupload Identifies whether the application snapshot can be uploaded
candownload Identifies whether the application snapshot can be downloaded
links Detailed information about the link
href Links to API call
action The HTTP call type
rel Possible values: self, import, export, upload, download, or delete depending on the operation permitted on an application snapshot
data Parameters as key value pairs passed in the request

The following is an example of the response body in JSON format.

{	
	"status":0,
	"items":[{
		"name":"snapshot1",
		"type":"LCM",
		"canexport":true,
		"canimport":true,
		"canupload":true,
		"candownload":true
	}],
	"details":null,
	"links":[{
		"data":null,
		"action":"GET",
		"href":"https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/interop/rest/11.1.2.3.600/applicationsnapshots/snapshot1",
		"rel":"self"
		},{
		"data":null,
		"action":"GET",
		"href":"https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/interop/rest/11.1.2.3.600/applicationsnapshots/snapshot1/contents",
		"rel":"download"
		},{
		"data":null,
		"action":"POST",
		"href":"https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/interop/rest/11.1.2.3.600/applicationsnapshots/snapshot1/contents?isLast=true&chunkSize=52428800&isFirst=true",
		"rel":"upload"
		},{
		"data":null,
		"action":"POST",
		"href":"https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/interop/rest/11.1.2.3.600/applicationsnapshots/snapshot1/migrationq={type:"export}"
		"rel":"export"
		},{
		"data":null,
		"action":"POST",
		"href":"https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/interop/rest/11.1.2.3.600/applicationsnapshots/snapshot1/migrationq={type:"import}",
		"rel":"import"
		},{
		"data":null,
		"action":"DELETE",
		"href":"https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/interop/rest/11.1.2.3.600/applicationsnapshots/ss1",
		"rel":"delete"
	}]
}