manage_report
List, inspect, or generate Gramps genealogy reports in formats like PDF, text, or web. Choose an action to view available reports, get options, run a background task, or download a generated file.
Instructions
List, configure or generate Gramps reports (PDF, text, web...). Writes: run.
action=list returns all available reports (GET /reports/);
action=info describes one report and its options (GET /reports/);
action=run generates a report in the background
(POST /reports//file?options=) returning a task reference;
action=file generates it synchronously (GET /reports//file) and
returns the produced file as base64; action=result downloads a
previously generated file by filename (pass via options or a separate
call: GET /reports//file/processed/). Report options are a
JSON dict documented by each report's options_help (see action=info).
Args: action: "list", "info", "run", "file" or "result". report_id: Report id (e.g. 'descend_report'); required for info, run, file, result. options: Dict of report options (JSON-serialized into the options param). locale: Language code for report output (default server locale). include_help: If true, include the options-help dictionary in list/info. instance: Gramps Web base URL from get_instances; default = first.
Returns: dict: {"status", "url", "data": reports, task ref, or base64 file}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| locale | No | ||
| options | No | ||
| instance | No | ||
| report_id | No | ||
| include_help | No |