- GET /config#
Obtain the key configuration settings of the storage service.
Response:
- 200 OK:
Response is a ChallengerConfigurationResponse.
interface ChallengerConfigurationResponse { // Name of the service name: "challenger"; // libtool-style representation of the Challenger protocol version, see // https://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning // The format is "current:revision:age". version: string; // URN of the implementation (needed to interpret 'revision' in version). // @since v0, may become mandatory in the future. implementation?: string; // @since **v2**. // Object; map of keys (names of the fields of the address // to be entered by the user) to objects with a "regex" (string) // containing an extended Posix regular expression for allowed // address field values, and a "hint"/"hint_i18n" giving a // human-readable explanation to display if the value entered // by the user does not match the regex. Keys that are not mapped // to such an object have no restriction on the value provided by // the user. See "ADDRESS_RESTRICTIONS" in the challenger configuration. restrictions: Object; // @since **v6** // Defines the set of fields asked to the user. // The field names are registered via GANA at // https://git.taler.net/gana.git/tree/gnu-taler-form-attributes // email: CONTACT_EMAIL // phone: CONTACT_PHONE // postal: CONTACT_NAME, ADDRESS_LINES, ADDRESS_COUNTRY // postal-ch: CONTACT_NAME, ADDRESS_LINES address_type: "email" | "phone" | "postal" | "postal-ch"; // Hint to show in the address bar for the user as an example for // the format of the address. address_hint: string; }