Skip to content
Alban LEROUX edited this page Mar 10, 2012 · 5 revisions

API

auth.version

This return the version of the auth plugin API

no grant access required

Request example

GET http://example.com/api/get/auth.version/json/
{
	"method"  : "auth.version",
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
	<method>auth.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 value

The API Auth version.

Clone this wiki locally