addedInput schema / $defs
Added value: +{
+ "HeldArgs": {
+ "properties": {
+ "based_on": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "card": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "rev": {
+ "format": "int64",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card",
+ "based_on",
+ "rev"
+ ],
+ "type": "object"
+ },
+ "WindowArgs": {
+ "properties": {
+ "held": {
+ "items": {
+ "$ref": "#/$defs/HeldArgs"
+ },
+ "type": "array"
+ },
+ "need": {
+ "default": [],
+ "items": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "session": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "showing": {
+ "default": null,
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "session"
+ ],
+ "type": "object"
+ }
+}
removedInput schema / properties / session_id
Removed value: -{
- "description": "The session the panel is showing.",
- "format": "int64",
- "type": "integer"
-}
addedInput schema / properties / window
Added value: +{
+ "$ref": "#/$defs/WindowArgs",
+ "description": "The session and the cards the panel holds, for the cards it shows next."
+}
changedInput schema / required
Previous value: -[
- "session_id",
- "card_id",
- "archived"
-]New value: +[
+ "card_id",
+ "archived",
+ "window"
+]
addedOutput schema / $defs / AckOut
Added value: +{
+ "properties": {
+ "from": {
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "rating": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "revision": {
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "took": {
+ "type": "string"
+ },
+ "why": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "rating",
+ "revision",
+ "took"
+ ],
+ "type": "object"
+}
removedOutput schema / $defs / PanelCardOut
Removed value: -{
- "properties": {
- "card_id": {
- "format": "int64",
- "type": "integer"
- },
- "front_html": {
- "type": "string"
- },
- "front_lang": {
- "description": "The front's language, for its `lang`; absent when nothing says it.",
- "type": "string"
- }
- },
- "required": [
- "card_id",
- "front_html"
- ],
- "type": "object"
-}
addedOutput schema / $defs / PanelContentOut
Added value: +{
+ "properties": {
+ "back": {
+ "$ref": "#/$defs/PanelFaceOut"
+ },
+ "comes_back_ms": {
+ "description": "How long until the card comes back after each grade, Again, Hard,\nGood, Easy, in ms: what the grade buttons say.",
+ "items": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "maxItems": 4,
+ "minItems": 4,
+ "type": "array"
+ },
+ "front": {
+ "$ref": "#/$defs/PanelFaceOut"
+ },
+ "preload": {
+ "description": "Signed links to the card's pictures, to fetch before it shows.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type_answer": {
+ "description": "The answer a card asks to have typed, when it asks for one.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "front",
+ "back",
+ "type_answer",
+ "comes_back_ms",
+ "preload"
+ ],
+ "type": "object"
+}
addedOutput schema / $defs / PanelFaceOut
Added value: +{
+ "properties": {
+ "html": {
+ "type": "string"
+ },
+ "lang": {
+ "description": "The side's language, for its `lang`; empty when nothing says it.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "html",
+ "lang"
+ ],
+ "type": "object"
+}
addedOutput schema / $defs / PanelFinishOut
Added value: +{
+ "description": "The finished screen of a session whose queue is empty.",
+ "properties": {
+ "again": {
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "easy": {
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "goal": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/PanelGoalOut"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The goal the session counted toward."
+ },
+ "good": {
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "hard": {
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "held_by_limit": {
+ "description": "Cards today's limits hold back.",
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "next_due": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/NextDueOut"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "When the next cards come."
+ },
+ "reminders_offer": {
+ "description": "Whether the finished screen offers reminders (panel_reminders):\nonly when the server can send this account reminders it has not\nturned on.",
+ "type": "boolean"
+ },
+ "reviewed": {
+ "description": "Reviews recorded in this session, by grade, in the panel or the chat.",
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "state": {
+ "description": "`held` (today's limits hold the rest back), `caught_up` (nothing\ndue), or `empty` (no cards in the scope at all).",
+ "type": "string"
+ },
+ "took_ms": {
+ "description": "From the session's first review to its last, in ms.",
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "week": {
+ "description": "The seven study days after today and the cards due on each, for the\nfinished screen's week.",
+ "items": {
+ "$ref": "#/$defs/DayAheadOut"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "state",
+ "held_by_limit",
+ "reviewed",
+ "again",
+ "hard",
+ "good",
+ "easy"
+ ],
+ "type": "object"
+}
addedOutput schema / $defs / PanelWindowCardOut
Added value: +{
+ "properties": {
+ "based_on": {
+ "description": "The card's last review, 0 for a new card: a grade of it names this.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "card": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "content": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/PanelContentOut"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "rev": {
+ "description": "Changes whenever what the card shows changes.",
+ "format": "int64",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card",
+ "based_on",
+ "rev"
+ ],
+ "type": "object"
+}
addedOutput schema / $defs / PanelWindowOut
Added value: +{
+ "description": "The cards the study panel shows next, in the order they come: the\nstudy page's window, its media links signed. A card the panel said\nit holds at the same `rev` and `based_on` comes without content.",
+ "properties": {
+ "cards": {
+ "items": {
+ "$ref": "#/$defs/PanelWindowCardOut"
+ },
+ "type": "array"
+ },
+ "finish": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/PanelFinishOut"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "What the finished screen shows, once the queue is empty."
+ },
+ "refreshed": {
+ "description": "The cards the panel asked for again (`need`), as they now read.",
+ "items": {
+ "$ref": "#/$defs/PanelWindowCardOut"
+ },
+ "type": "array"
+ },
+ "remaining": {
+ "description": "Cards in the queue after the round, the one on screen included.",
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "remaining",
+ "cards",
+ "refreshed"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / acks
Added value: +{
+ "items": {
+ "$ref": "#/$defs/AckOut"
+ },
+ "type": "array"
+}
removedOutput schema / properties / card
Removed value: -{
- "anyOf": [
- {
- "$ref": "#/$defs/PanelCardOut"
- },
- {
- "type": "null"
- }
- ]
-}
removedOutput schema / properties / deck
Removed value: -{
- "description": "The session's deck and tags as asked for: the tags are the header's\nchips, and both let the panel start the session again after\nallowing more new cards; start only.",
- "type": [
- "string",
- "null"
- ]
-}
removedOutput schema / properties / deck_label
Removed value: -{
- "description": "The deck as the site shows it (`Cardio › ECG`), for the panel's\nheader; start only.",
- "type": [
- "string",
- "null"
- ]
-}
removedOutput schema / properties / goal
Removed value: -{
- "anyOf": [
- {
- "$ref": "#/$defs/PanelGoalOut"
- },
- {
- "type": "null"
- }
- ],
- "description": "The goal the session counted toward, once the queue is empty."
-}
removedOutput schema / properties / held_by_limit
Removed value: -{
- "description": "Cards today's limits hold back.",
- "format": "uint32",
- "minimum": 0,
- "type": "integer"
-}
removedOutput schema / properties / next_card
Removed value: -{
- "anyOf": [
- {
- "$ref": "#/$defs/PanelCardOut"
- },
- {
- "type": "null"
- }
- ],
- "description": "The card expected after this one, its front only, so the panel can\nshow it the moment a grade is tapped and record the grade behind\nit. The grade's own answer still says which card really comes."
-}
removedOutput schema / properties / next_due
Removed value: -{
- "anyOf": [
- {
- "$ref": "#/$defs/NextDueOut"
- },
- {
- "type": "null"
- }
- ],
- "description": "When the next cards come, once the queue is empty."
-}
removedOutput schema / properties / preload
Removed value: -{
- "description": "Signed links to warm: this card's back and the next card's front.",
- "items": {
- "type": "string"
- },
- "type": "array"
-}
removedOutput schema / properties / recorded
Removed value: -{
- "description": "False only from panel_grade, when the card had already been graded\nelsewhere (in the chat) and this grade was not recorded.",
- "type": "boolean"
-}
removedOutput schema / properties / remaining
Removed value: -{
- "description": "Cards in the queue, this one included.",
- "format": "uint32",
- "minimum": 0,
- "type": "integer"
-}
removedOutput schema / properties / reminders_offer
Removed value: -{
- "description": "Whether the finished screen offers reminders (panel_reminders):\nonly once the queue is empty, and only when the server can send\nthis account reminders it has not turned on.",
- "type": "boolean"
-}
removedOutput schema / properties / reviewed
Removed value: -{
- "description": "Reviews recorded in this session so far, in the panel or the chat:\nwith `remaining`, the panel's progress (\"2 / 10\").",
- "format": "uint32",
- "minimum": 0,
- "type": "integer"
-}
removedOutput schema / properties / session_id
Removed value: -{
- "format": "int64",
- "type": "integer"
-}
removedOutput schema / properties / site_url
Removed value: -{
- "description": "The site's front page, for the finished screen's \"Study on the\nweb\": the cards live there too.",
- "type": "string"
-}
removedOutput schema / properties / state
Removed value: -{
- "description": "`card` (one to show), `held` (today's limits hold the rest back),\n`caught_up` (nothing due), or `empty` (no cards in the scope at all).",
- "type": "string"
-}
removedOutput schema / properties / tags
Removed value: -{
- "items": {
- "type": "string"
- },
- "type": "array"
-}
removedOutput schema / properties / ui_lang
Removed value: -{
- "description": "The language the account reads Flash in (`panel_lang`); start\nonly.",
- "type": [
- "string",
- "null"
- ]
-}
removedOutput schema / properties / view
Removed value: -{
- "description": "Which of the panel's views this is: always `study`.",
- "type": "string"
-}
removedOutput schema / properties / week
Removed value: -{
- "description": "The seven study days after today and the cards due on each, once\nthe queue is empty, for the finished screen's week.",
- "items": {
- "$ref": "#/$defs/DayAheadOut"
- },
- "type": "array"
-}
addedOutput schema / properties / window
Added value: +{
+ "anyOf": [
+ {
+ "$ref": "#/$defs/PanelWindowOut"
+ },
+ {
+ "type": "null"
+ }
+ ]
+}
changedOutput schema / required
Previous value: -[
- "view",
- "session_id",
- "state",
- "card",
- "remaining",
- "reviewed",
- "held_by_limit",
- "preload",
- "recorded",
- "site_url"
-]New value: +[
+ "acks"
+]