Skip to content
Jay Williams edited this page Mar 7, 2012 · 10 revisions

API

photo.version

This return the version of the photo plugin API

no grant access required

Request example

GET http://example.com/api/get/photo.version/json/
{
	"method"  : "photo.version",
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
	<method>photo.version</method>
</xml>

Response example

{
	"status"   : "valid",
	"response" : { "version" : "1.0.0" }
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
	<status>valid</status>
	<response>
		<version>1.0.0</version>
	</response>
</xml>

Arguments

No argument needed.

Return values

  • version : The plugin version number.
Clone this wiki locally