Changes between Initial Version and Version 1 of XmlRpcStatusCode


Ignore:
Timestamp:
Sep 28, 2008, 11:23:04 AM (16 years ago)
Author:
guest
Comment:

Created this page [Majky]

Legend:

Unmodified
Added
Removed
Modified
  • XmlRpcStatusCode

    v1 v1  
     1
     2== Status codes ==
     3
     4
     5Every API method returns a result code. These are very similar to HTTP errors.
     6
     7The method result code is always stored in the output structure in variable called ''status''.
     8
     9
     10=== Successful 2xx ===
     11
     12If the method completed successfully result will be:
     13 * 200 OK
     14 * 206 Partial content; message
     15
     16
     17=== Errors 4xx ===
     18
     19and if there was an error result will be one of these:
     20 * 401 Unauthorized
     21 * 402 Subtitles has invalid format
     22 * 403 !SubHashes (content and sent subhash) are not same!
     23 * 404 Subtitles has invalid language!
     24 * 405 Not all mandatory parameters was specified
     25 * 406 No session
     26 * 407 Download limit reached
     27 * 408 Invalid parameters
     28 * 409 Method not found
     29 * 410 Other or unknown error
     30 * 411 Empty or invalid useragent
     31 * 412 %s has invalid format (reason)
     32
     33
     34----
     35=== Notes ===
     36  * more error code might be added if needed
     37   
     38
     39--------
     40[wiki:XmlRpcIntro Home]