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": "",
    "continue": {
        "gapcontinue": "SSH/SCP/SFTP",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."
        },
        "revisions": {
            "*": "Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
        }
    },
    "query": {
        "pages": {
            "3": {
                "pageid": 3,
                "ns": 0,
                "title": "Register",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "==Requirements==\nYou must be one of the following to get a CSEE account:\n\n* Graduate Student\n* Faculty\n* Staff\n* Student/Researcher with a sponsor\n\n==Requesting a CSEE Account==\n1. Pick up a CSEE Account Request form from ITE325.\n\n2. Fill out the top section.\n\n3. Get your advisor or sponsor to fill out the middle section.\n\n4. Submit the form to room ITE325F."
                    }
                ]
            },
            "285": {
                "pageid": 285,
                "ns": 0,
                "title": "Restore Deleted User Files",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "==Restoring Deleted User Files==\n\nRecovery deleted user files consists of logging into c64 as root and using a Tivoli GUI.\n\nFirst, one needs to log in as root to c64. Since the program is a GUI, logging in as a user and using sudo to run the software won't work correctly.\n\n===Logging into CS Systems as root===\n\nLogging into cs.umbc.edu systems as root requires creating a ssh passphrase and adding the public key to the ssh configurations of our boxes through cfengine\n\n cd ~/.ssh \n #Be sure you are logged into the box in 307 that you will be using most of the time\n ssh-keygen -t rsa\n cat id_rsa.pub >> <directory where you store your cfengine repo>/files/all/root/.ssh/authorized_keys\n\nAdd your public key to any other authorized_keys file for systems that you will need to access. It might be good to add your key to the authorized_keys.itelabs file as well. Check in the changes to cfengine, log into cfengine to update the database, and then run cfagent -qv on the system that you need to log in as root.\n\n===File Recovery===\n\nSSH into c64 as root and enable X-forwarding\n ssh -Y root@c64\n\nThe program you want to run is /op/tivoli/tsm/client/ba/bin/dsmj. If you are root and have enabled X-forwarding, it should start right up.\n*Under the Backup Heading, Choose \"Restore\"\n*Click on the button \"Point in Time\" (Next to the options button). Choose a time when the file should have been in its desired state. \n*In the file tree on the left, expand the \"File Level\" entry. You should be able to see all of the home directories of cs.umbc.edu users. Expand the tree next to the user directory until the directory that contains the deleted file appears. Click on that directory and the files in it should appear in the pane on the right side of the screen. \n*Mark the checkboxes next to whatever files you wish to restore. Click on the \"Restore\" Button near the Options button.\n*When restoring, it is best to mark the \"Following Location\" choice as well as the \"Restore Partial Path\" choice. That way the file will be in the user's home directory but in a place such that it won't interfere with the current copy of the file.\n*Click the restore button and the files should restore."
                    }
                ]
            }
        }
    }
}