Skip to main content

addonStatusCounts

Returns total, draft, active, and inactive counts for accessible add-ons, optionally scoped to a site and type. Use addonList for the records; absent counts resolve to zero. Requires survey view access or CTA view access.

addonStatusCounts(
site: Int
type: AddonType
): AddonStatusCountsResult!

Arguments​

addonStatusCounts.site ● Int scalar​

Site ID from sites; omit to include accessible sites.

addonStatusCounts.type ● AddonType enum​

Optional type filter; omitted types are narrowed to those the caller may view.

Type​

AddonStatusCountsResult object​

Aggregate counts grouped into the addon statuses used by list filters; absent data resolves to zeroes rather than null fields. Returned by addonStatusCounts.