Flag overnight blocks in the v2 schedule API
This commit is contained in:
+4
-2
@@ -107,8 +107,10 @@ Authenticates with the paired `email` + `licenseKey` query parameters and
|
||||
validates only that the key belongs to the account (not that the license is
|
||||
active/entitled). Returns the user's Blocks with start/end times and the IDs of
|
||||
the selected Proclamations (content is fetched separately via
|
||||
`/api/v2/proclamations`). Rate limited to 10 requests per minute per IP.
|
||||
Failure messages follow the existing v2 shape:
|
||||
`/api/v2/proclamations`). Overnight blocks (end clock time before start) are
|
||||
supported and flagged with `overnight: true` plus a wrapping `durationMinutes`.
|
||||
Rate limited to 10 requests per minute per IP. Failure messages follow the
|
||||
existing v2 shape:
|
||||
`not-authorized` or `this key doesn't appear to belong to you`.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user