photos_sync_info

The index list, this phone's index and the plan usage, in one call.

One call at the start of a sync that answers three questions at once: which indexes the account has, where this phone's index is, and what the plan allows and has used.

01 · The call
POST https://opensolr.com/solr_manager/api/photos_sync_info

A form with email, api_key, core_name (this phone's index) and signature, an HMAC-SHA256 of the index name and the email, keyed with the API key.

It runs at the start of a sync. A sync that comes right after a full check of the index, within a day, skips it and goes straight to the work.

02 · The answer
{"status": true, "index_list": […], "core_info": {…}, "account_summary": {…}}
  • index_list: the same as get_index_list.
  • core_info: the index address and its credentials, the same as get_core_info.
  • account_summary: the plan limits and usage, the same as get_account_summary, present only when the signature is right.

When this call cannot answer, the app falls back to the separate calls. Nothing is concluded from a failed call: no index is created and nothing is removed.

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