.. include:: api/status.ouya.tv/api-v1-status.rst
.. include:: api/devs.ouya.tv/api-firmware_builds.rst
.. include:: api/devs.ouya.tv/api-v1-apps-xxx.rst
+.. include:: api/devs.ouya.tv/api-v1-apps-xxx-download.rst
.. include:: api/devs.ouya.tv/api-v1-console_configuration.rst
.. include:: api/devs.ouya.tv/api-v1-credit_card.post.rst
.. include:: api/devs.ouya.tv/api-v1-credit_card.put.rst
--- /dev/null
+{
+ "app": {
+ "downloadLink": "http://cds.t2z5c2q6.hwcdn.net/apps/a137f31c-ad28-47e6-ae43-0a346ebe249a/com.toa.tetrisFusionOuya/0fba3bba-83e0-4e3e-9f29-409258429757/Gx9cZz0KTRCNstv78Mq5_ToaFusionOuya-2.0.1r.apk",
+ "contentRating": "Everyone",
+ "version": "0fba3bba-83e0-4e3e-9f29-409258429757",
+ "fileSize": 41125055
+ }
+}
--- /dev/null
+=====================================================
+``GET https://devs.ouya.tv/api/v1/apps/xxx/download``
+=====================================================
+
+Fetch the download link for a specific version of an app.
+
+
+Usage
+=====
+- When the user clicks "download"
+
+
+
+HTTP request
+============
+Protocol
+ ``https``
+Method
+ ``GET``
+Host
+ ``devs.ouya.tv``
+Path
+ ``/api/v1/apps/xxx/download``
+
+ ``xxx``
+ ``latestVersion`` string from the apps details page
+
+ Example: ``/api/v1/apps/0fba3bba-83e0-4e3e-9f29-409258429757/download``
+Headers
+ Standard headers
+GET parameters
+ ``auth_token``
+ Same as ``X-OUYA-AuthToken``
+
+
+HTTP response
+=============
+Status code
+ ``200 OK``
+Content-type
+ ``application/json; charset=utf-8``
+
+
+Example
+-------
+
+.. include:: api-v1-apps-xxx-download.response.json
+ :code: