photos_storage_*

Four calls that carry the storage backend of an index between the phone and the account, sealed, never a photo.

Four calls carry the storage backend of an index between the phone and the account. They move credentials, sealed on the account's side; they never move a photo, and nothing at Opensolr ever connects to the storage.

01 · The calls
photos_storage_get
When the app makes it
At the start of a backup run on a phone that holds no backend, at most once an hour; and once a day on a phone that holds one, to take over a change made on another phone
What it carries
Back: the backend's kind, name, quality and fields, unsealed for the owner, or nothing
photos_storage_save
When the app makes it
Right after Save and start backup, and again at the next run if that first attempt could not reach the account
What it carries
Up: kind, name, quality and the fields as typed; the account seals them against the index
photos_storage_quality
When the app makes it
When the backup quality is changed on the Me screen
What it carries
Up: original or 1080, nothing else
photos_storage_delete
When the app makes it
Forget backend and Clear backend
What it carries
Nothing; the account forgets the backend of the index

All four go to https://opensolr.com/solr_manager/api/ as a form with email, api_key and core_name, like photos_sync_info. Only the owner of the index is answered; anyone else gets NOT_OWNER_ERROR.

02 · What the account keeps
  • One row per index: the kind, the name, the quality, and the fields sealed with a key kept on the server outside the web and the database. When that key is missing the account answers not ready and refuses to save.
  • The row goes when the index is deleted.
  • Nothing about the files: no list, no count, no checksum. Those live in your storage. See what is written into your storage.
03 · What the phone sends to your storage

Not through Opensolr: with the credentials above, straight to the bucket or the folder. S3 over HTTPS with signed requests, WebDAV over HTTPS. Files, 720 px copies and the manifest; nothing else. See backup.

Every call it makes

Opensolr Photos is open source and MIT licensed. Questions about your Opensolr account, index or plan go to opensolr.com/contact; questions about the app itself belong on GitHub.

Opensolr Photos Documentation