changedetection.io/docs
Giuseppe Rota cd8e115118
Enable "last_viewed" field in the watch API. (#3403)
2025-09-06 11:47:16 +02:00
..
api_v1 Enable "last_viewed" field in the watch API. (#3403) 2025-09-06 11:47:16 +02:00
.gitignore API - Improvements, support PUT for updating existing watch, set muted state, set paused state, see https://changedetection.io/docs/api_v1/index.html (#1213) 2023-01-10 19:00:57 +01:00
README.md API - Use OpenAPI docs (#3384) 2025-08-24 00:48:17 +02:00
api-spec.yaml Enable "last_viewed" field in the watch API. (#3403) 2025-09-06 11:47:16 +02:00
browsersteps-anim.gif Configurable "Browser Steps" when Playwright/Chrome is configured (enter text, scroll, wait for text, click button etc) (#478) 2022-11-24 20:53:01 +01:00
btc-support.png
chrome-extension-screenshot.png Chrome Extension - Adding link in README.md to the webstore 2024-03-06 11:15:27 +01:00
json-diff-example.png
json-filter-field-example.png
package.json API - Use OpenAPI docs (#3384) 2025-08-24 00:48:17 +02:00
proxy-example.jpg Adding link to BrightData Proxy info (#1003) 2022-10-09 15:51:57 +02:00
restock-overview.png Ability to use restock and price amounts in notifications as tokens (for example {{restock.price}} ) (#2503) 2024-07-17 20:27:47 +02:00
restock-settings.png Ability to use restock and price amounts in notifications as tokens (for example {{restock.price}} ) (#2503) 2024-07-17 20:27:47 +02:00
scheduler.png Docs - Adding information to README.md about the new scheduler 2024-12-04 08:52:40 +01:00
screenshot-diff.png
screenshot-notifications.png
screenshot.png README - Updating screenshot (with better cropping) 2025-07-14 17:51:22 +02:00
visualselector-anim.gif Bumping VisualSelector example animation 2022-11-25 10:02:18 +01:00
web-page-change-conditions.png README.md update - Including blurb about 'conditions' 2025-04-09 10:43:06 +02:00

README.md

Directory of docs

Regenerating API Documentation

To regenerate the modern API documentation, run from the docs/ directory:

# Install dependencies (first time only)
npm install

# Generate the HTML documentation from OpenAPI spec using Redoc
npm run build-docs

OpenAPI Specification

The OpenAPI specification (docs/api-spec.yaml) is the source of truth for API documentation. This industry-standard format enables:

  • Interactive documentation - Test endpoints directly in the browser
  • SDK generation - Auto-generate client libraries for any programming language
  • API validation - Ensure code matches documentation
  • Integration tools - Import into Postman, Insomnia, API gateways, etc.

Important: When adding or modifying API endpoints, you must update docs/api-spec.yaml to keep documentation in sync:

  1. Edit docs/api-spec.yaml with new endpoints, parameters, or response schemas
  2. Run npm run build-docs to regenerate the HTML documentation
  3. Commit both the YAML spec and generated HTML files