GET /widgetΒΆ

Get an HTML widget.

Query parameters:

Name

Type

Description

consumer

string vector, optional, min: 1, max: 5

one or more consumer identifiers

name

string, optional, default: silvertip

the name of the widget to return

theme

string, optional, default:

the theme to use (if the widget is themable)

Example request:

GET /widget?name=silvertip&consumer=990000000001 HTTP/1.1
Host: api.ereceipts.co.uk
Accept: text/html

Example response:

HTTP/1.1 200 OK
Content-Length: 1426
Content-Type: text/html; charset=UTF-8

<!DOCTYPE html>
...