{"openapi":"3.1.0","info":{"title":"Augenblick!","description":"Folder-based photo library. Sign in with the browser.","version":"2026.11.83"},"paths":{"/api/version":{"get":{"tags":["system"],"summary":"Version","operationId":"version_api_version_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_api_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Login"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/setup":{"get":{"tags":["auth"],"summary":"Setup State","description":"Is this a fresh installation without any account? Then the first administrator is created here.","operationId":"setup_state_api_setup_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["auth"],"summary":"Setup","description":"Create the first administrator – only while there is no account, and only from the home network.","operationId":"setup_api_setup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/logout":{"post":{"tags":["auth"],"summary":"Logout","operationId":"logout_api_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me":{"get":{"tags":["auth"],"summary":"Me","operationId":"me_api_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me/prefs":{"get":{"tags":["auth"],"summary":"My Prefs","operationId":"my_prefs_api_me_prefs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["auth"],"summary":"Put My Prefs","description":"What follows the account from device to device: the language of the interface.","operationId":"put_my_prefs_api_me_prefs_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TreePrefs"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/password":{"post":{"tags":["auth"],"summary":"Change Own Password","operationId":"change_own_password_api_me_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/sessions":{"get":{"tags":["auth"],"summary":"My Sessions","description":"The devices this account is signed in on.","operationId":"my_sessions_api_me_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me/sessions/{session_id}":{"delete":{"tags":["auth"],"summary":"End Session","operationId":"end_session_api_me_sessions__session_id__delete","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/sessions/others":{"post":{"tags":["auth"],"summary":"End Other Sessions","operationId":"end_other_sessions_api_me_sessions_others_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me/totp/setup":{"post":{"tags":["auth"],"summary":"Totp Setup","operationId":"totp_setup_api_me_totp_setup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordConfirm"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/totp/enable":{"post":{"tags":["auth"],"summary":"Totp Enable","operationId":"totp_enable_api_me_totp_enable_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/totp/disable":{"post":{"tags":["auth"],"summary":"Totp Disable","operationId":"totp_disable_api_me_totp_disable_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TotpOff"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/totp/recovery":{"post":{"tags":["auth"],"summary":"Totp Recovery","operationId":"totp_recovery_api_me_totp_recovery_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/security":{"get":{"tags":["security"],"summary":"Get Security","operationId":"get_security_api_security_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["security"],"summary":"Put Security","operationId":"put_security_api_security_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityChange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/security/api-keys":{"get":{"tags":["security"],"summary":"List Api Keys","description":"All API keys with name, right and when they were made and last used – never the key itself.","operationId":"list_api_keys_api_security_api_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["security"],"summary":"New Api Key","description":"A new key. ``token`` is in this answer only – it is stored as a hash and cannot be shown again.","operationId":"new_api_key_api_security_api_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/security/api-keys/{key_id}":{"patch":{"tags":["security"],"summary":"Change Api Key","operationId":"change_api_key_api_security_api_keys__key_id__patch","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["security"],"summary":"Delete Api Key","operationId":"delete_api_key_api_security_api_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/security/api-keys/{key_id}/renew":{"post":{"tags":["security"],"summary":"Renew Api Key","description":"Same name and right, new secret; the old secret stops working at once.","operationId":"renew_api_key_api_security_api_keys__key_id__renew_post","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/security/test":{"post":{"tags":["security"],"summary":"Test Security","operationId":"test_security_api_security_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/status":{"get":{"tags":["system"],"summary":"Status","operationId":"status_api_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/update":{"get":{"tags":["system"],"summary":"Get Update","description":"Update check (version.worldgate.de): installed and newest version. Only admins see the details.","operationId":"get_update_api_update_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["system"],"summary":"Put Update","operationId":"put_update_api_update_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSwitch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/update/check":{"post":{"tags":["system"],"summary":"Check Update","operationId":"check_update_api_update_check_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/rescan":{"post":{"tags":["system"],"summary":"Rescan","operationId":"rescan_api_rescan_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/areas":{"get":{"tags":["photos"],"summary":"Areas","operationId":"areas_api_areas_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["photos"],"summary":"Area Create","description":"A new area: a folder directly below the photos that belongs to nobody yet. Who may see it\nor write there is set per user.","operationId":"area_create_api_areas_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AreaIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/areas/{name}":{"patch":{"tags":["photos"],"summary":"Area Change","description":"Whether the pictures of an area need a place and a date. Changes no file.","operationId":"area_change_api_areas__name__patch","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AreaOptions"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["photos"],"summary":"Area Delete","description":"Remove an area – only while there is no file in it, the bin included.","operationId":"area_delete_api_areas__name__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tree":{"get":{"tags":["photos"],"summary":"Tree","operationId":"tree_api_tree_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"comma-separated areas","title":"Areas"},"description":"comma-separated areas"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/albums":{"get":{"tags":["photos"],"summary":"Albums","description":"The albums – they are written in the photos themselves, this is only the overview.","operationId":"albums_api_albums_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auto":{"get":{"tags":["photos"],"summary":"Auto Albums","description":"The albums that fill themselves: films, Live Photos, panoramas, favourites, this day in other years.","operationId":"auto_albums_api_auto_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/places":{"get":{"tags":["photos"],"summary":"Places","description":"For the map: the photos with a place, as short rows [key, lat, lon, month, orientation].","operationId":"places_api_places_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}},{"name":"folder","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"default":"","title":"Folder"}},{"name":"recursive","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Recursive"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Q"}},{"name":"camera","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Camera"}},{"name":"creator","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Creator"}},{"name":"no_place","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"No Place"}},{"name":"no_date","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"No Date"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","pattern":"^(image|video|)$","default":"","title":"Kind"}},{"name":"misfit","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Misfit"}},{"name":"album","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"default":"","title":"Album"}},{"name":"person","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Person"}},{"name":"country","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Country"}},{"name":"city","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"City"}},{"name":"auto","in":"query","required":false,"schema":{"type":"string","maxLength":20,"default":"","title":"Auto"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","pattern":"^(\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d)?$","default":"","title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"type":"string","pattern":"^(\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d)?$","default":"","title":"Until"}},{"name":"keys","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"pattern":"^[0-9a-f,-]*$","default":"","title":"Keys"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/placenames":{"get":{"tags":["photos"],"summary":"Place Names","description":"The countries and towns the photos were taken in – worked out from the coordinates on this machine.","operationId":"place_names_api_placenames_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/creators":{"get":{"tags":["photos"],"summary":"Creators","description":"Who took the pictures, as the files say it – with how many each.","operationId":"creators_api_creators_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/cameras":{"get":{"tags":["photos"],"summary":"Cameras","operationId":"cameras_api_cameras_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/timeline":{"get":{"tags":["photos"],"summary":"Timeline","description":"The months that have photos, newest first, with how many.","operationId":"timeline_api_timeline_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}},{"name":"folder","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"default":"","title":"Folder"}},{"name":"recursive","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Recursive"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Q"}},{"name":"camera","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Camera"}},{"name":"creator","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Creator"}},{"name":"no_place","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"No Place"}},{"name":"no_date","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"No Date"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","pattern":"^(image|video|)$","default":"","title":"Kind"}},{"name":"misfit","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Misfit"}},{"name":"album","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"default":"","title":"Album"}},{"name":"person","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Person"}},{"name":"country","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Country"}},{"name":"city","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"City"}},{"name":"auto","in":"query","required":false,"schema":{"type":"string","maxLength":20,"default":"","title":"Auto"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","pattern":"^(\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d)?$","default":"","title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"type":"string","pattern":"^(\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d)?$","default":"","title":"Until"}},{"name":"keys","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"pattern":"^[0-9a-f,-]*$","default":"","title":"Keys"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/photos":{"get":{"tags":["photos"],"summary":"Photos","operationId":"photos_api_photos_get","parameters":[{"name":"month","in":"query","required":true,"schema":{"type":"string","description":"YYYY-MM","title":"Month"},"description":"YYYY-MM"},{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}},{"name":"folder","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"default":"","title":"Folder"}},{"name":"recursive","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Recursive"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Q"}},{"name":"camera","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Camera"}},{"name":"creator","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Creator"}},{"name":"no_place","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"No Place"}},{"name":"no_date","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"No Date"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","pattern":"^(image|video|)$","default":"","title":"Kind"}},{"name":"misfit","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Misfit"}},{"name":"album","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"default":"","title":"Album"}},{"name":"person","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Person"}},{"name":"country","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Country"}},{"name":"city","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"City"}},{"name":"auto","in":"query","required":false,"schema":{"type":"string","maxLength":20,"default":"","title":"Auto"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","pattern":"^(\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d)?$","default":"","title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"type":"string","pattern":"^(\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d)?$","default":"","title":"Until"}},{"name":"keys","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"pattern":"^[0-9a-f,-]*$","default":"","title":"Keys"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/start":{"get":{"tags":["photos"],"summary":"Start Page","description":"What the start page shows: the pictures that came in last, and the albums pinned to it.","operationId":"start_page_api_start_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":24,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sequence":{"get":{"tags":["photos"],"summary":"Sequence","description":"Everything a choice holds in one list, oldest first – for looking at it picture by picture.","operationId":"sequence_api_sequence_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}},{"name":"folder","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"default":"","title":"Folder"}},{"name":"recursive","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Recursive"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Q"}},{"name":"camera","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Camera"}},{"name":"creator","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Creator"}},{"name":"no_place","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"No Place"}},{"name":"no_date","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"No Date"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","pattern":"^(image|video|)$","default":"","title":"Kind"}},{"name":"misfit","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Misfit"}},{"name":"album","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"default":"","title":"Album"}},{"name":"person","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Person"}},{"name":"country","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Country"}},{"name":"city","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"City"}},{"name":"auto","in":"query","required":false,"schema":{"type":"string","maxLength":20,"default":"","title":"Auto"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","pattern":"^(\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d)?$","default":"","title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"type":"string","pattern":"^(\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d)?$","default":"","title":"Until"}},{"name":"keys","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"pattern":"^[0-9a-f,-]*$","default":"","title":"Keys"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/photos/{key}":{"get":{"tags":["photos"],"summary":"Photo","operationId":"photo_api_photos__key__get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["changes"],"summary":"Change Photo","description":"Write date, place, description, keywords or rating into the photo itself.","operationId":"change_photo_api_photos__key__patch","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Change"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["trash"],"summary":"Delete Photo","description":"Move the photo into the trash of its area.","operationId":"delete_photo_api_photos__key__delete","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/photos/{key}/thumb":{"get":{"tags":["photos"],"summary":"Photo Thumb","operationId":"photo_thumb_api_photos__key__thumb_get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/photos/{key}/preview":{"get":{"tags":["photos"],"summary":"Photo Preview","operationId":"photo_preview_api_photos__key__preview_get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/photos/{key}/file":{"get":{"tags":["photos"],"summary":"Photo File","description":"The original, untouched.","operationId":"photo_file_api_photos__key__file_get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"download","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Download"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/photos/{key}/develop/preview":{"post":{"tags":["changes"],"summary":"Develop Preview","description":"How the picture would look – worked out from the preview of the original, not cut yet, so\nthe cut can be shown on it. Nothing is written.","operationId":"develop_preview_api_photos__key__develop_preview_post","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Recipe"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/photos/{key}/develop":{"post":{"tags":["changes"],"summary":"Develop Photo","description":"Cut, set straight, light and colours: saved as a new picture; the original stays, behind it.","operationId":"develop_photo_api_photos__key__develop_post","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Recipe"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["changes"],"summary":"Develop Discard","description":"Back to the original: the picture made from it goes to the trash.","operationId":"develop_discard_api_photos__key__develop_delete","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/photos/{key}/rotate":{"post":{"tags":["changes"],"summary":"Turn Photo","description":"Turn clockwise – without loss where the picture allows it, otherwise by the orientation tag.","operationId":"turn_photo_api_photos__key__rotate_post","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Turn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/edit":{"post":{"tags":["changes"],"summary":"Change Many","operationId":"change_many_api_edit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManyChange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rotate":{"post":{"tags":["changes"],"summary":"Turn Many","operationId":"turn_many_api_rotate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManyTurn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/journal":{"get":{"tags":["changes"],"summary":"Journal List","description":"What was changed, newest first.","operationId":"journal_list_api_journal_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Before"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/journal/{entry}/undo":{"post":{"tags":["changes"],"summary":"Journal Undo","description":"Take a change back – possible while the file is still what that change left behind.","operationId":"journal_undo_api_journal__entry__undo_post","parameters":[{"name":"entry","in":"path","required":true,"schema":{"type":"integer","title":"Entry"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/people":{"get":{"tags":["people"],"summary":"People List","description":"Who is named on the photos – the names stand in the photos themselves, this is the overview.\n`face` is the found face that stands for the person in lists (its picture: /api/faces/{face}/thumb).","operationId":"people_list_api_people_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/spots":{"get":{"tags":["changes"],"summary":"Spots","description":"The places one picks again and again – home, the parents, the holiday flat.","operationId":"spots_api_spots_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["changes"],"summary":"Save Spots","description":"Replace the list of fixed places. Nothing is written to a photo.","operationId":"save_spots_api_spots_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpotsIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/people/cover":{"put":{"tags":["people"],"summary":"Person Cover","description":"Choose the face that stands for a person in the list. Nothing is written to a photo.","operationId":"person_cover_api_people_cover_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cover"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/people/rename":{"post":{"tags":["people"],"summary":"Rename Person","description":"Give somebody another name in every photo – with a name that exists, the two become one.\n\nRuns as a long job; every photo changed stands in the journal and can be taken back.","operationId":"rename_person_api_people_rename_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonRename"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/immich/preview":{"post":{"tags":["people"],"summary":"Immich Preview","description":"Ask Immich whom it knows by name and on which pictures, and find those pictures here.\nNothing is written, here or there; address and key are kept in memory only, for the import.","operationId":"immich_preview_api_immich_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImmichSource"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/immich/import":{"post":{"tags":["people"],"summary":"Immich Import","description":"Write what the preview showed: each face Immich has a name for becomes a named region in\nthe photo. A long job; every photo stands in the journal and can be taken back.","operationId":"immich_import_api_immich_import_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImmichImport"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/photos/{key}/faces":{"get":{"tags":["people"],"summary":"Photo Faces","description":"The faces on a photo: those marked in the file and those found beside them, with a proposed\nname where one looks like somebody already named. Boxes are centre, width and height as\nfractions of the upright picture.","operationId":"photo_faces_api_photos__key__faces_get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["people"],"summary":"Name Face","description":"Write a name on a face into the photo itself – or take it away with an empty name.\nA box where no face is marked yet makes a new mark: that is how a face is drawn by hand.","operationId":"name_face_api_photos__key__faces_put","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaceName"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/faces":{"get":{"tags":["people"],"summary":"Faces Status","description":"Where the search for faces is on, and how far it is.","operationId":"faces_status_api_faces_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["people"],"summary":"Faces Switch","description":"Switch the search for faces on or off, area by area. It runs in the background and only\nreads. What was found in an area switched off is forgotten; names in the photos stay.","operationId":"faces_switch_api_faces_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaceSearch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/faces/groups":{"get":{"tags":["people"],"summary":"Face Groups","description":"Faces without a name, bundled by likeness, with a proposed name where there is one.\n`stale`: an answer worked out up to so many seconds ago will do – quick while names are being written.","operationId":"face_groups_api_faces_groups_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":40,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"shown","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":0,"default":60,"title":"Shown"}},{"name":"stale","in":"query","required":false,"schema":{"type":"number","maximum":900,"minimum":0,"default":0,"title":"Stale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/faces/twins":{"get":{"tags":["people"],"summary":"Face Twins","description":"Faces without a name in a second copy of a photo whose first copy names them.","operationId":"face_twins_api_faces_twins_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}},{"name":"stale","in":"query","required":false,"schema":{"type":"number","maximum":900,"minimum":0,"default":0,"title":"Stale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/faces/doubles":{"get":{"tags":["people"],"summary":"Face Doubles","description":"Named faces whose name stands twice in their picture – one of the two is wrong.","operationId":"face_doubles_api_faces_doubles_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}},{"name":"stale","in":"query","required":false,"schema":{"type":"number","maximum":900,"minimum":0,"default":0,"title":"Stale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/faces/groups/{group}":{"get":{"tags":["people"],"summary":"Face Group","description":"One bundle of faces without a name, the first `limit` of them.","operationId":"face_group_api_faces_groups__group__get","parameters":[{"name":"group","in":"path","required":true,"schema":{"type":"integer","title":"Group"}},{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":1,"default":120,"title":"Limit"}},{"name":"stale","in":"query","required":false,"schema":{"type":"number","maximum":900,"minimum":0,"default":0,"title":"Stale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/faces/{entry}/thumb":{"get":{"tags":["people"],"summary":"Face Thumb","operationId":"face_thumb_api_faces__entry__thumb_get","parameters":[{"name":"entry","in":"path","required":true,"schema":{"type":"integer","title":"Entry"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/faces/name":{"post":{"tags":["people"],"summary":"Name Faces","description":"Confirm a name for found faces: it is written into every photo that holds one of them.","operationId":"name_faces_api_faces_name_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FacesNamed"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/faces/unname":{"post":{"tags":["people"],"summary":"Unname Faces","description":"Take the name off found faces again – in the photo itself, to be taken back like every change.\nThe faces stand among the unnamed ones afterwards.","operationId":"unname_faces_api_faces_unname_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FacesUnnamed"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/faces/ignore":{"post":{"tags":["people"],"summary":"Ignore Faces","description":"Wave found faces away – strangers, statues, posters – or bring them back. Nothing is\nwritten to a photo, so this also works while the photos are read-only; it takes the right\nto write in the area all the same.","operationId":"ignore_faces_api_faces_ignore_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FacesIgnored"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/faces/ignored":{"get":{"tags":["people"],"summary":"Ignored Faces","description":"The faces waved away, the latest first, each once.","operationId":"ignored_faces_api_faces_ignored_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"default":120,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["people"],"summary":"Restore Faces","description":"Bring every face waved away back among those waiting for a name.","operationId":"restore_faces_api_faces_ignored_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/jobs":{"get":{"tags":["system"],"summary":"Jobs","description":"Everything that works in the background, and how far it is.","operationId":"jobs_api_jobs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/faces/search":{"post":{"tags":["people"],"summary":"Search Faces Now","description":"Wake the search for faces – it looks at every picture it has not seen yet.","operationId":"search_faces_now_api_faces_search_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/faces/no-face":{"get":{"tags":["people"],"summary":"No Faces","description":"What the AI took for no face at all – a proposal for waving away, nothing more – and how\nmany faces among the strangers nobody has judged yet.","operationId":"no_faces_api_faces_no_face_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"default":120,"title":"Limit"}},{"name":"stale","in":"query","required":false,"schema":{"type":"number","maximum":900,"minimum":0,"default":0,"title":"Stale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/faces/no-face/check":{"post":{"tags":["people"],"summary":"Check Faces","description":"Ask the AI about the faces among the strangers nobody has judged yet: a face or not?\nOnly the small cut-outs are sent, twenty a question. It costs money; nothing is written\nto a photo and nothing is waved away by itself.","operationId":"check_faces_api_faces_no_face_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaceCheck"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/faces/no-face/keep":{"post":{"tags":["people"],"summary":"Keep Faces","description":"These are faces after all: take them out of the AI's list. Nothing is written to a photo.","operationId":"keep_faces_api_faces_no_face_keep_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FacesIgnored"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/dupes/search":{"post":{"tags":["dupes"],"summary":"Search Dupes","description":"Look at every picture not looked at yet, so that copies can be found. Only reads.","operationId":"search_dupes_api_dupes_search_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/dupes":{"get":{"tags":["dupes"],"summary":"List Dupes","description":"Pictures that are there more than once – the same data in two files, or the same picture\nsaved again in another size or quality; with level \"alike\" also shots of the same thing.\nThe first file of each bundle is the one worth keeping.","operationId":"list_dupes_api_dupes_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}},{"name":"level","in":"query","required":false,"schema":{"enum":["copies","alike"],"type":"string","default":"copies","title":"Level"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":0,"default":30,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/dupes/apart":{"post":{"tags":["dupes"],"summary":"Dupes Apart","description":"These look alike but are different pictures: do not bundle them again. Nothing is written to a photo.","operationId":"dupes_apart_api_dupes_apart_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Apart"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/dupes/resolve":{"post":{"tags":["dupes"],"summary":"Resolve Dupes","description":"Keep one file of a picture and move the others to the trash. With `merge`, what only the\nothers know – albums, keywords, names of people, description, rating, place – is written into\nthe one that stays first; if that fails, nothing is moved.","operationId":"resolve_dupes_api_dupes_resolve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resolve"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/dupes/resolve-all":{"post":{"tags":["dupes"],"summary":"Resolve All Dupes","description":"Every copy at once, as a long job: of each picture that is there more than once the\nbiggest file stays, the others go to the trash. Only for copies that are sure – the same\ndata or another size –, never for shots that are merely alike. A bundle whose details cannot be carried over is left as it is.","operationId":"resolve_all_dupes_api_dupes_resolve_all_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveAll"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/job/stop":{"post":{"tags":["system"],"summary":"Stop Job","description":"Break off the long job that is running. What it has done so far stays.","operationId":"stop_job_api_job_stop_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/job/seen":{"post":{"tags":["system"],"summary":"Job Seen","description":"The pictures the last job left alone have been looked at: take them off the list.\nThe count in the summary stays.","operationId":"job_seen_api_job_seen_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/job":{"get":{"tags":["system"],"summary":"Job State","operationId":"job_state_api_job_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/albums/from-folder":{"post":{"tags":["changes"],"summary":"Folder To Album","description":"Write into every picture of a folder which folder it lies in – as an album.\n\nAfterwards the folder is no longer needed to know what belongs together.","operationId":"folder_to_album_api_albums_from_folder_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderToAlbum"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sorting":{"get":{"tags":["sorting"],"summary":"Get Sorting","description":"The rules that say where photos belong and what they are called.","operationId":"get_sorting_api_sorting_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["sorting"],"summary":"Put Sorting","operationId":"put_sorting_api_sorting_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SortingChange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/folders":{"post":{"tags":["sorting"],"summary":"Folder Create","description":"A new, empty folder inside an area – a place to move photos to.","operationId":"folder_create_api_folders_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["sorting"],"summary":"Folder Delete","description":"Remove a folder – only an empty one; the area itself is removed in the settings.","operationId":"folder_delete_api_folders_delete","parameters":[{"name":"path","in":"query","required":true,"schema":{"type":"string","maxLength":1000,"title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/move":{"post":{"tags":["sorting"],"summary":"Move Many","description":"Hand the chosen photos over to another area – from an inbox into the library, say. They land\nwhere that area's rule wants them, else in its top folder. Needs write access on both sides.","operationId":"move_many_api_move_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManyMove"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sort":{"post":{"tags":["sorting"],"summary":"Sort Many","description":"Put the chosen photos where the rules want them.","operationId":"sort_many_api_sort_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Many"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sort/preview":{"get":{"tags":["sorting"],"summary":"Sort Preview","description":"What sorting would do: old place -> new place, for the photos that do not fit.","operationId":"sort_preview_api_sort_preview_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"folder","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"default":"","title":"Folder"}},{"name":"recursive","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Recursive"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Q"}},{"name":"camera","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Camera"}},{"name":"creator","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Creator"}},{"name":"no_place","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"No Place"}},{"name":"no_date","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"No Date"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","pattern":"^(image|video|)$","default":"","title":"Kind"}},{"name":"misfit","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Misfit"}},{"name":"album","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"default":"","title":"Album"}},{"name":"person","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Person"}},{"name":"country","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Country"}},{"name":"city","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"City"}},{"name":"auto","in":"query","required":false,"schema":{"type":"string","maxLength":20,"default":"","title":"Auto"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","pattern":"^(\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d)?$","default":"","title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"type":"string","pattern":"^(\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d)?$","default":"","title":"Until"}},{"name":"keys","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"pattern":"^[0-9a-f,-]*$","default":"","title":"Keys"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sort/all":{"post":{"tags":["sorting"],"summary":"Sort All","description":"Sort a portion of everything that does not fit; call again until nothing is left.","operationId":"sort_all_api_sort_all_post","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}},{"name":"batch","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{6,32}$"},{"type":"null"}],"title":"Batch"}},{"name":"folder","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"default":"","title":"Folder"}},{"name":"recursive","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Recursive"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Q"}},{"name":"camera","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Camera"}},{"name":"creator","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Creator"}},{"name":"no_place","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"No Place"}},{"name":"no_date","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"No Date"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","pattern":"^(image|video|)$","default":"","title":"Kind"}},{"name":"misfit","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Misfit"}},{"name":"album","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"default":"","title":"Album"}},{"name":"person","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Person"}},{"name":"country","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Country"}},{"name":"city","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"City"}},{"name":"auto","in":"query","required":false,"schema":{"type":"string","maxLength":20,"default":"","title":"Auto"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","pattern":"^(\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d)?$","default":"","title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"type":"string","pattern":"^(\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d)?$","default":"","title":"Until"}},{"name":"keys","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"pattern":"^[0-9a-f,-]*$","default":"","title":"Keys"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai":{"get":{"tags":["ai"],"summary":"Get Ai","operationId":"get_ai_api_ai_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["ai"],"summary":"Put Ai","operationId":"put_ai_api_ai_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIChange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/models":{"get":{"tags":["ai"],"summary":"Ai Models","description":"The models the chosen provider offers.","operationId":"ai_models_api_ai_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/ai/test":{"post":{"tags":["ai"],"summary":"Ai Test","description":"A tiny question to see whether provider, key and model work.","operationId":"ai_test_api_ai_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/ai/prompts":{"get":{"tags":["ai"],"summary":"Ai Prompts","description":"What \"KI fragen\" offers: is it on, which instructions are there.","operationId":"ai_prompts_api_ai_prompts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/memories":{"get":{"tags":["photos"],"summary":"List Memories","description":"Journeys and looks back, found in the photos: each a stretch of time with a few pictures\nthat stand for it. Nothing is stored for them.","operationId":"list_memories_api_memories_get","parameters":[{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/memories/{memory}/ai":{"post":{"tags":["ai"],"summary":"Name Memory","description":"Let the AI look at the pictures that stand for a memory: it gives a title, a sentence and\nsays which picture should be the cover. Kept in the data folder, not in any photo.","operationId":"name_memory_api_memories__memory__ai_post","parameters":[{"name":"memory","in":"path","required":true,"schema":{"type":"string","title":"Memory"}},{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["ai"],"summary":"Unname Memory","description":"Forget what the AI said about a memory: it is called what was found again.","operationId":"unname_memory_api_memories__memory__ai_delete","parameters":[{"name":"memory","in":"path","required":true,"schema":{"type":"string","title":"Memory"}},{"name":"areas","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Areas"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/photos/{key}/ai":{"post":{"tags":["ai"],"summary":"Ask Ai","description":"Let the AI look at the photo and propose description, keywords and – for undated ones – a date.\n\nNothing is written; the proposal goes back to the person, who decides.","operationId":"ask_ai_api_photos__key__ai_post","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskAI"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/stock":{"get":{"tags":["ai"],"summary":"Ai Stock","description":"How many pictures still wait for keywords, and roughly what looking at them costs.","operationId":"ai_stock_api_ai_stock_get","parameters":[{"name":"model","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Model"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["ai"],"summary":"Ai Stock Run","description":"Let the AI look at every picture without keywords and write what it finds into the picture.","operationId":"ai_stock_run_api_ai_stock_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StockRun"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inbox/proposals":{"get":{"tags":["inbox"],"summary":"Inbox Proposals","description":"How far the AI is with the inbox: waiting, done, and whether it looks by itself.","operationId":"inbox_proposals_api_inbox_proposals_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["inbox"],"summary":"Inbox Want","description":"Put chosen pictures of the inbox in line for the AI; it looks at them shortly after.","operationId":"inbox_want_api_inbox_proposals_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboxPropose"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/photos/{key}/proposal":{"delete":{"tags":["inbox"],"summary":"Drop Proposal","description":"Throw away what the AI proposed for this picture; it is not asked again by itself.","operationId":"drop_proposal_api_photos__key__proposal_delete","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inbox/accept":{"post":{"tags":["inbox"],"summary":"Inbox Accept","description":"Write what the AI proposed into the pictures – the keywords added to those there, the\ndescription where there is none yet – and hand them on to another area, where its rule wants\nthem. For one picture, the person's own choice can be given instead of the stored proposal.","operationId":"inbox_accept_api_inbox_accept_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboxAccept"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/delete":{"post":{"tags":["trash"],"summary":"Delete Many","operationId":"delete_many_api_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Many"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/trash":{"get":{"tags":["trash"],"summary":"Trash List","operationId":"trash_list_api_trash_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/trash/{entry}/thumb":{"get":{"tags":["trash"],"summary":"Trash Thumb","operationId":"trash_thumb_api_trash__entry__thumb_get","parameters":[{"name":"entry","in":"path","required":true,"schema":{"type":"integer","title":"Entry"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/trash/{entry}/restore":{"post":{"tags":["trash"],"summary":"Trash Restore","description":"Put the photo back where it was.","operationId":"trash_restore_api_trash__entry__restore_post","parameters":[{"name":"entry","in":"path","required":true,"schema":{"type":"integer","title":"Entry"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/trash/{entry}":{"delete":{"tags":["trash"],"summary":"Trash Destroy","description":"Remove the photo for good. This cannot be taken back.","operationId":"trash_destroy_api_trash__entry__delete","parameters":[{"name":"entry","in":"path","required":true,"schema":{"type":"integer","title":"Entry"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/trash/empty":{"post":{"tags":["trash"],"summary":"Trash Empty","description":"Remove everything in the trash of the areas this person may write to.","operationId":"trash_empty_api_trash_empty_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/trash/settings":{"put":{"tags":["trash"],"summary":"Trash Settings","operationId":"trash_settings_api_trash_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrashPrefs"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users":{"get":{"tags":["users"],"summary":"List Users","operationId":"list_users_api_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["users"],"summary":"Create User","operationId":"create_user_api_users_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUser"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/{name}":{"patch":{"tags":["users"],"summary":"Update User","operationId":"update_user_api_users__name__patch","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["users"],"summary":"Delete User","operationId":"delete_user_api_users__name__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mcp/settings":{"get":{"tags":["mcp"],"summary":"Get Mcp","description":"Whether the MCP endpoint for AI assistants is on – off in a fresh installation.","operationId":"get_mcp_api_mcp_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["mcp"],"summary":"Put Mcp","operationId":"put_mcp_api_mcp_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpSwitch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mcp":{"post":{"tags":["mcp"],"summary":"Mcp","description":"Model Context Protocol over HTTP: JSON-RPC in, JSON out. Connect an assistant to this address.\n\nOff in a fresh installation; an administrator turns it on under Settings → AI.","operationId":"mcp_api_mcp_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/upload":{"get":{"tags":["upload"],"summary":"Get Upload","description":"The WebDAV door for photo backup apps: where uploads land and whether a key exists.","operationId":"get_upload_api_upload_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["upload"],"summary":"Put Upload","operationId":"put_upload_api_upload_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/upload/keys":{"post":{"tags":["upload"],"summary":"Add Upload Key","description":"One more upload key – for another phone or another person. Shown this once, only its hash is\nkept. It opens nothing but the upload door, into the usual area or the one named here.","operationId":"add_upload_key_api_upload_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadKeyIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/upload/keys/{key_id}":{"patch":{"tags":["upload"],"summary":"Change Upload Key","description":"Another name for a key, or another area it leads into ('' = the usual one).","operationId":"change_upload_key_api_upload_keys__key_id__patch","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadKeyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["upload"],"summary":"Delete One Upload Key","operationId":"delete_one_upload_key_api_upload_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/upload/keys/{key_id}/renew":{"post":{"tags":["upload"],"summary":"Renew Upload Key","description":"A new key in place of this one, which stops working at once.","operationId":"renew_upload_key_api_upload_keys__key_id__renew_post","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/upload/key":{"post":{"tags":["upload"],"summary":"New Upload Key","description":"As it was with one key: a new key in place of the first one, or the first one.","operationId":"new_upload_key_api_upload_key_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"delete":{"tags":["upload"],"summary":"Delete Upload Key","description":"Take every upload key away.","operationId":"delete_upload_key_api_upload_key_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AIChange":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"provider":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Provider"},"model":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Model"},"api_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Api Key"},"clear_key":{"type":"boolean","title":"Clear Key","default":false},"base_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Base Url"},"monthly_limit_usd":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Monthly Limit Usd"},"excluded_areas":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Excluded Areas"},"prompts":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Prompts"},"default_prompt":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Default Prompt"},"memories":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Memories"},"inbox_auto":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Inbox Auto"}},"type":"object","title":"AIChange"},"Apart":{"properties":{"id":{"type":"string","maxLength":200,"title":"Id","description":"the bundle, as the list of copies names it"},"level":{"type":"string","enum":["copies","alike"],"title":"Level","default":"copies"}},"type":"object","required":["id"],"title":"Apart"},"ApiKeyChange":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Name"},"right":{"anyOf":[{"type":"string","pattern":"^(read|write)$"},{"type":"null"}],"title":"Right"}},"type":"object","title":"ApiKeyChange"},"ApiKeyIn":{"properties":{"name":{"type":"string","maxLength":60,"title":"Name"},"right":{"type":"string","pattern":"^(read|write)$","title":"Right","description":"write: as an administrator; read: only look","default":"write"}},"type":"object","required":["name"],"title":"ApiKeyIn"},"AreaIn":{"properties":{"name":{"type":"string","maxLength":40,"title":"Name"},"places":{"type":"boolean","title":"Places","default":true},"dates":{"type":"boolean","title":"Dates","default":true}},"type":"object","required":["name"],"title":"AreaIn"},"AreaOptions":{"properties":{"places":{"type":"boolean","title":"Places","default":true},"dates":{"type":"boolean","title":"Dates","default":true}},"type":"object","title":"AreaOptions"},"AskAI":{"properties":{"prompt":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Prompt","description":"name of a stored instruction"},"instructions":{"anyOf":[{"type":"string","maxLength":6000},{"type":"null"}],"title":"Instructions","description":"a one-off instruction instead"}},"type":"object","title":"AskAI"},"Change":{"properties":{"taken":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d(:\\d\\d)?$"},{"type":"null"}],"title":"Taken","description":"local time"},"shift":{"anyOf":[{"type":"integer","maximum":3200000000.0,"minimum":-3200000000.0},{"type":"null"}],"title":"Shift","description":"move the date by seconds"},"lat":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Lat"},"lon":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Lon"},"clear_place":{"type":"boolean","title":"Clear Place","default":false},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":200},{"type":"null"}],"title":"Keywords"},"add_keywords":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":200},{"type":"null"}],"title":"Add Keywords"},"remove_keywords":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":200},{"type":"null"}],"title":"Remove Keywords"},"rating":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":0.0},{"type":"null"}],"title":"Rating"},"creator":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Creator","description":"who took the picture; '' takes the name away"},"albums":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":100},{"type":"null"}],"title":"Albums","description":"album paths like Urlaub/USA 2010"},"add_albums":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":100},{"type":"null"}],"title":"Add Albums"},"remove_albums":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":100},{"type":"null"}],"title":"Remove Albums"}},"type":"object","title":"Change","description":"What to write into a photo. Fields left out stay as they are."},"CodeIn":{"properties":{"code":{"type":"string","maxLength":20,"title":"Code"}},"type":"object","required":["code"],"title":"CodeIn"},"Cover":{"properties":{"name":{"type":"string","maxLength":100,"title":"Name"},"face":{"type":"integer","title":"Face","description":"a found face, as the photo's face list names it"}},"type":"object","required":["name","face"],"title":"Cover"},"FaceCheck":{"properties":{"limit":{"type":"integer","maximum":50000.0,"minimum":1.0,"title":"Limit","description":"at most this many faces in one go","default":2000}},"type":"object","title":"FaceCheck"},"FaceName":{"properties":{"x":{"type":"number","maximum":1.0,"minimum":0.0,"title":"X","description":"centre, as a fraction of the width"},"y":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Y"},"w":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0,"title":"W"},"h":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0,"title":"H"},"name":{"type":"string","maxLength":100,"title":"Name","default":""}},"type":"object","required":["x","y","w","h"],"title":"FaceName","description":"A face in the photo as it is shown upright, and what it is called. An empty name removes the mark."},"FaceSearch":{"properties":{"areas":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Areas","description":"per area: look for faces there or not"}},"type":"object","required":["areas"],"title":"FaceSearch"},"FacesIgnored":{"properties":{"faces":{"items":{"type":"integer"},"type":"array","maxItems":200,"minItems":1,"title":"Faces","description":"ids of found faces"},"ignored":{"type":"boolean","title":"Ignored","default":true}},"type":"object","required":["faces"],"title":"FacesIgnored"},"FacesNamed":{"properties":{"faces":{"items":{"type":"integer"},"type":"array","maxItems":50,"minItems":1,"title":"Faces","description":"ids of found faces"},"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"batch":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{6,32}$"},{"type":"null"}],"title":"Batch"}},"type":"object","required":["faces","name"],"title":"FacesNamed"},"FacesUnnamed":{"properties":{"faces":{"items":{"type":"integer"},"type":"array","maxItems":50,"minItems":1,"title":"Faces","description":"ids of found faces"},"batch":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{6,32}$"},{"type":"null"}],"title":"Batch"}},"type":"object","required":["faces"],"title":"FacesUnnamed"},"FolderIn":{"properties":{"path":{"type":"string","maxLength":1000,"title":"Path","description":"the new folder with its area in front: Bildschirmfotos/Arbeit"}},"type":"object","required":["path"],"title":"FolderIn"},"FolderToAlbum":{"properties":{"folder":{"type":"string","maxLength":2000,"title":"Folder","description":"every picture below it gets its folder as an album"}},"type":"object","required":["folder"],"title":"FolderToAlbum"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ImmichImport":{"properties":{"token":{"type":"string","pattern":"^[0-9a-f]{12}$","title":"Token","description":"from the preview"},"people":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":5000},{"type":"null"}],"title":"People","description":"only these names; None = all"}},"type":"object","required":["token"],"title":"ImmichImport"},"ImmichSource":{"properties":{"url":{"type":"string","maxLength":300,"title":"Url","description":"where Immich is, e.g. http://192.168.1.10:2283"},"key":{"type":"string","maxLength":300,"title":"Key","description":"an API key that may read people, faces and assets"}},"type":"object","required":["url","key"],"title":"ImmichSource"},"InboxAccept":{"properties":{"keys":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Keys"},"batch":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{6,32}$"},{"type":"null"}],"title":"Batch","description":"ties several calls into one change"},"area":{"type":"string","maxLength":40,"title":"Area","description":"the area the photos go to","default":""},"folder":{"type":"string","maxLength":1000,"title":"Folder","description":"or the folder, with its area in front: Familie/2024","default":""},"take":{"type":"boolean","title":"Take","description":"write the stored proposal into each picture before it leaves","default":true},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"for one picture: this description instead"},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":200},{"type":"null"}],"title":"Keywords","description":"for one picture: these keywords instead"},"taken":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d(:\\d\\d)?$"},{"type":"null"}],"title":"Taken","description":"for one picture: this date, where the picture says none itself"},"lat":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Lat","description":"for one picture: this place, where the picture has none"},"lon":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Lon"}},"type":"object","required":["keys"],"title":"InboxAccept","description":"Take what the AI proposed over into the pictures and hand them on, out of the inbox."},"InboxPropose":{"properties":{"keys":{"items":{"type":"string"},"type":"array","maxItems":500,"minItems":1,"title":"Keys"}},"type":"object","required":["keys"],"title":"InboxPropose"},"Login":{"properties":{"username":{"type":"string","maxLength":100,"title":"Username"},"password":{"type":"string","maxLength":1000,"title":"Password"},"code":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Code","description":"second factor: app code or recovery code"}},"type":"object","required":["username","password"],"title":"Login"},"Many":{"properties":{"keys":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Keys"},"batch":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{6,32}$"},{"type":"null"}],"title":"Batch","description":"ties several calls into one change"}},"type":"object","required":["keys"],"title":"Many"},"ManyChange":{"properties":{"keys":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Keys"},"batch":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{6,32}$"},{"type":"null"}],"title":"Batch","description":"ties several calls into one change"},"change":{"$ref":"#/components/schemas/Change"}},"type":"object","required":["keys","change"],"title":"ManyChange"},"ManyMove":{"properties":{"keys":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Keys"},"batch":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{6,32}$"},{"type":"null"}],"title":"Batch","description":"ties several calls into one change"},"area":{"type":"string","maxLength":40,"title":"Area","description":"the area the photos go to","default":""},"folder":{"type":"string","maxLength":1000,"title":"Folder","description":"or the folder, with its area in front: Familie/2024","default":""}},"type":"object","required":["keys"],"title":"ManyMove"},"ManyTurn":{"properties":{"keys":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Keys"},"batch":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{6,32}$"},{"type":"null"}],"title":"Batch","description":"ties several calls into one change"},"degrees":{"type":"integer","enum":[90,180,270],"title":"Degrees"}},"type":"object","required":["keys","degrees"],"title":"ManyTurn"},"McpSwitch":{"properties":{"on":{"type":"boolean","title":"On"}},"type":"object","required":["on"],"title":"McpSwitch"},"NewUser":{"properties":{"name":{"type":"string","maxLength":100,"title":"Name"},"password":{"type":"string","maxLength":1000,"title":"Password"},"display_name":{"type":"string","maxLength":100,"title":"Display Name","default":""},"is_admin":{"type":"boolean","title":"Is Admin","default":false},"areas":{"additionalProperties":{"type":"string"},"type":"object","title":"Areas"}},"type":"object","required":["name","password"],"title":"NewUser"},"PasswordChange":{"properties":{"old":{"type":"string","maxLength":1000,"title":"Old"},"new":{"type":"string","maxLength":1000,"title":"New"}},"type":"object","required":["old","new"],"title":"PasswordChange"},"PasswordConfirm":{"properties":{"password":{"type":"string","maxLength":1000,"title":"Password"}},"type":"object","required":["password"],"title":"PasswordConfirm"},"PersonRename":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"to":{"type":"string","maxLength":100,"minLength":1,"title":"To","description":"the new name; one that exists merges the two"}},"type":"object","required":["name","to"],"title":"PersonRename"},"Recipe":{"properties":{"angle":{"type":"number","maximum":30.0,"minimum":-30.0,"title":"Angle","description":"degrees clockwise to set it straight","default":0},"crop":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":4,"minItems":4},{"type":"null"}],"title":"Crop","description":"left, top, width, height as fractions of the straightened picture"},"brightness":{"type":"integer","maximum":100.0,"minimum":-100.0,"title":"Brightness","default":0},"contrast":{"type":"integer","maximum":100.0,"minimum":-100.0,"title":"Contrast","default":0},"saturation":{"type":"integer","maximum":100.0,"minimum":-100.0,"title":"Saturation","default":0},"warmth":{"type":"integer","maximum":100.0,"minimum":-100.0,"title":"Warmth","default":0},"auto":{"type":"boolean","title":"Auto","default":false}},"type":"object","title":"Recipe","description":"What to do to the picture itself. Everything is optional; what is left out stays as it is."},"Resolve":{"properties":{"keep":{"type":"string","maxLength":64,"title":"Keep","description":"key of the file that stays"},"drop":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Drop","description":"keys of the files that go to the trash"},"merge":{"type":"boolean","title":"Merge","default":true}},"type":"object","required":["keep","drop"],"title":"Resolve"},"ResolveAll":{"properties":{"merge":{"type":"boolean","title":"Merge","default":true}},"type":"object","title":"ResolveAll"},"SecurityChange":{"properties":{"internal_networks":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Internal Networks"},"require_2fa_external":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require 2Fa External"},"require_2fa_internal":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require 2Fa Internal"},"ntfy_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Ntfy Url"},"ntfy_token":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Ntfy Token"},"clear_ntfy_token":{"type":"boolean","title":"Clear Ntfy Token","default":false},"notify_external_login":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify External Login"},"notify_lockout":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Lockout"},"notify_2fa_changes":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify 2Fa Changes"}},"type":"object","title":"SecurityChange"},"SetupIn":{"properties":{"username":{"type":"string","maxLength":100,"title":"Username"},"password":{"type":"string","maxLength":1000,"title":"Password"},"display_name":{"type":"string","maxLength":100,"title":"Display Name","default":""}},"type":"object","required":["username","password"],"title":"SetupIn"},"SortingChange":{"properties":{"rules":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":200,"title":"Rules"},"modes":{"additionalProperties":{"type":"string"},"type":"object","title":"Modes","description":"per area: ask | auto after a date change"}},"type":"object","required":["rules"],"title":"SortingChange"},"Spot":{"properties":{"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"},"lat":{"type":"number","maximum":90.0,"minimum":-90.0,"title":"Lat"},"lon":{"type":"number","maximum":180.0,"minimum":-180.0,"title":"Lon"}},"type":"object","required":["name","lat","lon"],"title":"Spot"},"SpotsIn":{"properties":{"spots":{"items":{"$ref":"#/components/schemas/Spot"},"type":"array","maxItems":200,"title":"Spots"}},"type":"object","required":["spots"],"title":"SpotsIn"},"StockRun":{"properties":{"model":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Model","description":"the model to ask; left out: the small one"},"areas":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":100},{"type":"null"}],"title":"Areas","description":"only these areas; left out: all"},"limit":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":1.0},{"type":"null"}],"title":"Limit","description":"at most this many pictures"}},"type":"object","title":"StockRun"},"TotpOff":{"properties":{"password":{"type":"string","maxLength":1000,"title":"Password"},"code":{"type":"string","maxLength":20,"title":"Code"}},"type":"object","required":["password","code"],"title":"TotpOff"},"TrashPrefs":{"properties":{"days":{"type":"integer","maximum":3650.0,"minimum":0.0,"title":"Days","description":"how long deleted photos are kept; 0 = until someone empties it"}},"type":"object","required":["days"],"title":"TrashPrefs"},"TreePrefs":{"properties":{"tree_open":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":5000},{"type":"null"}],"title":"Tree Open"},"language":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"Language"},"pins":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":100},{"type":"null"}],"title":"Pins","description":"albums pinned to the start page, in order"}},"type":"object","title":"TreePrefs"},"Turn":{"properties":{"degrees":{"type":"integer","enum":[90,180,270],"title":"Degrees","description":"clockwise"}},"type":"object","required":["degrees"],"title":"Turn"},"UpdateSwitch":{"properties":{"on":{"type":"boolean","title":"On"}},"type":"object","required":["on"],"title":"UpdateSwitch"},"UploadIn":{"properties":{"area":{"type":"string","maxLength":40,"title":"Area","description":"the area uploads from the phone land in; empty = none"}},"type":"object","required":["area"],"title":"UploadIn"},"UploadKeyIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Name","description":"whose phone this key is for"},"creator":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Creator","description":"who takes the pictures; written into each as it arrives"},"area":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Area","description":"the area it uploads into; '' = the usual one"}},"type":"object","title":"UploadKeyIn"},"UserChange":{"properties":{"display_name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Display Name"},"password":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Password"},"is_admin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Admin"},"areas":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Areas"},"reset_totp":{"type":"boolean","title":"Reset Totp","default":false},"sign_out":{"type":"boolean","title":"Sign Out","default":false}},"type":"object","title":"UserChange"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}