Skip to main content

Export several at once, and on every publish

A single export is one version, to one format, downloaded once. That stops scaling when a repository, a registry or a bucket has to keep up with every version in several formats. Apiome can export many things in one job, save the combination as a preset, and run it on every publish — so nobody has to click through each version and format again.

Choose what you need​

You want to…UseIn the appFrom the CLI or API
Export one version to several formatsA multi-target job: one archive, a folder per formatSeveral targets in the Export dialog or Export studioapiome export <format> --targets …; "targets" on the job
Export several catalog itemsA batch: a folder per item, failures per itemExport n… on the Catalogapiome export <format> --items …; "items"
Export every version of a projectA batch over versions: a folder per version × formatExport all versions… on a version's Export panel"all_versions": true or a "versions" list
Run the same formats and options againAn export presetApply a preset / Save as preset, and the Presets tab in Export studioapiome export --preset NAME …; "preset"
Export and deliver every new versionAuto-export on publishAuto-export on the Presets tab, or the version's Export panelapiome export auto …; /auto-exports

Every job produces one download — a single file, or a .zip with a folder per format, item or version and a manifest.json describing each outcome. A job can also be delivered to a git repository, a webhook or a bucket as soon as it finishes.

How the pieces fit​

  • One job, many outputs. Several formats share one source and one job; a failure in any format fails the whole multi-target export. In a batch (several items or versions), each item succeeds or fails on its own, and the job completes with whatever succeeded.
  • A preset is the reusable part. It holds the formats, each one's options (checked against that format's options every time it is applied) and, optionally, a delivery profile. It never holds the source, so the same preset works on any item or version.
  • Auto-export is a preset bound to a project. Every publish runs it on the new version. Before anything is delivered, the export's loss is measured; at critical loss (or, if you choose, any loss) delivery stops, the people concerned are notified, and someone can release it.

Limits​

LimitValue
Formats in one job or preset16, each a distinct format
Items × formats in one batch100 (versions lists: 50 versions)
Delivery profiles per job5

The limits every export shares — jobs running at once, run time, download size and how long a download is kept — are on Export a spec. The request fields for each kind of job are on How an export runs.

Where next​