talk about source in queued downloads
[ouya-store-api.git] / api / devs.ouya.tv / api-v1-queued_downloads.rst
1 ====================================================
2 ``GET https://devs.ouya.tv/api/v1/queued_downloads``
3 ====================================================
4
5 Fetch a list of apps/games that shall get installed automatically
6 on the OUYA.
7
8
9 HTTP request
10 ============
11 Protocol
12   ``https``
13 Method
14   ``GET``
15 Host
16   ``devs.ouya.tv``
17 Path
18   ``/api/v1/queued_downloads``
19 Headers
20   Standard headers
21 GET parameters
22   ``auth_token``
23     Same as ``X-OUYA-AuthToken``
24
25
26 HTTP response
27 =============
28 Status code
29   ``200 OK``
30 Content-type
31   ``application/json; charset=utf-8``
32
33 Known ``source`` options:
34
35 ``gamer``
36   The user clicked onto "push to my ouya" on the OUYA website
37 ``game-of-the-month``
38   The game gets automatically installed because the OUYA people awarded it the
39   "game of the month" trophy.
40 ``new-user``
41   You are a freshly registered user and should have this game on your OUYA.
42
43
44 Example
45 -------
46 Automatically pushed onto a fresh account:
47
48 .. include:: api-v1-queued_downloads.response.json
49    :code:
50
51 Manually pushed via the web site:
52
53 .. include:: api-v1-queued_downloads.response-2.json
54    :code: