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": "Report",
        "continue": "gapcontinue||"
    },
    "query": {
        "pages": {
            "114": {
                "pageid": 114,
                "ns": 0,
                "title": "Reload Configuration",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "This feature allows the user to reload a version of the XML file without stopping the server. Thus allowing a reinterpretation of the XML file because the internal configuration can be changed.\n\nFor reaching the reload configuration page user must click ''Utility''.\n[[File:GVConsoleUtilityReload1.jpg|none|thumb|Utility]]\n\n\nAfter clicking ''Reload Configuration'', the configuration files charged by {{GVESB}} will be shown.\nUser can select a file and click \"Reload\", or \"Reload all\" if he/she wants to save all the configuration files.\n\n[[File:GVConsoleUtilityReload2.jpg|none|thumb|Reload Configuration]]\n\n\nIt will open a prompt for confirmation of the current reload operation:\n\n[[File:GVConsoleUtilityReload3.jpg|none|thumb|Confirm Reload Configuration]]\n\n\nThe reload function load the latest version of the file saved during editing.\nWhen the user changes and saves the document, the application will not see these changes until it is done the \"reload\".\n\nAfter you click \"OK\" the success of the reload operation will be proposed as follows:\n\n[[File:GVConsoleUtilityReload4.jpg|none|thumb|Reload Configuration success]]"
                    }
                ]
            },
            "386": {
                "pageid": 386,
                "ns": 0,
                "title": "Remotemanager-call",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "==Description==\n\nThis {{GVESB}} plug-in allows you to perform a sequence of file operations in a remote file system accessible via various protocols.\n\n=={{VULCON}} / {{GVCONSOLE}} Configuration==\n\nThe operations allowed are: \n* Download a file/directory from a remote directory to a local directory \n* Upload a file/directory from a local directory to a remote directory \n* Control of one or more files (whose name corresponds to a date regular expressions) in a remote directory\n* Deleting a file/directory from a remote directory \n* Rename/move a file/directory in a remote directory\n\n\nThe remotemanager-call Element is used by [[Channel]] and [[routed-call]]. It has the attributes:\n{|class=\"gvtable\"\n! Attribute !! Type !! Description\n|-\n| type || fixed || This attribute must assume the value '''call'''.\n|-\n| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.RemoteManagerCall'''.\n|-\n| name || required || Operation name. Used in the [[Flow]] section to associate workflow nodes to VCL operations.\n|}\n\nand the subelements:\n\n* Description\n* [[FTPManager]] | [[FTPSManager]] | [[SFTPManager]]\n<div class=\"version_ge3.4.0.10\">\n| [[HDFSRemoteManager]]\n</div>\n* RemoteCommands\n\n===RemoteCommands===\n\nThe RemoteCommands element contains the sequence of FTP operations to be carried out. These operations will be performed in the order they were configured. An error in one of the operation marked as critical will terminate the execution of the entire\nsequence.\n\nThe RemoteCommands Element is used by [[remotemanager-call]] and, internally, it is possible to configure the following operations:\n{|class=\"gvtable\"\n! Remote Command !! Use this for...\n|-\n| [[Remotemanager-call#RemoteSearchCommand | RemoteSearchCommand]] || Controlling one or more files (whose name corresponds to a regular expressions) in a remote directory \n|-\n| [[Remotemanager-call#RemoteMoveCommand |RemoteMoveCommand]] || Renaming/moving a file/directory in a remote directory\n|-\n| [[Remotemanager-call#RemoteDeleteCommand |RemoteDeleteCommand]] || Deleting a file/directory from a remote directory \n|-\n| [[Remotemanager-call#RemoteDownloadCommand |RemoteDownloadCommand]] || Downloading a file/directory from a remote directory to a local directory \n|-\n| [[Remotemanager-call#RemoteUploadCommand|RemoteUploadCommand]] || Uploading a file/directory from a local directory to a remote directory \n|}\n\nThe remote commands can have the following subelements:\n* Description\n<div class=\"version_ge3.4.0.10\">\n* [[PropertyDef]]\n</div>\n\n====RemoteSearchCommand====\n\nThe {{GVESB}} operation '''RemoteSearchCommand''' checks if one or more files, whose name conforms to a given regular expression, exists within the specified directory.\n\nOn completion and in the absence of errors the following properties of output GVBuffer are setted:\n# GVRM_FIND_FILES_NUM Number of files found (>= 0)\n# GVRM_FIND_FILES_LIST List of names of found files, separated by ','. Set only if the value of field 'GVRM_FIND_FILES_NUM' is greater than 0. <br/> Both the pattern of the file and that the directory can be static or contain [[placeholders]] that are replaced at runtime.\n\nThe following table shows its attributes:\n\n{|class=\"gvtable\"\n! Attribute !! Type !! Description\n|-\n| type || fixed || This attribute must assume the value '''remote-command'''.\n|-\n| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVSearch'''.\n|-\n| sourcePath || required || Absolute path of the directory to search in.\n|-\n| filePattern || required || File name to search for. Can be a regular expression.\n|-\n| isCritical || optional || If true an internal error interrupt the command sequence. Default true.\n|}\n\n====RemoteMoveCommand====\n\nThe {{GVESB}} operation '''RemoteMoveCommand''' moves/renames a file/directory. \n\nThe file name, the source and destination directory names can be static or contain [[placeholders]] that are replaced at runtime. After the replacement of the [[placeholders|placeholder]], the value of the ''filename'' may contain a regular expression, in which case, all files of the source directory, whose name is in accordance with the corresponding pattern, will be moved to the destination directory. If the destination directory already contains files with the same name, they will be overwritten.\n\nThe following table shows its attributes:\n\n{|class=\"gvtable\"\n! Attribute !! Type !! Description\n|-\n| type || fixed || This attribute must assume the value '''remote-command'''.\n|-\n| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVMove'''.\n|-\n| targetPath || required || Absolute path of the file/directory where is the file to move. \n|-\n| oldName || required || Name of the file to be moved. \n|-\n| newName || required || Name of the file moved. \n|-\n| isCritical || optional || If true an internal error interrupt the command sequence. Default true.\n|}\n\n<div class=\"version_ge3.4.0.10\">\nThe following table shows the PropertyDef possible elements that can be set when the command is executed on the [[HDFSRemoteManager|HDFS]] file system:\n{|class=\"gvtable\"\n! Property !! Possible Values\n|-\n| dfs.file.overwrite || true/false; default=false\n|}\nThis parameter can be used to owerwrite the target destination with the source one when a move operation is used on the HDFS file system.\n\n====RemoteDeleteCommand====\n\nThe {{GVESB}} operation '''RemoteDeleteCommand''' deletes a file or directory. \n\nBoth the file name and the directory can be static or contain [[placeholders]] that are replaced at runtime. After the replacement of the [[placeholders|placeholder]], the value of the ''filename'' may contain a regular expression, in which case, will erase all files in the specified directory whose name is consistent with the corresponding pattern.\n\nThe following table shows its attributes:\n\n{|class=\"gvtable\"\n! Attribute !! Type !! Description\n|-\n| type || fixed || This attribute must assume the value '''remote-command'''.\n|-\n| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVDelete'''\n|-\n| targetPath || required || Absolute path of the file/directory to remove.\n|-\n| filePattern || optional || File name to remove. Might contain a regular expression. It is used only if ''targetPath'' is a directory, and if empty the filter is ignored.\n|-\n| isCritical || optional || If true an internal error interrupt the command sequence. Default true.\n|}\n\n====RemoteDownloadCommand==== \n\nThe {{GVESB}} operation '''RemoteDownloadCommand''' downloads a file or directory from a remote directory and saved in the local directory you specified (or in GVBuffer). \n\nFile names and directories can be static or contain [[placeholders]] that are replaced at runtime.\n\nThe following table shows its attributes:\n\n{|class=\"gvtable\"\n! Attribute !! Type !! Description\n|-\n| type || fixed || This attribute must assume the value '''remote-command'''.\n|-\n| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVDownload'''.\n|-\n| remotePath || required || Pathname of remote directory containing the file to download. It can be an absolute pathname or relative, in the second case it is relative to home directory of ftp user.\n|-\n| remoteFilePattern || required || The name of the file to download.\n|-\n| toGVBufferExpression || optional || GVBuffer OGNL expression used to specify how to handle the current downloaded file. In the expression, the downloaded file will be referenced by the variable #input, and will be a byte [].\n|-\n| targetPath || optional || Pathname of the local directory to save the downloaded file. Must be an absolute pathname.\n|-\n|  isCritical || optional || If true an internal error interrupt the command sequence. Default true.\n|}\n\n<div class=\"version_ge3.4.0.10\">\nThe following table shows the PropertyDef possible elements that can be set when the command is executed on the [[HDFSRemoteManager|HDFS]] file system:\n{|class=\"gvtable\"\n! Property !! Possible Values\n|-\n| dfs.file.delete-source || fixed=false\n|-\n| dfs.file.raw-local-filesystem || fixed=true\n|-\n| dfs.stream-buffer-size || default: 4096\n|}\nThese parameters can be used to specify the related action when a download operation is used on the HDFS file system.\n\n====RemoteUploadCommand====\n\nThe {{GVESB}} operation '''RemoteUploadCommand''' uploads a file from a local directory (or [[GVBuffer]]) to the remote directory specified. \n\nFile and/or directory names can be static or contain [[placeholders]] that are replaced at runtime.\n\nThe following table shows its attributes:\n\n{|class=\"gvtable\"\n! Attribute !! Type !! Description\n|-\n| type || fixed || This attribute must assume the value '''remote-command'''.\n|-\n| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.file.remote.command.GVUpload'''.\n|-\n| sourcePath || optional || Pathname of the local directory where the file is transferred. Must be an absolute pathname.\n|-\n| sourceFilePattern || optional || The name of the file to transfer. \n|-\n| fromGVBufferExpression || optional || OGNL Expression  applied to the current [[GVBuffer]] that specifies how to build the file content. In the expression, the [[GVBuffer]] is associated with #object, and must return a byte[]. \n|-\n| remotePath || required || Pathname of remote directory where upload the file. It can be an absolute pathname or relative, in the second case it is relative to home directory of ftp user.\n|-\n| isCritical || optional || If true an internal error interrupt the command sequence. Default true.\n|}\n\n<div class=\"version_ge3.4.0.10\">\nThe following table shows the PropertyDef possible elements that can be set when the command is executed on the [[HDFSRemoteManager|HDFS]] file system:\n{|class=\"gvtable\"\n! Property !! Possible Values\n|-\n| dfs.file.delete-source || true/false; default=false\n|-\n| dfs.file.overwrite || true/false; default=false\n|-\n| dfs.permissions.path || Unix-like permission Example: 777; default 700\n|-\n| dfs.stream-buffer-size || default: 8192\n|-\n| dfs.replication || default: 1\n|-\n| dfs.blocksize || default: 4194304\n|-\n| dfs.permissions.user || hdfs user owner\n|-\n| dfs.permissions.group || hdfs user group\n|}\nThese parameters can be used to owerwrite the target destination with the source one, set the replication, permissions and the other properties on destination target when an upload operation is used on the HDFS file system."
                    }
                ]
            }
        }
    }
}