zabbix-graphql-api/docs/queries
Andreas Hilbig ce340ccf2e feat: implement storeGroupValue and getGroupValue with unified locator
- API Refactoring: Extracted GroupValueLocator input type to unify parameters for storeGroupValue (mutation) and getGroupValue (query).

- Data Retrieval: Implemented getGroupValue query to allow direct retrieval of JSON values stored in host groups via Zabbix Trapper items.

- Enhanced Logic: Added ZabbixGetGroupValueRequest to fetch latest history values for group-associated items.

- Improved Verification: Updated the regression suite (REG-STORE) to include a full 'Store-Update-Retrieve' verification cycle.

- Documentation:

    - Updated docs/howtos/cookbook.md recipes to use the new locator structure and getGroupValue for verification.

    - Updated sample query files (docs/queries/) with corrected variables and verification queries.

- Tests:

    - Added unit and integration tests for getGroupValue.

    - Updated existing tests to match the refactored storeGroupValue schema.

- Verification: Verified 100% pass rate for all 16 regression steps and all unit/integration tests.
2026-02-20 12:26:39 +01:00
..
from_zabbix_docs feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
README.md feat: implement history push mutation and enhanced MCP logging 2026-02-03 13:29:42 +01:00
sample_all_devices_query.graphql chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
sample_all_host_groups_query.graphql chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
sample_all_hosts_query.graphql chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
sample_all_template_groups_query.graphql chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
sample_delete_template_groups_mutation.graphql chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
sample_delete_templates_mutation.graphql chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
sample_distance_tracker_test_query.graphql feat: optimize Zabbix queries and enhance specialized device support 2026-02-02 13:20:06 +01:00
sample_export_user_rights_query.graphql chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
sample_import_distance_tracker_template.graphql docs: refactor documentation and upgrade to Node.js 24 2026-01-30 14:35:31 +01:00
sample_import_ground_value_checker_template.graphql feat: add GroundValueChecker and WeatherSensorDevice with public API integration 2026-02-01 21:07:21 +01:00
sample_import_host_groups_mutation.graphql chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
sample_import_host_template_groups_mutation.graphql chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
sample_import_hosts_mutation.graphql chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
sample_import_permissions_template_groups_mutation.graphql chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
sample_import_simulated_bt_template.graphql docs: add TSDoc to core components 2026-02-11 13:32:28 +01:00
sample_import_templates_mutation.graphql chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
sample_import_user_rights_mutation.graphql chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
sample_import_weather_sensor_template.graphql feat: add GroundValueChecker and WeatherSensorDevice with public API integration 2026-02-01 21:07:21 +01:00
sample_push_geojson_history.graphql feat: implement history push mutation and enhanced MCP logging 2026-02-03 13:29:42 +01:00
sample_store_group_value_mutation.graphql feat: implement storeGroupValue and getGroupValue with unified locator 2026-02-20 12:26:39 +01:00
sample_store_parking_geojson.graphql feat: implement storeGroupValue and getGroupValue with unified locator 2026-02-20 12:26:39 +01:00
sample_templates_query.graphql chore: add MCP integration and refactor documentation into modular how-to guides 2026-01-30 00:47:02 +01:00
sample_tracked_device_query.graphql feat: implement history push mutation and enhanced MCP logging 2026-02-03 13:29:42 +01:00

Sample Queries & Mutations

This directory contains practical examples of GraphQL operations for the Zabbix GraphQL API. You can use these as templates for your own automation or integration tasks.

📁 Available Samples

🖥️ Hosts

📄 Templates

📂 Template Groups

🔐 User Rights

For step-by-step guides on how to use these operations in common scenarios, see the Cookbook.