taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

apply-dev-experiment.rst (659B)


      1 .. ts:op:: applyDevExperiment
      2 
      3   Apply a developer experiment, specified as a ``taler://dev-experiment/``
      4   URI, to the current wallet state.  This allows UI developers and
      5   testers to play around without an elaborate test environment.  Dev
      6   mode must be active in the wallet.
      7 
      8   **Request:**
      9 
     10     The request must be an `ApplyDevExperimentRequest` object.
     11 
     12   **Response:**
     13 
     14     On success, the result is an empty object.
     15 
     16   **Side effects:**
     17 
     18     Applies arbitrary changes to the wallet's state and database,
     19     depending on the experiment.
     20 
     21 .. ts:def:: ApplyDevExperimentRequest
     22 
     23   interface ApplyDevExperimentRequest {
     24     devExperimentUri: string;
     25   }