DocumentationAPI reference

Rust · 0.1.0

UploadAttachmentResponse

Application protocol schema. Field names and inherited descriptions are kept in their original language.

Where this schema is used

These links are derived from direct references in the protocol snapshot. Follow the calling operation for authentication, accepted fields and runtime behavior; a reusable resource schema is not by itself a complete write request.

Shape and fields

object

FieldType / requirementDescription
uploadIdstringOpaque ID for subsequent calls. This is not a resource name.
committedSizestringNumber of file bytes committed so far.
attachmentallOf
Attachment
Set once the upload has been finalized.
maxChunkSizeinteger (int32)Maximum number of data bytes accepted in one call.

Complete schema

Use this complete JSON definition for constraints and nested structure. A field's presence here does not mean it is writable by every caller.

{
  "type": "object",
  "properties": {
    "uploadId": {
      "type": "string",
      "description": "Opaque ID for subsequent calls. This is not a resource name."
    },
    "committedSize": {
      "type": "string",
      "description": "Number of file bytes committed so far."
    },
    "attachment": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Attachment"
        }
      ],
      "description": "Set once the upload has been finalized."
    },
    "maxChunkSize": {
      "type": "integer",
      "description": "Maximum number of data bytes accepted in one call.",
      "format": "int32"
    }
  }
}