mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Update changelog
This commit is contained in:
parent
b22a13282e
commit
7bcdff5868
2 changed files with 19 additions and 11 deletions
19
CHANGELOG.md
19
CHANGELOG.md
|
|
@ -9,6 +9,25 @@ 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:
|
||||
|
||||
```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"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
### 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).
|
||||
|
|
|
|||
|
|
@ -102,17 +102,6 @@ RSpec.describe 'Api::V1::PhotosController', type: :request do
|
|||
items: {
|
||||
type: :object,
|
||||
properties: {
|
||||
# {
|
||||
# id: id,
|
||||
# latitude: latitude,
|
||||
# longitude: longitude,
|
||||
# localDateTime: local_date_time,
|
||||
# originalFileName: original_file_name,
|
||||
# city: city,
|
||||
# state: state,
|
||||
# country: country,
|
||||
# type: type,
|
||||
# source: source
|
||||
id: { type: :string },
|
||||
latitude: { type: :number, format: :float },
|
||||
longitude: { type: :number, format: :float },
|
||||
|
|
|
|||
Loading…
Reference in a new issue