changedInput schema / oneOf
Previous value: -[
- {
- "required": [
- "content"
- ]
- },
- {
- "required": [
- "contentBase64"
- ]
- }
-]New value: +[
+ {
+ "required": [
+ "content"
+ ]
+ },
+ {
+ "required": [
+ "contentBase64"
+ ]
+ },
+ {
+ "required": [
+ "transfer"
+ ]
+ },
+ {
+ "required": [
+ "file"
+ ]
+ },
+ {
+ "required": [
+ "uploadId"
+ ]
+ }
+]
addedInput schema / properties / expectedRevision
Added value: +{
+ "description": "The revision returned with confirmation_required; never refresh automatically after a conflict.",
+ "minimum": 0,
+ "type": "integer"
+}
addedInput schema / properties / file
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "download_url": {
+ "type": "string"
+ },
+ "file_id": {
+ "type": "string"
+ },
+ "file_name": {
+ "type": "string"
+ },
+ "mime_type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "download_url",
+ "file_id"
+ ],
+ "type": "object"
+}
addedInput schema / properties / overwrite
Added value: +{
+ "description": "Set true only after explicit user approval of the named existing binary and the loss of its prior version. Requires the returned expectedRevision and replacementTarget.",
+ "type": "boolean"
+}
addedInput schema / properties / replacementTarget
Added value: +{
+ "description": "Opaque target precondition returned with confirmation_required; not proof of human consent.",
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+}
addedInput schema / properties / sizeBytes
Added value: +{
+ "maximum": 26214400,
+ "minimum": 1,
+ "type": "integer"
+}
addedInput schema / properties / transfer
Added value: +{
+ "description": "direct prepares raw HTTP upload and requires sizeBytes; web returns a file picker link when automatic transfer is unavailable.",
+ "enum": [
+ "direct",
+ "web"
+ ],
+ "type": "string"
+}
addedInput schema / properties / uploadId
Added value: +{
+ "description": "Check a previous upload after an uncertain transfer; do not start another transfer before checking.",
+ "format": "uuid",
+ "type": "string"
+}
addedOutput schema / properties / expectedRevision
Added value: +{
+ "type": "integer"
+}
addedOutput schema / properties / message
Added value: +{
+ "type": "string"
+}
addedOutput schema / properties / replacementTarget
Added value: +{
+ "type": "string"
+}
removedOutput schema / properties / status / const
Removed value: -"created"
addedOutput schema / properties / status / enum
Added value: +[
+ "created",
+ "replaced",
+ "confirmation_required",
+ "awaiting_upload",
+ "manual_upload_required",
+ "uploading",
+ "failed",
+ "expired"
+]
addedOutput schema / properties / upload
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "expiresInSeconds": {
+ "type": "integer"
+ },
+ "headers": {
+ "additionalProperties": false,
+ "properties": {
+ "Authorization": {
+ "type": "string"
+ },
+ "Content-Type": {
+ "const": "application/octet-stream",
+ "type": "string"
+ }
+ },
+ "required": [
+ "Authorization",
+ "Content-Type"
+ ],
+ "type": "object"
+ },
+ "method": {
+ "const": "POST",
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "method",
+ "headers",
+ "expiresInSeconds"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / uploadId
Added value: +{
+ "type": "string"
+}
addedOutput schema / properties / webUploadUrl
Added value: +{
+ "type": "string"
+}
changedOutput schema / required
Previous value: -[
- "file",
- "status"
-]New value: +[
+ "status"
+]