1
0
Fork 0
mirror of https://github.com/bastienwirtz/homer.git synced 2026-01-23 02:15:09 +00:00
homer/dummy-data
Adam Monsen 66d4cc36b5 add Docuseal smart card
Fixes #847

Requires #850
2025-01-05 06:24:11 -08:00
..
docuseal add Docuseal smart card 2025-01-05 06:24:11 -08:00
freshrss/api/greader.php
gitea add Gitea subtitle fallback and dummy data (#839) 2024-12-01 05:29:57 -08:00
glances/api/4
immich/api/server-info
octoprint/api
olivetin Add Traefik, Wallabag, Olivetin (#838) 2024-12-01 05:29:36 -08:00
openHAB/rest
openweather
peanut/api/v1/devices fix: Peanut mock data folder & doc typos 2024-12-01 14:55:10 +01:00
pialert/php/server
pihole
proxmox/api2/json/nodes/node1
qBittorrent/api/v2
rtorrent
speedtesttracker/api/speedtest
tdarr/api/v2
traefik/api Add Traefik, Wallabag, Olivetin (#838) 2024-12-01 05:29:36 -08:00
wallabag/api Add Traefik, Wallabag, Olivetin (#838) 2024-12-01 05:29:36 -08:00
_headers
README.md

Dummy data

This directory content makes possible to test custom services cards or create a demo without actually running the service. The principle is simple: save a sample output of the API used in the service in a static file in this directory. The path must be identical as the service endpoint to be used seamlessly.

Start the mock server to expose dummy data

pnpm mock

How to add a new services sample

  • create a directory for your service, and any sub-folder existing in the service api path.
  • save the api output in a file named after the service endpoint.

Example:

mkdir pihole
curl http://my-pihole.me/admin/api.php -o pihole/api.php # /admin is omitted because for PiHole, the implementation expect it to be in the base url (`url` or `endpoint` property)