Zip File Contract Details

You can port any content or files that you want to expose in your Developer Portal, which could typically iclude js, css and image files. As a Mashery Local Admininstrator, you can transport local customization files into all relevant (tml-cm) containers across any deployment, regardless of topology. The Mashery Local Administrator is able to reference these ingested files in Developer Portal markup.

The zip file must contain at its root:
  • customizations.js
  • translations.js (case insensitive)
Any other assests must be under a directory named 'assets' (also case insensitive). The destination directory (/opt/mashery/portal) will be cleared before decompression is attempted and upon failure to pass validations.
Note:

customizations.js MUST be at the root (if present).

translations.js MUST be at the root (if present).

Anything else MUST be under a single folder, 'assets.' It can contain anything (js, css, mpegs, jpegs, pngs, txt, html), but it has to be under this folder (subfolders under there are also allowed).