summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-04-12 21:36:17 +0200
committerChristian Grothoff <christian@grothoff.org>2022-04-12 21:36:17 +0200
commitadf5df0e1a05adc1abbbfdcd62385db89c9aa00c (patch)
tree68ebd9a70e0782d09d9cb5138e3abe14b45dd249 /doc
parent8abd2bc77ab3adfcc95f9cca24e43acc81dc8e19 (diff)
downloadanastasis-adf5df0e1a05adc1abbbfdcd62385db89c9aa00c.tar.gz
anastasis-adf5df0e1a05adc1abbbfdcd62385db89c9aa00c.tar.bz2
anastasis-adf5df0e1a05adc1abbbfdcd62385db89c9aa00c.zip
rename 'next' to 'select_version' and allow passing provider array
Diffstat (limited to 'doc')
-rw-r--r--doc/sphinx/reducer.rst12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/sphinx/reducer.rst b/doc/sphinx/reducer.rst
index 47bb98b..50fec42 100644
--- a/doc/sphinx/reducer.rst
+++ b/doc/sphinx/reducer.rst
@@ -1340,9 +1340,9 @@ providers to add, for example:
}
-**next**:
+**select_version**:
-Using the ``next`` transition in the ``SECRET_SELECTING`` state,
+Using the ``select_version`` transition in the ``SECRET_SELECTING`` state,
it is possible to trigger the download and decryption of a recovery
policy document. Here, the arguments specify which provider, version
and mask should be used to download the document:
@@ -1350,9 +1350,11 @@ and mask should be used to download the document:
.. code-block:: json
{
- "provider_url": "https://localhost:8088/",
- "version": 0,
- "mask": 0
+ "providers" : [ {
+ "url": "https://localhost:8088/",
+ "version": 0
+ } ],
+ "attribute_mask": 0
}
The reducer will attempt to retrieve the specified recovery document