https://ark.lparchaeology.com/wiki/index.php?title=DescribeARK&feed=atom&action=historyDescribeARK - Revision history2024-03-29T10:53:34ZRevision history for this page on the wikiMediaWiki 1.27.1https://ark.lparchaeology.com/wiki/index.php?title=DescribeARK&diff=3268&oldid=prevStuarteve: Created page with "This method is used to provide some simple metadata about the ARK instance ===Path=== http://your.ark.instance/api.php?req=describeARK ===Arguments=== This method has no mand..."2014-04-09T15:22:43Z<p>Created page with "This method is used to provide some simple metadata about the ARK instance ===Path=== http://your.ark.instance/api.php?req=describeARK ===Arguments=== This method has no mand..."</p>
<p><b>New page</b></p><div>This method is used to provide some simple metadata about the ARK instance<br />
<br />
===Path===<br />
<br />
http://your.ark.instance/api.php?req=describeARK<br />
<br />
===Arguments===<br />
<br />
This method has no mandatory arguments, although if anonymous logins are not enabled a username and password will need to be supplied:<br />
<br />
*'''handle''' - username<br />
<br />
*'''passwd''' - password<br />
<br />
The method returns a JSON array unless otherwise specified:<br />
<br />
*'''format''' - 'json' by default, but sending 'html' prints a human-readable array to screen<br />
<br />
===Example===<br />
<br />
http://your.ark.instance/api.php?req=describeARK&handle=johndoe&passwd=johndoepassword<br />
<br />
Example return (returned JSONified - displayed as an array here for ease of viewing):<br />
<br />
<pre><br />
Array<br />
(<br />
[ark_name] => leskernick<br />
[ark_name_readable] => The Leskernick ARK<br />
[version] => 1.2.d<br />
)<br />
</pre></div>Stuarteve