{ "opencollection": "1.0.0", "info": { "name": "Dub Analytics QR Codes API", "version": "0.0.1" }, "items": [ { "info": { "name": "QR Codes", "type": "folder" }, "items": [ { "info": { "name": "Retrieve a QR code", "type": "http" }, "http": { "method": "GET", "url": "https://api.dub.co/qr", "params": [ { "name": "url", "value": "", "type": "query", "description": "The URL to generate a QR code for." }, { "name": "logo", "value": "", "type": "query", "description": "The logo to include in the QR code. Can only be used with a paid plan on Dub." }, { "name": "size", "value": "", "type": "query", "description": "The size of the QR code in pixels. Defaults to `600` if not provided." }, { "name": "level", "value": "", "type": "query", "description": "The level of error correction to use for the QR code. Defaults to `L` if not provided." }, { "name": "fgColor", "value": "", "type": "query", "description": "The foreground color of the QR code in hex format. Defaults to `#000000` if not provided." }, { "name": "bgColor", "value": "", "type": "query", "description": "The background color of the QR code in hex format. Defaults to `#ffffff` if not provided." }, { "name": "hideLogo", "value": "", "type": "query", "description": "Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub." }, { "name": "margin", "value": "", "type": "query", "description": "The size of the margin around the QR code. Defaults to 2 if not provided." }, { "name": "includeMargin", "value": "", "type": "query", "description": "DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size." } ] }, "docs": "Retrieve a QR code for a link." } ] } ], "bundled": true }