Some details info
[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 HTTP request
9 ============
10 Protocol
11   ``https``
12 Method
13   ``PUT``
14 Host
15   ``devs.ouya.tv``
16 Path
17   ``/api/v1/gamers/me/agreements``
18 Headers
19   Standard headers
20
21   ``Content-Type``
22     ``application/x-www-form-urlencoded``
23 GET parameters
24   ``auth_token``
25     Same data as in standard header ``X-OUYA-AuthToken``
26 POST parameters
27   ``marketplace``:
28     ``2``
29
30     Version of the marketplace agreement
31   ``auth_token``:
32     Same data as in standard header ``X-OUYA-AuthToken``
33
34
35 HTTP response
36 =============
37 Status code
38   ``200 OK`` 
39 Content type
40   ``application/json; charset=utf-8``
41 Body
42   ``{}``