1.1 KiB
1.1 KiB
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| immich_activity Resource - terraform-provider-immich | Manages an Immich activity (comment or like). |
immich_activity (Resource)
Manages an Immich activity (comment or like).
Example Usage
resource "immich_activity" "album_comment" {
album_id = "your-album-uuid"
type = "comment"
comment = "This is a great album!"
}
resource "immich_activity" "asset_like" {
album_id = "your-album-uuid"
asset_id = "your-asset-uuid"
type = "like"
}
Schema
Required
album_id(String) ID of the album.type(String) Type of activity (comment or like).
Optional
asset_id(String) ID of the asset.comment(String) Comment text (required for type 'comment').
Read-Only
created_at(String) Timestamp when the activity was created.id(String) Unique identifier for the activity.user_id(String) ID of the user who performed the activity.