Appearance
UpdateFileInput
Type: Input
Input for updating a file. Only provided fields are changed.
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| category | FileCategory | File category | |
| checksum | String | File checksum | |
| componentId | ComponentID | Associated component ID | |
| estimateId | EstimateID | Associated estimate ID | |
| externalStorageKey | String | Storage key for external-backed files. Cannot be set on a folder-managed file. | |
| invoiceId | InvoiceID | Associated invoice ID | |
| jobId | JobID | Associated job ID | |
| mimeType | String | MIME type | |
| name | String | Display name | |
| orderId | OrderID | Associated order ID | |
| originalFilename | String | Original filename | |
| parentFileId | FileID | Parent file ID for versioned files | |
| processingMetadata | JSONMap | Processing metadata (JSON) | |
| purchaseOrderId | PurchaseOrderID | Associated purchase order ID | |
| sizeBytes | Int | File size in bytes | |
| status | FileStatus | Processing status | |
| uploadedByUserId | UserID | ID of the user uploading the file | |
| usageRole | ComponentFileUsageRole | Usage role when attached to a component | |
| versionNumber | Int | Version number |