manage_note
Manage Gramps genealogy notes: create, read, update, or delete note records, including DNA match segments stored in notes.
Instructions
Create, read, update or delete Gramps Note records. Writes: create, update, delete.
action=get lists notes (handle empty) or returns one note by handle.
action=create posts a full Note JSON object in data; action=update
PUTs data to /notes/; action=delete removes it. Note payload
fields: gramps_id, type, text, format, note_list, change, ... . Notes are
referenced by other objects' note_list fields; DNA match segment strings
live in notes (see analyze_dna).
Args: action: The operation, "get", "create", "update" or "delete". handle: Note handle; required for get-one, update, delete. data: The Note object for create/update (required for those). query: Optional dict of extra query-string parameters for reads. instance: Gramps Web base URL from get_instances; default = first.
Returns: dict: {"status", "url", "data"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| query | No | ||
| action | Yes | ||
| handle | No | ||
| instance | No |