{ "opencollection": "1.0.0", "info": { "name": "HTML/CSS to Image Image Generation Templates API", "version": "1.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Templates", "type": "folder" }, "items": [ { "info": { "name": "List all templates.", "type": "http" }, "http": { "method": "GET", "url": "https://hcti.io/v1/template" }, "docs": "List all templates." }, { "info": { "name": "Create a template.", "type": "http" }, "http": { "method": "POST", "url": "https://hcti.io/v1/template", "body": { "type": "json", "data": "{}" } }, "docs": "Create a reusable HTML/CSS template containing named variables that are substituted at render time via template_values." }, { "info": { "name": "List versions of a template.", "type": "http" }, "http": { "method": "GET", "url": "https://hcti.io/v1/template/:template_id", "params": [ { "name": "template_id", "value": "", "type": "path" } ] }, "docs": "List versions of a template." }, { "info": { "name": "Edit a template.", "type": "http" }, "http": { "method": "POST", "url": "https://hcti.io/v1/template/:template_id", "params": [ { "name": "template_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new version of an existing template." }, { "info": { "name": "Generate an image from a template.", "type": "http" }, "http": { "method": "POST", "url": "https://hcti.io/v1/image/:template_id", "params": [ { "name": "template_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Render a template into an image by supplying template_values for its named variables. Accepts JSON or form data; with form data the template_values must be JSON encoded." }, { "info": { "name": "Generate an image from a specific template version.", "type": "http" }, "http": { "method": "POST", "url": "https://hcti.io/v1/image/:template_id/:template_version", "params": [ { "name": "template_id", "value": "", "type": "path" }, { "name": "template_version", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Generate an image from a specific template version." } ] } ], "bundled": true }