NU IT
Northwestern University Information Technology
MorphAdorner Northwestern
 
MorphAdorner Server Services: Version Service

Service name: version
Service description: MorphAdorner client and server versions.
HTTP methods allowed: GET, POST, OPTIONS
POST accepts as input: application/x-www-form-urlencoded
HTTP return codes: 200: service succeeded
400: service failed with an error

Query parameters

    media Result format. One of json, xml, html, text .

Sample POST form

<form accept-charset="UTF-8" method="post" action="version"
      target="_blank"
      name="version">
<table cellpadding="0" cellspacing="5">
<tr>
<td valign="top">
<strong>Results format:</strong>
</td>
<td>
<input type="radio" name="media" value="json">JSON format</input><br />
<input type="radio" name="media" value="xml" checked="checked">XML format</input><br />
<input type="radio" name="media" value="html">HTML format</input><br />
<input type="radio" name="media" value="text">Text format</input>
</td>
</tr>
<tr>
<td>
<input type="submit" name="version" value="Get version" />
</td>
</tr>
<tr>
</table>
</form>

Output

Here is sample output for the version service. The MorphAdorner client library version is provided as morphAdornerVersion, and the MorphAdorner server version is provided as morphAdornerServerVersion.

JSON output

{
  "VersionResult": {
    "morphAdornerVersion": "2.0.1",
    "morphAdornerServerVersion": 1.0.0
  }
}

XML output

<VersionResult>
    <morphAdornerVersion>2.0.1</morphAdornerVersion>
    <morphAdornerServerVersion>1.0.0</morphAdornerServerVersion>
</VersionResult>

HTML output (source)

<h3>Program Versions</h3>
<table border="0">
<tr>
<td valign="top" align="left"><strong>MorphAdorner version:</strong></td>
<td valign="top" align="left">2.0.1</td>
</tr>
<tr>
<td valign="top" align="left"><strong>MorphAdorner Server version:</strong></td>
<td valign="top" align="left">1.0.0</td>
</tr>
</table>

HTML output (display)

Program Versions

MorphAdorner version: 2.0.1
MorphAdorner server version: 1.0.0

Text output

Program Versions
MorphAdorner version:	2.0.1
MorphAdorner Server version:	1.0.0
Home
 
Announcements and News
 
Documentation
 
Download MorphAdorner
 
Glossary
 
Helpful References
 
Licenses
 
Server
 
Talks
 
Tech Talk