Skip to content
Alban LEROUX edited this page Sep 19, 2011 · 5 revisions

API

auth.version

This return the version of the auth plugin api

Request example

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