Some details info
[ouya-store-api.git] / api / devs.ouya.tv / api-v1-gamers-me-user_messages.rst
1 ===========================================================
2 ``GET https://devs.ouya.tv/api/v1/gamers/me/user_messages``
3 ===========================================================
4
5 Send messages to users.
6
7 The API returns a list of URLs that get displayed to the user in a popup
8 in the main menu.
9
10
11 HTTP request
12 ============
13 Protocol
14   ``https``
15 Method
16   ``GET``
17 Host
18   ``devs.ouya.tv``
19 Path
20   ``/api/v1/gamers/me/user_messages``
21 Headers
22   Standard headers
23 GET parameters
24   ``auth_token``
25     Same as ``X-OUYA-AuthToken``
26
27
28 HTTP response
29 =============
30 Status code
31   ``200 OK``
32 Content-type
33   ``application/json; charset=utf-8``
34
35 Example (empty)::
36
37   {
38       "messages": [
39           null
40       ]
41   }
42
43 Example (one URL)::
44
45   {
46       "messages": [
47           "https://www.ouya.tv/message_to_all_users.txt"
48       ]
49   }