Get the download links for the MFT MDS archive and config plan file
get
/mftapp/rest/v1/applicationMetadata
Gets the absolute URLs to the metadata archive and config plan 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
configplanfile
Response
Supported Media Types
- application/json
200 Response
500 Response
Root Schema : Error information.
Type:
objectTitle:
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"
}
]
}