PixelSense Documentation – Internal Review Notes
Internal working notes. Do not publish this page in the public product documentation.
The six imported Confluence pages contain overlapping material and some implementation details that should be verified against the current code before treating every endpoint or behavior as authoritative.
Recommended separation
| Imported source | Destination | Treatment |
|---|---|---|
| PixelSense User Guide | Guides | User-facing instructions. Keep UI labels, screenshots and user workflows here. |
| PixelSense (API) Documentation LLD | API | Primary technical/API reference for the current Spring Boot backend, subject to source-code verification. |
| PixelSense API Code | API | Detailed implementation notes for controllers/services. Split into module pages later if the page becomes difficult to navigate. |
| Image Comparison API – Documentation | API | Keep as a separately labelled original/legacy comparison-service reference until endpoint and security details are confirmed. |
| Distributed Server Communication Architecture | Architecture | Infrastructure and component communication reference. |
| PixelSense MySQL Schema | Database | Database reference for tables, relationships, triggers and stored procedures. |
Items requiring technical reconciliation
- Comparison endpoints: the original Image Comparison API document describes
POST /compare; the backend LLD describesPOST /compare/v2for the low-level comparison controller and separately describesPOST /api/visual/compareas the SDK-facing submission path. Confirm the deployed routes and mark deprecated routes clearly. - Authentication mechanisms: the documents describe user JWT authentication, PixelBridge access-token authentication (including
X-PixelBridge-Token), and an API-key scheme (X-API-KEY) for the comparison endpoint. Document which mechanism applies to each endpoint; do not present them as interchangeable. - Image storage: the architecture describes Artifactory as binary image storage with MySQL holding metadata/paths, while the schema includes
STORAGE_KEYandDIFF_STORAGE_KEYLONGBLOB columns as well as storage-path columns. Confirm which storage mode is active for each image type and environment. - Image delivery terminology: the User Guide refers to secure cloud CDN storage; the architecture and backend LLD describe Artifactory and short-lived signed URLs. Confirm the actual provider and whether a CDN is in front of it before publishing a definitive infrastructure statement.
- Database version/counts: the schema document describes
pixelsense_dev, MySQL 8, 19 tables, 19 UUID triggers and 57 stored procedures. Revalidate these counts against the current database/model before each major release. - Authorization: the LLD notes that some controllers do not perform authorization checks inside the controller and rely on the global security configuration. Verify the applicable
SecurityConfigrules, especially for admin and project-scoped routes. - API examples and identifiers: older implementation notes contain integer-style sample IDs and route names that differ from the UUID-based schema and newer LLD. Treat examples as illustrative until checked against current DTOs and controller mappings.
- User guide limits and UI labels: the guide mentions a trial limit of two team members and one-time display of token secrets. Confirm these are still current product rules before publishing.
Publication recommendation
- The User Guide can be prepared for product users after checking screenshots and current UI labels.
- The API, architecture and database pages should remain internal until the reconciliation items above are checked by the engineering owner.
- Never publish real API keys, JWT secrets, passwords, connection strings, signed URLs, private hostnames or production credentials in documentation.