From 3fdb221f67dd162995ab237db45c4d49e75406cb Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Tue, 4 Jun 2019 17:11:52 +0200 Subject: [PATCH] api: add "locale" field to documentation --- dist/templates/about/api.html.hbs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dist/templates/about/api.html.hbs b/dist/templates/about/api.html.hbs index d87c595..cec2e19 100644 --- a/dist/templates/about/api.html.hbs +++ b/dist/templates/about/api.html.hbs @@ -106,11 +106,15 @@ for one or more e-mail addresses.

- The call must include an opaque token value + The call must include the opaque token value (obtained via /vks/v1/upload) and an addresses field, which is a list of e-mail addresses (not full User IDs) to request verification mails for. + It can optionally include a locale field, + which is list of locales, + ordered by preference, + which to use for the verification e-mail. The reply will be the same as for the /vks/v1/upload endpoint, with addresses marked as pending where a verification email has been sent. @@ -125,6 +129,7 @@ "addresses": [ "address@example.org" ] + "locale": [ "de_CH", "de_DE" ] }