action fec_get_totals_by_entity { label: "get_totals_by_entity" description: "\nProvides cumulative receipt totals by entity type, over a two year cycle. Totals are adjusted to avoid double counting.\n\nThis is [the sql](https://github.com/fecgov/openFEC/blob/develop/data/migrations/V41__large_aggregates.sql) that creates these calculations.\n" provider: fec method: GET path: "/totals/by_entity/" encoding: json input: { type: "object" properties: { api_key: { type: "string" } cycle: { type: "integer" format: "int32" } page: { type: "integer" format: "int32" } per_page: { type: "integer" format: "int32" } sort: { type: "string" } sort_hide_null: { type: "boolean" } sort_null_only: { type: "boolean" } sort_nulls_last: { type: "boolean" } } required: ["api_key", "cycle"] additionalProperties: false } output: { type: "object" additionalProperties: true } }