Skip to main content

Write a catalog into a folder on this server

POST 

/api/export_catalog/:local_name

Writes a catalog into a folder, so it can be carried to a grid that cannot reach the repository it came from.

Offered for every catalog, not only one created here: relaying a subscription onward is the case this exists for, where one grid has a route to the publisher and the grid that needs the adapters does not. Nothing is sent anywhere - this writes to a folder on this machine - so it needs no key and no write access to the catalog's own repository.

Exporting to the same folder again ships an update. The folder is an ordinary git repository, so the second export is a fast-forward and the receiving grid sees it as one more thing to pull.

Request

Responses

Successful Response