Add razer forge header
[ouya-store-api.git] / api / devs.ouya.tv / api-v1-gamers-me-agreements.put.rst
1 ========================================================
2 ``PUT https://devs.ouya.tv/api/v1/gamers/me/agreements``
3 ========================================================
4
5 Store that a legal agreement has been confirmed by the user.
6
7
8 Usage
9 =====
10
11 #. After setting up a factory-reset OUYA.
12 #. After logging in with an existing account.
13 #. After booting up the OUYA.
14
15
16 HTTP request
17 ============
18 Protocol
19   ``https``
20 Method
21   ``PUT``
22 Host
23   ``devs.ouya.tv``
24 Path
25   ``/api/v1/gamers/me/agreements``
26 Headers
27   Standard headers
28
29   ``Content-Type``
30     ``application/x-www-form-urlencoded``
31 GET parameters
32   ``auth_token``
33     Same data as in standard header ``X-OUYA-AuthToken``
34 POST parameters
35   ``marketplace``:
36     ``2``
37
38     Version of the marketplace agreement
39   ``auth_token``:
40     Same data as in standard header ``X-OUYA-AuthToken``
41
42
43 HTTP response
44 =============
45 Status code
46   ``200 OK``
47 Content type
48   ``application/json; charset=utf-8``
49 Body
50   ``{}``