Document processHTML
[tolino-api-docs.git] / api / pageplace.bosh-bosh-rest-v2-resellerconfig.rst
1 =============================================================
2 ``GET https://bosh.pageplace.de/bosh/rest/v2/resellerconfig``
3 =============================================================
4
5 Fetch information about a given tolino reseller (shop):
6
7 - Authentication URLs
8 - Browser start page
9 - Brand name ("Thalia.de")
10 - if LCP encryption is available
11
12 etc.
13
14
15 Request
16 =======
17 Header
18   See `bosh v2 header set`_, plus:
19
20   ``ifmodifiedsince``
21     Timestamp with microseconds of last reseller config file version
22
23     Example: ``1603111725000``
24   ``reseller_id``
25     Example: ``3``
26   ``client_type``
27     Required. "400 Bad Request" if missing.
28
29
30 Response
31 ========
32
33 ``HTTP/1.1 304 Not Modified`` if the ``ifmodifiedsince`` header is equal or
34 later than the modification date.
35
36
37 Success
38 -------
39 ``HTTP/1.1 200 OK`` for the content
40
41 Example for headers ``reseller_id:3`` and ``client_type:TOLINO_VISION_3``:
42
43 .. include:: pageplace.bosh-bosh-rest-v2-resellerconfig.response-ok.json
44    :code:
45
46
47 Example for headers ``reseller_id:3`` and ``client_type:TOLINO_VISION_2``:
48
49 .. include:: pageplace.bosh-bosh-rest-v2-resellerconfig.response-ok-tolinovision2.json
50    :code:
51
52
53 Example for headers ``reseller_id:3`` and ``client_type:TOLINO_VISION_1``:
54
55 .. include:: pageplace.bosh-bosh-rest-v2-resellerconfig.response-ok-tolinovision1.json
56    :code: