...
property | type | required | format | description |
---|---|---|---|---|
title | string | no | same definition as "title" on the deck revision model | |
language | string | no | same definition as "language" on the deck revision model | |
theme | string | no | same definition as "theme" on the deck revision model | |
license | string | no | same definition as "license" on the deck model | |
description | string | no | same definition as "description" on the deck model | |
tags | array | no | same definition as "tags" on the deck revision model |
DeckChange=
property | type | required | description |
---|---|---|---|
op | string | yes | one of 'add', 'remove', 'replace', 'move', or 'update' |
timestamp | date string | yes | iso date string |
user | integer | yes | |
path | array of ChangePathPart | yes | can be empty for the root deck 'update' change |
from | array of ChangePathPart | if operation is 'move' | provides the previous path of the node moved in the tree |
value | NodeValue | yes if op is 'add', 'remove', 'replace' or 'move' | provides the node value referenced by the change |
oldValue | NodeValue | yes if op is 'replace' | provides the node value replaced when creating a revision for a deck child |
values | UpdateValues | yes if op is 'update' | provides the new values for the deck data updated |
oldValues | UpdateValues | yes if op is 'update' | provides the old values for the deck data updated |
...