~mendelmaleh/dummy

9ff9a4bdad90f1083a1fce22d8c10d8ff75efee0 — Mendel E 1 year, 1 month ago b7992e7
Document api limitations
1 files changed, 5 insertions(+), 5 deletions(-)

M cmd/dummyserver/api.md
M cmd/dummyserver/api.md => cmd/dummyserver/api.md +5 -5
@@ 25,14 25,14 @@ options as `GET /`, plus some specific to the meta tags.
Options can be passed as URL query params. The options are described here as:

```
name	type	default_value
name	type	default_value	limitations
```

All options are, optional. There should always be a fallback value.

```
width	int	100
height	int	100
width	int	100	max:4096
height	int	100	max:4096
```

Set the width and height of the image. If only `width` is passed, `height` will


@@ 87,13 87,13 @@ font	string	""
Set the font family for the text. There will be a default, set in the config.

```
size	float64		80.0
size	float64		80.0	max:240.0
```

Set the font size for the text.

```
dpi		float64		72.0
dpi		float64		72.0	max:720.0
```

Set the dpi for font rendering.