example for delete queue
[ouya-store-api.git] / api / devs.ouya.tv / api-v1-games-xxx-purchases.rst
1 =======================================================
2 ``GET https://devs.ouya.tv/api/v1/games/xxx/purchases``
3 =======================================================
4
5 FIXME: Check which features have been bought in an app, or if the app has been
6 bought.
7
8
9 Usage
10 =====
11 - When an app/game is featured and shown on the main menu ("home"),
12   it is checked if the app has already been purchased.
13
14
15 HTTP request
16 ============
17 Protocol
18   ``https``
19 Method
20   ``GET``
21 Host
22   ``devs.ouya.tv``
23 Path
24   ``/api/v1/games/xxx/purchases``
25
26   ``xxx`` is the app package name.
27
28   Example: ``/api/v1/games/com.ChrisChung.CatlateralDamage/purchases``
29 Headers
30   Standard headers
31 GET parameters
32   ``auth_token``
33     Same as ``X-OUYA-AuthToken``
34   ``app_id``
35     ``com.ChrisChung.CatlateralDamage``
36
37     Same as the one in the path.
38   ``user_agent``
39     ``launcher``
40
41
42 HTTP response
43 =============
44 Status code
45   ``200 OK``
46 Content-type
47   ``application/json; charset=utf-8``
48
49 Example
50 -------
51
52 .. include:: api-v1-games-xxx-purchases.response.json
53    :code: