document discover search
[ouya-store-api.git] / api / devs.ouya.tv / api-v1-developers-xxx-products.rst
1 ============================================================
2 ``GET https://devs.ouya.tv/api/v1/developers/xxx/products/``
3 ============================================================
4
5 FIXME: Fetch details about a game purchase option
6
7
8 Usage
9 =====
10 - When the user starts a game and pressed "Sync" in the store
11   (at "Babylonian Twins")
12
13
14 HTTP request
15 ============
16 Protocol
17   ``https``
18 Method
19   ``GET``
20 Host
21   ``devs.ouya.tv``
22 Path
23   ``/api/v1/developers/xxx/products/``
24
25   ``xxx``
26     Developer UUID
27
28   Example: ``/api/v1/developers/c4e46efe-05fd-4be9-9d7e-1f7607eabd49/products/``
29 Headers
30   Standard headers
31 GET parameters
32   ``auth_token``
33     Same as ``X-OUYA-AuthToken``
34   ``only``
35     Product key (same as ``Identifier`` in ``promotedProduct`` of app details)
36
37     Example: ``&only=unlock_pro``
38
39
40 HTTP response
41 =============
42 Status code
43   ``200 OK``
44 Content-type
45   ``application/json; charset=utf-8``
46
47 Example
48 -------
49
50 .. include:: api-v1-developers-xxx-products.response.json
51    :code: