git.cweiske.de
/
ouya-store-api.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some details info
[ouya-store-api.git]
/
api
/
devs.ouya.tv
/
api-v1-sessions.rst
diff --git
a/api/devs.ouya.tv/api-v1-sessions.rst
b/api/devs.ouya.tv/api-v1-sessions.rst
index 5c682ad68807614bc726fd0ba0cd5e119502617c..ca4487d3d97e845d05c32b556f6797096a6fadf7 100644
(file)
--- a/
api/devs.ouya.tv/api-v1-sessions.rst
+++ b/
api/devs.ouya.tv/api-v1-sessions.rst
@@
-9,12
+9,19
@@
This token is stored in the console and used in the
``auth_token`` GET parameter.
``auth_token`` GET parameter.
+Usage
+=====
+
+#. After logging with an existing account
+#. After new user registration
+
+
HTTP request
============
Protocol
``https``
Method
HTTP request
============
Protocol
``https``
Method
- ``
GE
T``
+ ``
POS
T``
Host
``devs.ouya.tv``
Path
Host
``devs.ouya.tv``
Path
@@
-40,6
+47,9
@@
Success
-------
When the user logged in successfully.
-------
When the user logged in successfully.
+.. note:: If the user is already logged in, the old ``auth_token`` is returned.
+ No new token is issued in this case.
+
Status code
``200 OK``
Content type
Status code
``200 OK``
Content type
@@
-47,7
+57,7
@@
Content type
Response body example:
Response body example:
-.. include:: api-v1-sessions
-
response-valid.json
+.. include:: api-v1-sessions
.
response-valid.json
:code:
:code:
@@
-66,5
+76,5
@@
Content type
Response body example:
Response body example:
-.. include:: api-v1-sessions
-
response-invalid.json
+.. include:: api-v1-sessions
.
response-invalid.json
:code:
:code: