cloudlayer.io integration (Productivity, Developer Tools). Imported from open-connector.
https://api.cloudlayer.io/v2/account
/v2/html/pdf
| Param | Type | Required | Description |
|---|---|---|---|
| format | string | optional | The output page format such as `a4` or `letter`. |
| margin | object | optional | The optional page margin overrides forwarded to cloudlayer.io. |
| printBackground | boolean | optional | Whether the generated PDF should include background graphics and colors. |
| waitUntil | string | optional | The page load event to wait for before rendering, such as `load` or `networkidl… |
| timeout | integer | optional | The maximum page load time in milliseconds before rendering fails. |
| filename | string | optional | The optional output filename hint for the generated PDF. |
| html | string | required | The base64-encoded HTML document to render as a PDF. |
/v2/template/pdf
| Param | Type | Required | Description |
|---|---|---|---|
| format | string | optional | The output page format such as `a4` or `letter`. |
| margin | object | optional | The optional page margin overrides forwarded to cloudlayer.io. |
| printBackground | boolean | optional | Whether the generated PDF should include background graphics and colors. |
| waitUntil | string | optional | The page load event to wait for before rendering, such as `load` or `networkidl… |
| timeout | integer | optional | The maximum page load time in milliseconds before rendering fails. |
| filename | string | optional | The optional output filename hint for the generated PDF. |
| template | string | required | The base64-encoded template source to render as a PDF. |
| data | object | required | The JSON object used to populate the Nunjucks template variables. |
/v2/jobs/{jobId}
| Param | Type | Required | Description |
|---|---|---|---|
| jobId | string | required | The cloudlayer.io job identifier to retrieve. |
/v2/jobs
| Param | Type | Required | Description |
|---|---|---|---|
| limit | integer | optional | The number of jobs to return, between 1 and 100. |
| startAfterId | string | optional | The job ID to paginate after for cursor-based listing. |
/v2/assets/{assetId}
| Param | Type | Required | Description |
|---|---|---|---|
| assetId | string | required | The cloudlayer.io asset identifier to retrieve. |
/v2/assets
| Param | Type | Required | Description |
|---|---|---|---|
| limit | integer | optional | The number of assets to return, between 1 and 100. |
| startAfterId | string | optional | The asset ID to paginate after for cursor-based listing. |