Skip to content
Alban LEROUX edited this page Sep 13, 2011 · 10 revisions

API

photo.version

This return the version of the photo plugin api

Request example

{
	"method" : "photo.version",
	"data"   : ""
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
	<method>photo.version</method>
	<data />
</xml>

Response example

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

Arguments

No argument needed.

NOTE: Even if no argument needed in the request the field data still mandatory, keep it empty.

Clone this wiki locally