No description
Find a file
SnapAPI Developer 3e9336ae67
Some checks failed
Build & Deploy to Staging / Build & Deploy to Staging (push) Has been cancelled
Add clip parameter for viewport cropping
- Add clip object parameter to crop rectangular areas from screenshots
- Support POST body: clip {x, y, width, height} number fields
- Support GET query: clipX, clipY, clipW, clipH params
- Validation: all fields required, x/y >=0, width/height >0, max 3840x2160
- Mutually exclusive with fullPage and selector
- Update OpenAPI docs with clip examples
- Update Node.js and Python SDK READMEs with clip usage
- Add comprehensive test coverage (11 new tests)
- Tests: missing fields, negative coords, zero dimensions, max limits, mutual exclusivity
2026-03-05 15:13:12 +01:00
.forgejo/workflows fix: promote workflow retags staging image instead of rebuilding 2026-02-20 11:34:58 +00:00
public feat: add css parameter for custom CSS injection in screenshots 2026-03-04 21:06:50 +01:00
sdk Add clip parameter for viewport cropping 2026-03-05 15:13:12 +01:00
src Add clip parameter for viewport cropping 2026-03-05 15:13:12 +01:00
.gitignore feat: update landing page, changelog, compare, quick-start with darkMode + hideSelectors features 2026-03-04 15:08:17 +01:00
Dockerfile fix: skip puppeteer browser download in Docker build 2026-02-20 11:21:02 +00:00
package-lock.json feat: add darkMode and hideSelectors screenshot parameters 2026-03-04 12:06:26 +01:00
package.json fix: cancelled tier, remove key logging, add billing rate limits 2026-03-04 09:06:16 +01:00
tsconfig.json fix: exclude test files from tsc build 2026-02-25 08:09:58 +00:00
vitest.config.ts Add comprehensive test framework with vitest and TDD tests 2026-02-24 16:23:06 +00:00