Commits

Greg Salt committed e1b666b

Finished API

Comments (0)

Files changed (2)

docs/updater/api.rst

     ``api``
 
 .. code-block:: php
+
    set_access_key(string $key)``
 -------------------------------
 

docs/updater/response-codes.rst

 
     {"code": 502, "message": "Invalid remote host"}
 
-Make sure that your hostname matches the one you registered. Subdomains are counted are separate hosts. For example, ``www.domain.com`` requires a different access key from ``domain.com``.
+Make sure that your hostname matches the one you registered. Subdomains are counted as separate hosts. For example, ``www.domain.com`` requires a different access key from ``domain.com``.
 
 503 Unable to find access key
 -----------------------------
 
    {"code": 511, "message": "Unable to base64 decode"}
 
-You are encrypting and encoding the data with your own methods then you must replicate the original library functionality.
+If you are encrypting and encoding the data with your own methods then you must replicate the original library functionality.
 
 512 Unable to decode JSON
-513 Username not valid
-514 Screen name not valid
-515 Email is not valid
-516 IP Address not valid
-517 URL is not valid
+-------------------------
 
+**Status:** Rejected
+
+.. code-block:: json
+
+   {"code" 512, "message": "Unable to decode JSON"}
+
+