d5944e711c7ad0d81b051308346842de1e88c11b
[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   ``ifmodifiedsince``
19     Timestamp with microseconds of last reseller config file version
20
21     Example: ``1603111725000``
22   ``reseller_id``
23     Example: ``3``
24
25     Required. "400 Bad Request" if missing.
26   ``hardware_type``
27     Example: ``tolino_vision_3``
28   ``os_version``
29     Android version
30
31     Example: ``4.4.2``
32   ``language_code``
33     Example: ``en``
34   ``hardware_id``
35     Example: ``665fd389ea4e47228c5db8fa7821bd23``
36   ``client_type``
37     Example: ``TOLINO_VISION_3``
38
39     Required. "400 Bad Request" if missing.
40   ``client_version``
41     Tolino firmware version
42
43     Example: ``14.1.0``
44
45
46 Response
47 ========
48
49 ``HTTP/1.1 304 Not Modified`` if the ``ifmodifiedsince`` header is equal or
50 later than the modification date.
51
52
53 Success
54 -------
55 ``HTTP/1.1 200 OK`` for the content
56
57 Example for headers ``reseller_id:3`` and ``client_type:TOLINO_VISION_3``:
58
59 .. include:: pageplace.bosh-bosh-rest-v2-resellerconfig.response-ok.json
60    :code: