~mendelmaleh/dummy

b862a107cb4810e7514eccf69deb3fc5f6f5dc4c — Mendel E 1 year, 30 days ago d54219c
Document new endpoints
1 files changed, 19 insertions(+), 0 deletions(-)

M cmd/dummyserver/api.md
M cmd/dummyserver/api.md => cmd/dummyserver/api.md +19 -0
@@ 19,6 19,25 @@ This endpoint will return an HTML file, with [OpenGraph](https://ogp.me) meta
tags, and a link to the generated image in `og:image`. It will take the same
options as `GET /`, plus some specific to the meta tags.

```
GET /tar/
GET /zip/
```

These endpoints will return an archive with 5 images:

- `favicon-16x16.png`
- `favicon-32x32.png`
- `apple-touch-icon.png`
- `android-chrome-192x192.png`
- `android-chrome-512x512.png`


The `apple-touch-icon.png` is 180x180, the other files the size is pretty evident.

These endpoints take the same query params as `GET /`, except that the `width`,
`height`, and `dpi` are set automatically.


## Options