The libraryVersionGetStatus Web API Method
Get the library version ID that is deployed on the server or the cluster, and information about that version and its library.
Version: 1.5
Required Permissions: Read-only
HTTP method: GET
Supported by Editions: Zend Server
Request Parameters:
Parameter |
Type |
Required |
Description |
libraryVersionId |
Integer |
Yes |
A library version ID |
Expected Response Code: 200 OK - For more information see Response Format.
Response Type: libraryVersionInfo
Possible Action Specific Error Codes: This action has no specific error codes
Example
|
RequestGET /ZendServer/Api/libraryVersionGetStatus?libraryVersionId=2 Response<?xml version="1.0" encoding="UTF-8"?><zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.3"><requestData><apiKeyName>angel.eyes</apiKeyName><method>libraryVersionGetStatus</method></requestData><responseData><libraryInfo><libraryId>1</libraryId><libraryName>Zend Framework</libraryName><status>OK</status><libraryVersions><libraryVersion><libraryVersionId>1</libraryVersionId><version>1.12.1</version><default>true</default><status>staging</status><installedLocation><![CDATA[/path/to/lib]]></installedLocation><isDefinedLibrary>false</isDefinedLibrary><creationTime>1970-01-01T02:00:00+02:00</creationTime><creationTimeTimestamp>12345</creationTimeTimestamp><lastUsed>1970-01-01T02:00:00+02:00</lastUsed><lastUsedTimeTimestamp>12345</lastUsedTimeTimestamp><prerequisites><dependencies><required><extension><name>pdo_mysql</name></extension></required></dependencies></prerequisites><servers><libraryServer><id>0</id><status>staging</status><lastMessage><![CDATA[]]></lastMessage><lastUpdatedTimestamp>1367237856</lastUpdatedTimestamp></libraryServer><libraryServer><id>1</id><status>staging</status><lastMessage><![CDATA[]]></lastMessage><lastUpdatedTimestamp>1367237856</lastUpdatedTimestamp></libraryServer><libraryServer><id>2</id><status>staging</status><lastMessage><![CDATA[]]></lastMessage><lastUpdatedTimestamp>1367237856</lastUpdatedTimestamp></libraryServer></servers></libraryVersion></libraryVersions></libraryInfo></responseData></zendServerAPIResponse> |