The Calibre HTTP Site API allows you to create and manage snapshots and deploys. This is useful as part of a post-deploy, or post-merge hook.
The Site API is exclusively JSON over HTTP. There are no additional runtime dependencies. It is designed to be simple and easy to get started with.
The HTTP Site API URL structure is:
|resource||Yes||The type of resource, either "snapshots" or "deploys".|
|site||Yes||Site slug, found in site settings (see below)|
|secret||Yes||Site secret, found in site settings (see below)|
Each Site within Calibre has a site-slug and a site-secret. These can be found on the Site settings page: