Add razer forge header
[ouya-store-api.git] / api / devs.ouya.tv / api-v1-gamers-me-consoles.rst
1 =======================================================
2 ``POST https://devs.ouya.tv/api/v1/gamers/me/consoles``
3 =======================================================
4
5 Associate a console ID with the account.
6
7
8 Usage
9 =====
10
11 #. After logging in with an existing account
12 #. (Probably after registering a new account)
13
14
15 HTTP request
16 ============
17 Protocol
18   ``https``
19 Method
20   ``POST``
21 Host
22   ``devs.ouya.tv``
23 Path
24   ``/api/v1/gamers/me/consoles``
25 Headers
26   Standard headers
27
28   ``Content-Type``
29     ``application/x-www-form-urlencoded``
30 GET parameters
31   ``auth_token``
32     Same data as in standard header ``X-OUYA-AuthToken``
33 POST parameters
34   ``console_id``:
35     ``015d4b33bc64141b``
36
37     Same data as in standard header ``X-OUYA-Console-Id``
38   ``auth_token``:
39     Same data as in standard header ``X-OUYA-AuthToken``
40
41
42 HTTP response
43 =============
44 Status code
45   ``200 OK``
46 Content type
47   ``application/json; charset=utf-8``
48 Body
49   ``{}``