This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
manual:api:reference:template:get [2021/02/23 13:07] gcalenko ZBXNEXT-5868: updated property name |
manual:api:reference:template:get [2021/02/23 13:28] (current) gcalenko ZBXNEXT-5868: removed note about count support |
||
---|---|---|---|
Line 44: | Line 44: | ||
| selectMacros | query | Return the macros from the template in the ''macros'' property.. | | | selectMacros | query | Return the macros from the template in the ''macros'' property.. | | ||
| selectDashboards | query | Return dashboards from the template in the ''[[:manual/api/reference/templatedashboard/object|dashboards]]'' property. \\ \\ Supports ''count''. | | | selectDashboards | query | Return dashboards from the template in the ''[[:manual/api/reference/templatedashboard/object|dashboards]]'' property. \\ \\ Supports ''count''. | | ||
- | |selectValueMaps|query|Return a ''[[:manual/api/reference/valuemap/object|valuemaps]]'' property with template value maps.\\ \\ Do not supports ''count''. | | + | |selectValueMaps|query|Return a ''[[:manual/api/reference/valuemap/object|valuemaps]]'' property with template value maps. | |
^ ||| | ^ ||| | ||
| limitSelects | integer | Limits the number of records returned by subselects. \\ \\ Applies to the following subselects: \\ ''selectTemplates'' - results will be sorted by ''name''; \\ ''selectHosts'' - sorted by ''host''; \\ ''selectParentTemplates'' - sorted by ''host''; \\ ''selectItems'' - sorted by ''name''; \\ ''selectDiscoveries'' - sorted by ''name''; \\ ''selectTriggers'' - sorted by ''description''; \\ ''selectGraphs'' - sorted by ''name''; \\ ''selectApplications'' - sorted by ''name''; \\ ''selectDashboards'' - sorted by ''name''. | | | limitSelects | integer | Limits the number of records returned by subselects. \\ \\ Applies to the following subselects: \\ ''selectTemplates'' - results will be sorted by ''name''; \\ ''selectHosts'' - sorted by ''host''; \\ ''selectParentTemplates'' - sorted by ''host''; \\ ''selectItems'' - sorted by ''name''; \\ ''selectDiscoveries'' - sorted by ''name''; \\ ''selectTriggers'' - sorted by ''description''; \\ ''selectGraphs'' - sorted by ''name''; \\ ''selectApplications'' - sorted by ''name''; \\ ''selectDashboards'' - sorted by ''name''. | |