edits.list
Lists the Editor's projects in the open workspace with their revision and a small picture, for keeping a copy in step.
JSON-RPC 2.0project.read
Lightair Editor on a phone or tablet uses it to see what changed; it works from any client with the password. Fetching and sending projects needs a paired device.
Pass the cursor from an earlier answer as since to get only projects changed since then. revision changes whenever the project's document does.
Parameters
- sincenumberA
cursorfrom an earlier answer.
Result
- projects{ id: string, name: string, created: number, modified: number, revision: string, size: [number, number], aspect: string, fps: number, duration_ms: number, media: number, canvases: number, thumbnail: object, checked_out: string | null }[]Newest first.
- cursornumberPass it as
sincenext time.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "edits.list", "params": {}}lightair call edits.listconst result = lightair.call("edits.list", {});