Get the download links for the MFT MDS archive and Config Plan files
get
/mftapp/rest/v1/applicationMetadata
The response contains the absolute URLs referencing to the Metadata archive and Config file. Use
artifactName
and artifactType
parameters to export the transfer and related metadata. To export the artifact from a deployment, provide the label. Use the logFormat
flag to get a partial/full details in the config plan file.Request
Query Parameters
-
artifactName(optional): string
Name of the artifact to be exported
-
artifactType(optional): string
Type of the artifact to be exported, only support TRANSFER artifactType
-
label(optional): string
Label of the deployment to be exported
-
longFormat(optional): boolean
Option to export the long format having full attribute details in
configplan
file
Response
Supported Media Types
- application/json
200 Response
500 Response
Root Schema : Error information.
Type:
object
Title:
Show Source
Error information.
-
errorCode(optional):
string
The error code that Oracle Managed File Transfer returns.
-
errorKey(optional):
string
The error key that Oracle Managed File Transfer returns.
-
errorMessage(optional):
string
A message describing the error that Oracle Managed File Transfer returns.
Example Response (application/json)
{
"errorCode":"MFT-7415",
"errorKey":"MFT_UNSUPPORTED_ARTIFACT_TYPE",
"errorMessage":"Unsupported artifact type found. Artifact type: "
}
Examples
The following cURL command shows how to download the metadata resource by submitting a GET request on the REST resource using cURL For more information, see Use cURL.
cURL Command
curl -i -X GET -H "Content-Type: application/json" http://host:port/mftapp/rest/v1/applicationMetadata
Example of Response Body
{ "links": [ { "rel": "metadataArchive", "href": "http://<host>:<port>/mftapp/rest/v1/applicationMetadata/archive", "mediaType": "application/zip" }, { "rel": "configPlan", "href": "http://<host>:<port>/mftapp/rest/v1/applicationMetadata/configPlan", "mediaType": "application/octet-stream" } ] }