mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Update changelog
This commit is contained in:
parent
d2bffdf1f1
commit
cabce29ee2
2 changed files with 17 additions and 12 deletions
25
CHANGELOG.md
25
CHANGELOG.md
|
|
@ -9,21 +9,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||
|
||||
## The Photoprism integration release
|
||||
|
||||
⚠️ This release introduces a breaking change. The `GET /api/v1/photos` endpoint now returns following structure of the response:
|
||||
⚠️ This release introduces a breaking change. ⚠️
|
||||
The `GET /api/v1/photos` endpoint now returns following structure of the response:
|
||||
|
||||
```json
|
||||
[
|
||||
{
|
||||
"id": id,
|
||||
"latitude": latitude,
|
||||
"longitude": longitude,
|
||||
"localDateTime": local_date_time,
|
||||
"originalFileName": original_file_name,
|
||||
"city": city,
|
||||
"state": state,
|
||||
"country": country,
|
||||
"type": type, // "image" or "video"
|
||||
"source": source // "photoprism" or "immich"
|
||||
"id": "1",
|
||||
"latitude": "11.22",
|
||||
"longitude": "12.33",
|
||||
"localDateTime": "2024-01-01T00:00:00Z",
|
||||
"originalFileName": "photo.jpg",
|
||||
"city": "Berlin",
|
||||
"state": "Berlin",
|
||||
"country": "Germany",
|
||||
"type": "image", // "image" or "video"
|
||||
"source": "photoprism" // "photoprism" or "immich"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
|
@ -31,7 +32,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||
### Added
|
||||
|
||||
- Photos from Photoprism are now can be shown on the map. To enable this feature, you need to provide your Photoprism instance URL and API key in the Settings page. Then you need to enable "Photos" layer on the map (top right corner).
|
||||
- Geodata is now can be imported from Photoprism to Dawarich.
|
||||
- Geodata is now can be imported from Photoprism to Dawarich. The "Import Photoprism data" button on the Imports page will start the import process.
|
||||
|
||||
# 0.18.2 - 2024-11-29
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# This integration built based on
|
||||
# [September 15, 2024](https://github.com/photoprism/photoprism/releases/tag/240915-e1280b2fb)
|
||||
# release of Photoprism.
|
||||
|
||||
class Photoprism::RequestPhotos
|
||||
attr_reader :user, :photoprism_api_base_url, :photoprism_api_key, :start_date, :end_date
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue