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

API

photo.version

This return the version of the photo plugin api

Request example

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

Response example

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

Arguments

No argument needed.

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

Clone this wiki locally