Update changelog

This commit is contained in:
Eugene Burmakin 2024-12-03 16:39:09 +01:00
parent b22a13282e
commit 7bcdff5868
2 changed files with 19 additions and 11 deletions

View file

@ -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).

View file

@ -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 },