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
Back to Top

Response

Supported Media Types

200 Response

Body ()
Root Schema : schema
Type: object
Show Source

500 Response

Body ()
Root Schema : Error information.
Type: object
Title: Error information.
Show Source
Example Response (application/json)
{
    "errorCode":"MFT-7415",
    "errorKey":"MFT_UNSUPPORTED_ARTIFACT_TYPE",
    "errorMessage":"Unsupported artifact type found. Artifact type: "
}
Back to Top

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"
        }
    ]
}
Back to Top