Contact Free trial Login

Download an Asset

Download lets you download a copy of the asset, or in the case of a Custom asset, the optional file attached to the asset when it was created.

After creating a REST asset, Exchange generates a Mule 3 connector and a Mule 4 connector. Exchange also generates an OAS version for RAML assets, and a RAML version for OAS assets. After you create a new REST asset it may take a few minutes for these assets to appear on the Download menu.

Click the Download button in the task bar. image::ex2-icon-download.png[]

The results vary by file type:

  • RAML: Click the down arrow.

    ex2 download from raml

    If you choose As RAML, the original RAML file downloads as a zip file. If you choose As OAS, Exchange downloads the API specification as a zip file containing a JSON file for the specification. If you choose As Mule 4 connector, it downloads as a jar file you can add to a Studio 7 Mule project. If you choose As Mule 3 connector, it downloads as a zip file you can add to a Studio 6 Mule project.

  • OAS: Click the down arrow.

    ex2 download from oas

    If you choose As RAML, Exchange downloads the API specification as a zip file containing a RAML file for the specification. If you choose As OAS, it downloads as a zip file containing a file in the original format of either JSON or YAML. If you choose As Mule 4 connector, it downloads as a jar file you can add to a Studio 7 Mule project. If you choose As Mule 3 connector, it downloads as a zip file you can add to a Studio 6 Mule project.

  • WSDL: Downloads as a WSDL file.

  • Connector: Downloads as a jar file.

  • Template: Downloads as a jar or zip file.

  • Example: Downloads as a zip file.

  • Custom, with a file: Downloads the same format file that you uploaded, but the file name is based on your application name. For example, if you upload a text file for the Inventory Distribution project, Exchange downloads inventory-distribution.txt.

  • Custom without a file: The Download button does not appear.

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub