Skip to main content

Export presets

Generated from apiome-rest/openapi.yaml (API version 1.719.0) — do not edit by hand. How to authenticate is on the REST API reference.

Tag: export-presets · 5 operations

GET /v1/export/{tenant_slug}/presets​

List the workspace's export presets

Every export preset, by name. At most 1,000 a page: pass the previous page's nextCursor as cursor until hasMore is false. Requires projects:view.

Operation id: list_export_presets_v1_export__tenant_slug__presets_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
limitqueryintegernoPage size. At most 1000.
cursorquerystring or nullnoOpaque cursor from the previous page (next_cursor, or the X-Next-Cursor header). Omit for the first page.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list the workspace's export presets.application/json ExportPresetListResponse
422Validation Errorapplication/json HTTPValidationError

POST /v1/export/{tenant_slug}/presets​

Store an export preset

Saves a named export combination for the workspace: 1–16 targets, each with its emit options (validated against that emitter's options schema, MFX-1.4; no two targets may resolve to the same format), and an optional deliveryProfileId (MFX-38.4) the export is delivered with on completion. Apply it with POST /v1/export/{tenant}/jobs and "preset": "<name or id>". Requires projects:edit; audited as export.preset.created. 400 for an invalid field, target, option or unknown delivery profile (every problem in errors); 409 for a name already in use.

Operation id: create_export_preset_v1_export__tenant_slug__presets_post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for store an export preset.

Responses

StatusDescriptionBody
201Successful response for store an export preset.application/json ExportPresetModel
400Invalid name, target, option or delivery profile.—
409A preset of that name exists.—
422Validation Errorapplication/json HTTPValidationError

PATCH /v1/export/{tenant_slug}/presets/{preset_id}​

Change an export preset

Changes a preset's name, description, targets (replaced whole, validated again) or deliveryProfileId (null removes delivery). Omitted fields keep their value. Requires projects:edit; audited as export.preset.updated.

Operation id: update_export_preset_v1_export__tenant_slug__presets__preset_id__patch

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
preset_idpathstringyesPath parameter identifying the preset id segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for change an export preset.

Responses

StatusDescriptionBody
200Successful response for change an export preset.application/json ExportPresetModel
400Invalid name, target, option or delivery profile.—
404Unknown preset for this tenant.—
409Another preset has that name.—
422Validation Errorapplication/json HTTPValidationError

DELETE /v1/export/{tenant_slug}/presets/{preset_id}​

Delete an export preset

Removes the preset (by id or name). Exports already started with it are unaffected. Requires projects:edit; audited as export.preset.deleted. 404 when the workspace has no such preset.

Operation id: delete_export_preset_v1_export__tenant_slug__presets__preset_id__delete

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
preset_idpathstringyesPath parameter identifying the preset id segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
204Successful response for delete an export preset.—
404Unknown preset for this tenant.—
422Validation Errorapplication/json HTTPValidationError

GET /v1/export/{tenant_slug}/presets/{preset}​

Read an export preset

One export preset, by id or name. Requires projects:view. 404 when the workspace has no such preset.

Operation id: get_export_preset_v1_export__tenant_slug__presets__preset__get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
presetpathstringyesPath parameter identifying the preset segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for read an export preset.application/json ExportPresetModel
404Unknown preset for this tenant.—
422Validation Errorapplication/json HTTPValidationError

Schemas used​

ExportPresetCreate​

A new preset: POST /v1/export/{tenant}/presets.

PropertyTypeRequiredDescription
namestringyesA name unique in the workspace (nightly-sync), up to 120 characters.
descriptionstring or nullnoWhat the preset is for.
targetsarray of PresetTargetyesThe targets, in order: one is a single-target export, 2–16 a multi-target export with one directory per target.
deliveryProfileIdstring or nullnoA delivery profile (MFX-38.4) the export is delivered with as soon as it completes. Ignored when deliveryProfileIds is sent.
deliveryProfileIdsarray of string or nullnoUp to 5 delivery profiles (MFX-46.4), in the order the export is delivered with them; takes precedence over deliveryProfileId.

ExportPresetListResponse​

A workspace's export presets, by name.

PropertyTypeRequiredDescription
presetsarray of ExportPresetModelnoPresets.
hasMorebooleannoHas More.
nextCursorstring or nullnoNext Cursor.

ExportPresetModel​

A stored export preset.

Attributes: id: The preset. name: Its unique name in the workspace. description: What it is for. targets: The targets, in order, each with its emit options. delivery_profile_id: The first delivery profile the export is delivered with, or null. delivery_profile_name: That profile's name (null when none, or the profile was deleted). delivery_profile_ids: Every delivery profile, in the order the export is delivered with them (MFX-46.4). delivery_profile_names: Their names, in the same order.

PropertyTypeRequiredDescription
idstringyesStable resource identifier.
namestringyesHuman-readable name.
descriptionstring or nullnoFree-text description.
targetsarray of PresetTargetnoTargets.
deliveryProfileIdstring or nullnoDelivery Profile ID.
deliveryProfileNamestring or nullnoDelivery Profile Name.
deliveryProfileIdsarray of stringnoDelivery Profile IDs.
deliveryProfileNamesarray of stringnoDelivery Profile Names.
createdAtstring (date-time) or nullnoCreated At.
updatedAtstring (date-time) or nullnoUpdated At.
createdBystring or nullnoCreated By.
updatedBystring or nullnoUpdated By.

ExportPresetUpdate​

A change to a preset: PATCH /v1/export/{tenant}/presets/{id}. Omitted fields keep their value.

PropertyTypeRequiredDescription
namestring or nullnoA new name.
descriptionstring or nullnoA new description; "" clears it.
targetsarray of PresetTarget or nullnoA new target list (replaces it).
deliveryProfileIdstring or nullnoA new (single) delivery profile; null removes delivery from the preset. Ignored when deliveryProfileIds is sent.
deliveryProfileIdsarray of string or nullnoA new ordered list of delivery profiles (MFX-46.4), replacing the preset's; [] removes delivery.

HTTPValidationError​

Validation error response emitted when request data fails schema checks.

PropertyTypeRequiredDescription
detailarray of ValidationErrornoDetail.