latestOpenAPI 3.1.02026-08-20118232229.3 KB

0e42b0fb26d9

Export catalogs

Lists all the catalogs in your current account and re-encrypt them with the public key you supplied.

post/catalogs/export

Request body

$schemastring uri

A URL to the JSON Schema for this object.

allboolean required

Whether to export catalogs across all environments, without applying default-environment inheritance or deduplication.

environmentstring required

Environment whose catalogs to export when all is false. When it has no same-named catalog, a catalog from default is selected instead.

pageinteger required

The page number to fetch.

page_sizeinteger required

The number of records to fetch on each page.

public_keystring required

The PEM-encoded public key you want to use to encrypt sensitive catalog properties.

Example request

{
  "$schema": "https://api.tower.dev/v1/schemas/ExportCatalogsParams.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "https://api.tower.dev/v1/schemas/ExportCatalogsResponse.json"
}