| Field | Type | Description |
|---|---|---|
success | Boolean! | Whether restoration was successful |
file | UploadedFile | Restored file info |
error | String | Error message if restoration failed |
id | ID | Upload UUID; null when the mutation failed. |
path | String | Project-relative upload path. |
fileName | String | File name from the upload record. |
contentType | String | Stored MIME type, or null when unspecified. |
sizeBytes | Float | File size in bytes. |
url | String | API URL that serves the upload; access depends on its visibility. |
status | UploadMetadataStatus | pending until the bytes are stored, active when available, or failed. |
visibility | UploadFolderVisibility | Effective visibility of the upload. |
createdAt | DateTime | Creation time, RFC 3339. |
updatedAt | DateTime | Last update time, RFC 3339. |
deletedAt | DateTime | Soft-deletion time, RFC 3339, or null for an upload that is not deleted. |
RestoreUploadPayload
Response type in the GraphQL API.