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" ] }