Liveness probe
Unauthenticated liveness check used by the platform and monitors, served at the root and under the base path (api.easerix.com/notes/health). It also reports the weekly integrity check: an uptime monitor can alert on integrity other than ok. Status and counts only.
View as MarkdownResponse Body
application/json
curl -X GET "https://example.com/health"{ "status": "string", "service": "string", "integrity": "unchecked", "doubledPages": 0, "doubledCheckedAt": "2019-08-24T14:15:22Z"}Undo an import
Administrators only. Takes away what the import made, and nothing that people have done since. An issue is erased for good (not sent to Recently Deleted) only if nobody has touched it: it was not edited after the import finished, has no comment from anyone but the import, no live attachment and no link added since. Such an issue stays, with the comments the import gave it, and is counted in `keptIssues`. Comments the import added to issues of an earlier import are removed unless someone edited them. The ledger rows of erased issues go with them, so the same file can be imported again, with a corrected mapping, as if the first run had not happened. Statuses, labels and projects the import created are kept. Allowed for 7 days after the import finishes (`undoableUntil`). A 409 says why not: `not_undoable` (not finished), `undo_expired`, or `already_undone` (also what the loser of two simultaneous undos gets). Recorded on the security log.
Internal: read CRDT state (notes-sync only)
Service-to-service surface for the notes-sync realtime server, gated by the X-Internal-Key shared secret (501 when unconfigured). Returns the stored Yjs binary state (base64, empty when none) plus the current JSON projection and rev so a fresh Y.Doc can be seeded. With rev_only=1 only the rev is returned (notes-sync polls open documents for writes made outside collab).