removedInput schema / $schema
Removed value: -"http://json-schema.org/draft-07/schema#"
addedInput schema / properties / bbox / examples
Added value: +[
+ "2.2241,48.8156,2.4699,48.9022"
+]
changedInput schema / properties / datasetId / description
Previous value: -"The exact dataset ID from the \"id\" field in list_datasets results. Do not use the title or slug."New value: +"The \"id\" of a datafair_list_account_datasets result, not its title or slug."
changedInput schema / properties / fieldKey / description
Previous value: -"The column key to calculate the metric on (use keys from describe_dataset)"New value: +"The column key to calculate the metric on (use keys from datafair_describe_dataset)"
removedInput schema / properties / filters / additionalProperties
Removed value: -{
- "type": "string"
-}
changedInput schema / properties / filters / description
Previous value: -"Column filters as key-value pairs: column_key + suffix, all values strings. Example: { \"ville_eq\": \"Paris\", \"age_lte\": \"30\", \"nom_search\": \"Jean\" }. Suffixes include _eq, _in, _gt/_lt, _search and more; if one is rejected the 400 error lists what the column supports. Never _c_-prefix a column filter (use ville_eq, not _c_ville_eq)."New value: +"Column filters { \"<column key><suffix>\": \"<value as a string>\" }, e.g. { \"ville_eq\": \"Paris\", \"age_lte\": \"30\", \"nom_search\": \"Jean\" }. Suffixes: _eq _neq _in _nin (comma-separated) _gt _gte _lt _lte _starts _exists _nexists _search (words, the default for text) _contains (when enabled). A rejected suffix answers a 400 listing the column's. Never prefix with _c_."
addedInput schema / properties / filters / patternProperties
Added value: +{
+ ".*": {
+ "default": "",
+ "type": "string"
+ }
+}
removedInput schema / properties / filters / propertyNames
Removed value: -{
- "pattern": "^.+_(search|eq|neq|in|nin|starts|contains|gte?|lte?|n?exists)$"
-}
changedInput schema / properties / metric / description
Previous value: -"Metric to calculate. Available: avg, sum, min, max (for numbers); min, max, cardinality, value_count (for strings); value_count (for others); stats returns count/min/max/avg/sum; percentiles returns distribution."New value: +"avg, sum, min, max (numbers); min, max, cardinality, value_count (strings); stats returns count/min/max/avg/sum; percentiles returns a distribution."
changedInput schema / properties / metric / enum
Previous value: -[
- "avg",
- "sum",
- "min",
- "max",
- "stats",
- "value_count",
- "cardinality",
- "percentiles"
-]New value: +[
+ "avg",
+ "sum",
+ "min",
+ "max",
+ "stats",
+ "value_count",
+ "percentiles",
+ "cardinality"
+]
addedInput schema / properties / percents / default
Added value: +"1,5,25,50,75,95,99"
changedInput schema / properties / percents / description
Previous value: -"Comma-separated percentages for percentiles metric (default: \"1,5,25,50,75,95,99\"). Only used when metric is \"percentiles\"."New value: +"Comma-separated percentages for the percentiles metric (default \"1,5,25,50,75,95,99\")."
addedInput schema / properties / q
Added value: +{
+ "description": "Full-text search across all columns, restricting the rows. Prefer filters for structured criteria.",
+ "maxLength": 1000,
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "datasetId",
- "fieldKey",
- "metric"
-]New value: +[
+ "datasetId",
+ "metric",
+ "fieldKey"
+]
changedOutput schema / (root)
Previous value: -{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "additionalProperties": false,
- "properties": {
- "datasetId": {
- "description": "The dataset ID that was queried",
- "type": "string"
- },
- "fieldKey": {
- "description": "The column key that was queried",
- "type": "string"
- },
- "total": {
- "description": "Total number of rows included in the calculation",
- "type": "number"
- },
- "value": {
- "description": "The calculated metric value. For avg/sum/min/max/value_count/cardinality: a single number. For stats: an object {count, min, max, avg, sum}. For percentiles: an object mapping percentage strings to values, e.g. {\"25\": 30000, \"50\": 42000, \"75\": 55000}."
- }
- },
- "required": [
- "datasetId",
- "fieldKey",
- "total"
- ],
- "type": "object"
-}New value: +null