taler-docs

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

testing-plan-migrate-exchange-base-url.rst (907B)


      1 .. ts:op:: testingPlanMigrateExchangeBaseUrl
      2 
      3   Enable migration from an old exchange base URL to a new exchange base
      4   URL.  The plan is only kept in memory (not persisted).  The actual
      5   migration is applied on the next exchange update when either the
      6   exchange advertises the new base URL, or downloading keys from the
      7   old base URL fails while the new base URL is reachable and
      8   advertises itself as its own base URL.
      9 
     10   **Request:**
     11 
     12     The request must be a `TestingPlanMigrateExchangeBaseUrlRequest`
     13     object.
     14 
     15   **Response:**
     16 
     17     On success, the result is an empty object.
     18 
     19   **Side effects:**
     20 
     21     Enables a pending exchange base URL migration, which is applied
     22     once the exchange advertises the new base URL.
     23 
     24 .. ts:def:: TestingPlanMigrateExchangeBaseUrlRequest
     25 
     26   interface TestingPlanMigrateExchangeBaseUrlRequest {
     27     oldExchangeBaseUrl: string;
     28     newExchangeBaseUrl: string;
     29   }