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",
	"request" : ""
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
	<method>photo.version</method>
	<request />
</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.

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

Clone this wiki locally