Family sharing API doc
[tolino-api-docs.git] / api / pageplace.bosh-bosh-rest-cover-xxx-yyy.rst
1 =========================================================
2 ``GET https://bosh.pageplace.de/bosh/rest/cover/xxx/yyy``
3 =========================================================
4 Fetch the cover for a manually uploaded book.
5
6 Part of the `upload process`_.
7
8 Request
9 =======
10 Only three headers. Unusual.
11
12 Full URL example: ``https://bosh.pageplace.de/bosh/rest/cover/39549013/bosh_3_395490135492823841139311838?size=WS-B04``
13
14 URL path parts
15   ``xxx``
16     8 bytes of the publication ID
17
18     Example: ``39549013``
19   ``yyy``
20     Publication ID
21
22     Example: ``bosh_3_395490135492823841139311838``
23 Header
24   ``m_id``
25     Maybe reseller ID?
26
27     Example: ``3``
28   ``Host``
29     ``bosh.pageplace.de``
30   ``Connection``
31     ``Keep-Alive``
32
33 GET parameters
34   ``size``
35     Image size (so we get a scaled version)
36
37     Known values:
38
39     - ``WS-B04``
40
41
42 Response
43 ========
44 HTTP status code: ``200 OK``.
45
46 Binary cover image data.