Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
miyako authored Sep 5, 2020
1 parent bf4778c commit 7df1452
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,17 @@ sqlite3 /Users/miyako/Library/Group\ Containers/group.com.apple.notes/NoteStore.
## Syntax

```
note:=Notes Create note (folder;title;body;attachments)
note:=Notes Create note (folder;title;body;attachments{;$names})
```

Parameter|Type|Description
------------|------------|----
folder|TEXT|
title|TEXT|
body|TEXT|
attachments|ARRAY PICTURE|
note|TEXT|JSON object
attachments|ARRAY PICTURE| or ARRAY BLOB
names|ARRAY TEXT|
note|OBJECT|

Properties of ``note``:

Expand All @@ -126,7 +127,7 @@ Notes GET FOLDERS (folders)

Parameter|Type|Description
------------|------------|----
folders|ARRAY TEXT|names + JSON object in element ``0``
folders|COLLECTION|

Properties of ``folders``:

Expand All @@ -145,7 +146,7 @@ Notes GET NOTES (notes)

Parameter|Type|Description
------------|------------|----
notes|ARRAY TEXT|names + JSON object in element ``0``
notes|COLLECTION|

Properties of ``notes``:

Expand All @@ -163,7 +164,7 @@ Notes GET ATTACHMENTS (attachments)

Parameter|Type|Description
------------|------------|----
attachments|ARRAY TEXT|names + JSON object in element ``0``
attachments|COLLECTION|

Properties of ``attachments``:

Expand All @@ -181,7 +182,7 @@ Notes GET ACCOUNTS (accounts)

Parameter|Type|Description
------------|------------|----
accounts|ARRAY TEXT|names + JSON object in element ``0``
accounts|COLLECTION|

Properties of ``accounts``:

Expand All @@ -201,7 +202,7 @@ Parameter|Type|Description
------------|------------|----
parent|TEXT|
name|TEXT|
folder|TEXT|JSON object
folder|OBJECT|

Properties of ``folder``:

Expand All @@ -226,7 +227,7 @@ note:=Notes Get note (id)
Parameter|Type|Description
------------|------------|----
id|TEXT|
note|TEXT|JSON object
note|OBJECT|

Properties of ``note``:

Expand All @@ -247,7 +248,7 @@ folder:=Notes Get folder (id)
Parameter|Type|Description
------------|------------|----
id|TEXT|
folder|TEXT|JSON object
folder|OBJECT|

Properties of ``folder``:

Expand All @@ -268,7 +269,7 @@ account:=Notes Get account (id)
Parameter|Type|Description
------------|------------|----
id|TEXT|
account|TEXT|
account|OBJECT|

Properties of ``account``:

Expand Down

0 comments on commit 7df1452

Please sign in to comment.