View source: R/encryption_key_list.R
encryption_key_list | R Documentation |
encryption_key_list(
pid = get_default_pid(),
fid = get_default_fid(),
url = get_default_url(),
un = get_default_un(),
pw = get_default_pw(),
retries = get_retries(),
orders = get_default_orders(),
tz = get_default_tz()
)
pid |
The numeric ID of the project, e.g.: 2. Default: Set default See |
fid |
The alphanumeric form ID, e.g. "build_Spotlighting-0-8_1559885147". Default: Set default See |
url |
The ODK Central base URL without trailing slash. Default: Set default See |
un |
The ODK Central username (an email address).
Default: |
pw |
The ODK Central password.
Default: |
retries |
The number of attempts to retrieve a web resource. This parameter is given to Default: 3. |
orders |
(vector of character) Orders of datetime elements for lubridate. Default:
|
tz |
A timezone to convert dates and times to. Read |
This endpoint provides a listing of all known encryption keys needed to
decrypt all Submissions for a given Form. It will return at least the
base64RsaPublicKey
property (as column public
) of all known versions
of the form that have submissions against them.
If managed keys are being used and a hint was provided, that will be returned
as well.
A tibble of encryption keys.
https://docs.getodk.org/central-api-encryption/
https://docs.getodk.org/central-api-submission-management/#listing-encryption-keys
Other submission-management:
attachment_list()
,
submission_audit_get()
,
submission_detail()
,
submission_export()
,
submission_get()
,
submission_list()
## Not run:
# See vignette("setup") for setup and authentication options
# ruODK::ru_setup(svc = "....svc", un = "me@email.com", pw = "...")
x <- encryption_key_list(
pid = Sys.getenv("ODKC_TEST_PID_ENC"),
fid = Sys.getenv("ODKC_TEST_FID_ENC"),
url = get_test_url(),
un = get_test_un(),
pw = get_test_pw()
)
names(x)
# > [1] "id" "public" "managed" "hint" "created_at"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.