addedInput schema / properties / ids
Added value: +{
+ "description": "2 to 100 threadIds - or with scope message message ids - in place of id, acted on in one call.",
+ "items": {
+ "description": "The provider's own identifier.",
+ "pattern": "^[A-Za-z0-9_=-]{1,512}$",
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 2,
+ "type": "array"
+}
addedOutput schema / properties / threads
Added value: +{
+ "description": "Each thread the call reached, with ids.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "labelIds": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "messages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "done": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "restoredTo": {
+ "type": "string"
+ },
+ "skipped": {
+ "enum": [
+ "sent",
+ "drafts",
+ "deleted",
+ "queued"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "done"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "outcome": {
+ "description": "done, whole; notDone, left as it was, reason saying why; possiblyDone, moved in part - messages saying which were - or asked with no answer back, so it may have moved: read it again with threads_get, or messages_get for a message, before acting on it again.",
+ "enum": [
+ "done",
+ "notDone",
+ "possiblyDone"
+ ],
+ "type": "string"
+ },
+ "reason": {
+ "description": "Why it is not done, as a refusal of the whole call names it.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "outcome"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}