removedInput schema / $defs
Removed value: -{
- "FieldToUpdate": {
- "description": "Single field to update in a document.",
- "properties": {
- "name": {
- "description": "Name of the field to update",
- "type": "string"
- },
- "value": {
- "description": "New value for the field",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "UpdateDocumentFields": {
- "description": "Request model for updating document fields.",
- "properties": {
- "document_id": {
- "description": "ID of the document to update",
- "type": "string"
- },
- "fields": {
- "description": "Array of fields to update with their new values",
- "items": {
- "$ref": "#/$defs/FieldToUpdate"
- },
- "type": "array"
- }
- },
- "required": [
- "document_id",
- "fields"
- ],
- "type": "object"
- }
-}
addedInput schema / additionalProperties
Added value: +false
removedInput schema / properties / update_requests / items / $ref
Removed value: -"#/$defs/UpdateDocumentFields"
addedInput schema / properties / update_requests / items / description
Added value: +"Request model for updating document fields."
addedInput schema / properties / update_requests / items / properties
Added value: +{
+ "document_id": {
+ "description": "ID of the document to update",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Array of fields to update with their new values",
+ "items": {
+ "description": "Single field to update in a document.",
+ "properties": {
+ "name": {
+ "description": "Name of the field to update",
+ "type": "string"
+ },
+ "value": {
+ "description": "New value for the field",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+}
addedInput schema / properties / update_requests / items / required
Added value: +[
+ "document_id",
+ "fields"
+]
addedInput schema / properties / update_requests / items / type
Added value: +"object"
removedOutput schema / $defs
Removed value: -{
- "UpdateDocumentFieldsResult": {
- "description": "Result of updating document fields.",
- "properties": {
- "document_id": {
- "description": "ID of the document that was updated",
- "type": "string"
- },
- "reason": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Reason for failure if updated is false"
- },
- "updated": {
- "description": "Whether the document fields were successfully updated",
- "type": "boolean"
- }
- },
- "required": [
- "document_id",
- "updated"
- ],
- "type": "object"
- }
-}
removedOutput schema / properties / results / items / $ref
Removed value: -"#/$defs/UpdateDocumentFieldsResult"
addedOutput schema / properties / results / items / description
Added value: +"Result of updating document fields."
addedOutput schema / properties / results / items / properties
Added value: +{
+ "document_id": {
+ "description": "ID of the document that was updated",
+ "type": "string"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Reason for failure if updated is false"
+ },
+ "updated": {
+ "description": "Whether the document fields were successfully updated",
+ "type": "boolean"
+ }
+}
addedOutput schema / properties / results / items / required
Added value: +[
+ "document_id",
+ "updated"
+]
addedOutput schema / properties / results / items / type
Added value: +"object"