1 ===========================================
2 ``POST https://devs.ouya.tv/api/v1/gamers``
3 ===========================================
5 Register a new user and/or verify new user registration data.
7 This method is both used as verification during input, as well as the
10 Razer Forge TV uses `POST https://devs.ouya.tv/api/razer/gamer`_ instead.
15 #. During registration to check if data are valid
16 #. During registration to finish new user sign up and create the account
30 Standard headers except token parameters.
33 ``application/x-www-form-urlencoded``
36 User name used to log in
39 ``gamer[password_confirmation]``
40 User password, a second time
42 User e-mail address for marketing e-mails
44 ``unknown`` | ``male`` | ``female``
45 ``gamer[email_opt_out]``
48 Opt out from marketing e-mails
52 If set, the user data are not registered - only verified.
53 The response then tells which fields are deemed invalid.
55 Not set when the user clicks "register".
61 ..note:: Does not support HTTP redirects!
65 When everything is ok and the user has been registered
66 (or the data were valid when ``dryrun`` was set)
71 ``application/json; charset=utf-8``
77 When some of the data are deemed to be invalid.
82 ``application/json; charset=utf-8``
86 .. include:: api-v1-gamers.response-invalid.json