mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
3.3 KiB
3.3 KiB
openapi.model.AssetResponseDto
Load the model package
import 'package:openapi/api.dart';
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| checksum | String | Base64 encoded SHA1 hash | |
| createdAt | DateTime | The UTC timestamp when the asset was originally uploaded to Immich. | |
| duplicateId | Optional<String?> | Duplicate group ID | [optional] |
| duration | int | Video/gif duration in milliseconds (null for static images) | |
| exifInfo | Optional<ExifResponseDto?> | [optional] | |
| fileCreatedAt | DateTime | The actual UTC timestamp when the file was created/captured, preserving timezone information. This is the authoritative timestamp for chronological sorting within timeline groups. Combined with timezone data, this can be used to determine the exact moment the photo was taken. | |
| fileModifiedAt | DateTime | The UTC timestamp when the file was last modified on the filesystem. This reflects the last time the physical file was changed, which may be different from when the photo was originally taken. | |
| hasMetadata | bool | Whether asset has metadata | |
| height | int | Asset height | |
| id | String | Asset ID | |
| isArchived | bool | Is archived | |
| isEdited | bool | Is edited | |
| isFavorite | bool | Is favorite | |
| isOffline | bool | Is offline | |
| isTrashed | bool | Is trashed | |
| libraryId | Optional<String?> | Library ID | [optional] |
| livePhotoVideoId | Optional<String?> | Live photo video ID | [optional] |
| localDateTime | DateTime | The local date and time when the photo/video was taken, derived from EXIF metadata. This represents the photographer's local time regardless of timezone, stored as a timezone-agnostic timestamp. Used for timeline grouping by "local" days and months. | |
| originalFileName | String | Original file name | |
| originalMimeType | Optional<String?> | Original MIME type | [optional] |
| originalPath | String | Original file path | |
| owner | Optional<UserResponseDto?> | [optional] | |
| ownerId | String | Owner user ID | |
| people | Optional<List?> | [optional] [default to const []] | |
| resized | Optional<bool?> | Is resized | [optional] |
| stack | Optional<AssetStackResponseDto?> | [optional] | |
| tags | Optional<List?> | [optional] [default to const []] | |
| thumbhash | String | Thumbhash for thumbnail generation (base64) also used as the c query param for thumbnail cache busting. | |
| type | AssetTypeEnum | ||
| updatedAt | DateTime | The UTC timestamp when the asset record was last updated in the database. This is automatically maintained by the database and reflects when any field in the asset was last modified. | |
| visibility | AssetVisibility | ||
| width | int | Asset width |