summaryrefslogtreecommitdiff
path: root/server/piztor/ptp.rst
diff options
context:
space:
mode:
Diffstat (limited to 'server/piztor/ptp.rst')
-rw-r--r--server/piztor/ptp.rst24
1 files changed, 23 insertions, 1 deletions
diff --git a/server/piztor/ptp.rst b/server/piztor/ptp.rst
index 6d8ff30..be63205 100644
--- a/server/piztor/ptp.rst
+++ b/server/piztor/ptp.rst
@@ -1,4 +1,4 @@
-Piztor Transmission Protocol v2.0a
+Piztor Transmission Protocol v2.0b
----------------------------------
- Pull
@@ -255,6 +255,28 @@ Piztor Transmission Protocol v2.0a
- ``0x01`` for invalid token
- ``0x02`` for insufficient level
+ - Change Password ``0x08``
+
+ - Request
+
+ ::
+
+ +-------------+-------?b-------+-------?b-------+
+ | AUTH_HEAD | OLD_PASSWORD | NEW_PASSWORD |
+ +-------------+-----string-----+-----string-----+
+
+ - Response
+
+ ::
+
+ +--------+
+ | STATUS |
+ +--------+
+
+ - ``0x00`` for success
+ - ``0x01`` for invalid token
+ - ``0x02`` for wrong password
+
- Push Notification
- General Request