Express 5, scanner on API v2, v1 deprecation headers (1.51.3)
- Express 5 (qs query parser and req.body = {} kept as in Express 4).
- Scanner and at-the-door check-in use /api/v2/checkin; look-up gives attendee, bookedBy,
ticketOptionId.
- Shared middleware errors on /api/v2 rewritten to { error: { code, message, reason } };
apiFetch treats reason like v1's code.
- Deprecation + Link: rel="successor-version" on v1 endpoints that have a v2 replacement.
- Roadmap: open question on how much of v1 to retire in 2.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ls1vMdg2GYqbnKZmPaX1ot
This commit is contained in:
+8
-2
@@ -299,6 +299,8 @@ export interface components {
|
||||
fields?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
/** @description A more specific cause when there is one, e.g. TWO_FACTOR_REQUIRED, IMPERSONATION_ENDED, LICENCE_READ_ONLY, OTHER_CAMPUS */
|
||||
reason?: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1043,10 +1045,14 @@ export interface operations {
|
||||
id: string;
|
||||
eventId: string;
|
||||
eventTitle: string | null;
|
||||
/** @description For section checks */
|
||||
ticketOptionId: string | null;
|
||||
ticketName: string | null;
|
||||
variant: string | null;
|
||||
/** @description The attendee named on it, or the person who registered */
|
||||
holder: string | null;
|
||||
/** @description The attendee named on it, if any */
|
||||
attendee: string | null;
|
||||
/** @description Who registered */
|
||||
bookedBy: string | null;
|
||||
quantity: number;
|
||||
/** @description Still to check in (this session, on multi-day events) */
|
||||
remaining: number;
|
||||
|
||||
Reference in New Issue
Block a user