Changes between Version 5 and Version 6 of Help/Preferences/RemoteControl


Ignore:
Timestamp:
2012-01-23T15:59:53+01:00 (14 years ago)
Author:
stoecker
Comment:

Typos

Legend:

Unmodified
Added
Removed
Modified
  • Help/Preferences/RemoteControl

    v5 v6  
    4141==== Example ====
    4242
    43 Start JOSM (don't forget to enable the RemoteControl feature), then click on:
     43Start JOSM (don't forget to enable the !RemoteControl feature), then click on:
    4444
    4545[http://127.0.0.1:8111/load_and_zoom?left=8.19&right=8.20&top=48.605&bottom=48.590&select=node413602999]
     
    6161}}}
    6262=== {{{version}}} ===
    63 This command returns the current protocol version of the installed JOSM RemoteControl plugin. Developers can use it to query for a running instance of JOSM and also determine whether the requested functionality is available in the client.
     63This command returns the current protocol version of the installed !RemoteControl interface. Developers can use it to query for a running instance of JOSM and also determine whether the requested functionality is available in the client.
    6464{{{
    6565GET /version[?jsonp=callback]
    6666}}}
    6767
    68 The command returns a json object containing an application identifier that is always "JOSM RemoteControl", a major number and a minor number. Compatible protocol changes result in an increase of the minor number. Incompatible changes increase the major number. So a client application knowing of protocol version 1.0 can still talk to JOSM having 1.1. But it's not guaranteed to be working with 2.0. So the client should verify the major number.
     68The command returns a json object containing an application identifier that is always "JOSM !RemoteControl", a major number and a minor number. Compatible protocol changes result in an increase of the minor number. Incompatible changes increase the major number. So a client application knowing of protocol version 1.0 can still talk to JOSM having 1.1. But it's not guaranteed to be working with 2.0. So the client should verify the major number.
    6969
    7070A typical output looks like this:
     
    137137}
    138138}}}
    139 === other commands ===
     139
     140=== Other commands ===
    140141Remotecontrol allows other plugins to add additional commands. The other registers a RequestHandler class and specifies a command to be handled by this class. The command syntax has to be defined by the other plugin.
    141142
    142143Reverter plugin since 27091 makes use of this feature.
    143144
    144 == See also =
     145== See also ==
    145146[http://wiki.openstreetmap.org/wiki/JOSM/Plugins/RemoteControl Old JOSM Remote-Plugin page at OSM wiki]
    146147