zabbix-graphql-api/docs/queries/from_zabbix_docs
Andreas Hilbig b56255ffaa feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool
This commit introduces a comprehensive set of GraphQL query and mutation samples based on the official Zabbix 7.4 API documentation, along with testing and automation improvements.

Changes:

- Documentation:

  - Added 21 GraphQL sample files in docs/queries/from_zabbix_docs/ covering various Zabbix API operations.

  - Updated docs/howtos/cookbook.md with a new recipe for executing these documentation samples.

- AI & MCP:

  - Added mcp/operations/importHostGroups.graphql to enable host group import via MCP tools.

- Testing:

  - Added src/test/zabbix_docs_samples.test.ts to automatically validate all documentation samples against the GraphQL schema.
2026-01-31 10:52:56 +01:00
..
allDevices.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
allHostGroups.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
allHosts.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
allTemplateGroups.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
createHost.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
deleteTemplateGroups.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
deleteTemplates.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
exportHostValueHistory.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
exportUserRights.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
hasPermissions.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
importHostGroups.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
importHosts.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
importTemplateGroups.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
importTemplates.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
importUserRights.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
locations.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
login.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
logout.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
templates.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
userPermissions.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00
zabbixVersion.graphql feat: add Zabbix 7.4 documentation samples and importHostGroups MCP tool 2026-01-31 10:52:56 +01:00