changedInput schema / anyOf
Previous value: -[
- {
- "required": [
- "csv"
- ]
- },
- {
- "required": [
- "rows"
- ]
- }
-]New value: +[
+ {
+ "required": [
+ "csv"
+ ]
+ },
+ {
+ "required": [
+ "rows"
+ ]
+ },
+ {
+ "required": [
+ "domain"
+ ]
+ }
+]
addedInput schema / properties / domain
Added value: +{
+ "description": "The site the questions are for, when the caller has not pasted an export yet, such as example.com. It is not ranked: the answer says which export to paste, because a ranking needs the searchers' own numbers.",
+ "maxLength": 2048,
+ "minLength": 3,
+ "type": "string"
+}
changedInput schema / properties / rows / description
Previous value: -"The same data as JSON rows, for example {\"query\": \"how do I ...\", \"page\": \"https://example.com/a\", \"impressions\": 120, \"clicks\": 3, \"position\": 8.2}. Up to 5000 rows. Do not pass this together with csv."New value: +"The same data as JSON rows, for example {\"query\": \"how do I ...\", \"page\": \"https://example.com/a\", \"impressions\": 120, \"clicks\": 3, \"position\": 8.2}. The same rows as JSON text are also read. Up to 5000 rows. Do not pass this together with csv or domain."
addedOutput schema / properties / domain
Added value: +{
+ "description": "Only with status needs_export: the site the caller named.",
+ "type": "string"
+}
addedOutput schema / properties / status
Added value: +{
+ "description": "ok: the pasted rows were ranked. needs_export: a domain came without an export, so nothing could be ranked and steps says which export to paste.",
+ "enum": [
+ "ok",
+ "needs_export"
+ ],
+ "type": "string"
+}
changedOutput schema / required
Previous value: -[
- "summary",
- "questions",
- "pages",
- "steps",
- "reminder",
- "source",
- "asOf",
- "notes",
- "notice"
-]New value: +[
+ "status",
+ "summary",
+ "questions",
+ "pages",
+ "steps",
+ "reminder",
+ "source",
+ "asOf",
+ "notes",
+ "notice"
+]