MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "query": {
        "pages": {
            "3": {
                "pageid": 3,
                "ns": 0,
                "title": "API",
                "revisions": [
                    {
                        "user": "Mark Walker",
                        "timestamp": "2011-07-17T09:24:29Z",
                        "comment": "",
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "== Overview ==\n\nThis document is a work in progress on a proposed API for eCoachManager.\n\nThe API is a RESTful web service based upon XML/JSON and HTTP POST.\n\nInitially the API will feature a fairly limited feature set, with plans to add more and more of the systems functionality over time.\n\nOnce the API has developed it will provide the basis for the proposed mobile applications.\n\n== Access ==\n\nThe API will be accessed via URL's specific to each eCoachManager system.\n\nIn this guide we will use www.ecoachmanager.com as an example but this should be replaced with the address used to access your eCoachManager system.\n\nAll API calls must be made via HTTP to the target URL with 6 values submitted via POST.\n=== User ===\nThe user name is the same as the standard eCoachManager users and will perform functions as though you are logged into the web interface.\n=== Key ===\nAPI Keys have to be created manually per user in the config area of eCoachManager. This ensures that only specified accounts are accessible via the API.\n=== Timestamp ===\nThe current Unix timestamp at the time of creating the API request. <?php date(\u201cU\u201d);?>\n=== Auth ===\nTo ensure that API requests cannot be modified in transit, the Auth field contains a hash created using the action, timestamp and your normal password.\n\n<code><?php sha1($action.$data.$timestamp.md5($password));?></code>\n=== Action ===\nThe required action\n=== Data ===\nAn XML/JSON document formatted for the required action.\n\nThe data format is determined by the sending format\n\n== [[Admin API]] ==\n\nThe Admin API allows staff to perform functions from outside the normal web interface.\n\nAuthentication is performed against the normal admin users who can login to eCoachManager.\n\nAdmin API calls should be posted to the following API URL http://www.ecoachmanager.com/lib/api?admin\n\nThe following functions will be available initially:\n*Add jobs\n*Update jobs\n*View all jobs\n\n== [[Drivers API]] ==\n\nThe Drivers API allows drivers to perform functions from outside the normal web interface.\n\nAuthentication is performed against the drivers database.\n\nDrivers API calls should be posted to the following API URL http://www.ecoachmanager.com/lib/api?driver\n\nThe following functions will be available initially:\n*View assigned Jobs\n*Accept or Reject Jobs\n*Update Status\n\n== [[Clients API]] ==\n\nThe Clients API allows customers to perform functions from outside the normal web interface.\n\nAuthentication is performed against the myquotes logins.\n\nDrivers API calls should be posted to the following API URL. http://www.ecoachmanager.com/lib/api?client\n\nThe following functions will be available initially:\n*Add jobs\n*Update own jobs\n*View own jobs\n\n== [[Mobile Apps API]] ==\n\nThe Mobile Apps API allows customers to perform basic functions with a simplified authentication proces.\n\nAuthentication is performed against the quote number and customers mobile number.\n\nApp API calls should be sent to http://www.ecoachmanager.com/lib/api?app\n\nThe following functions will be available initially:\n*View Single Job details"
                    }
                ]
            },
            "2": {
                "pageid": 2,
                "ns": 0,
                "title": "Main Page",
                "revisions": [
                    {
                        "user": "Mark Walker",
                        "timestamp": "2011-07-17T07:55:23Z",
                        "comment": "moved [[Main Page]] to [[ECoachManager User Manual]]",
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "#REDIRECT [[ECoachManager User Manual]]"
                    }
                ]
            }
        }
    }
}