Web API Reference Guide > Available API Methods > Library Methods > The libraryVersionCheckDependents Method

The libraryVersionCheckDependents Method

Check if a library version has another application or library which depends on it. Should this library version be removed, the dependent application or library may cease to function. A valid result means this library has no dependents that will fail if it were removed.

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 for checking prerequisites.

Expected Response Code: 200 OK  - For more information see Response Format.

Response Type: prerequisitesCheck

Possible Action Specific Error Codes: This action has no specific error codes

Example

Usage Example

Request

GET /ZendServer/Api/libraryVersionCheckDependents?libraryVersionId=13

Response

<?xml version="1.0" encoding="UTF-8"?>

<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.5">

<requestData>

<apiKeyName>angel.eyes</apiKeyName>

<method>libraryVersionCheckDependents</method>

</requestData>

<responseData>

<prerequsitesCheck>

<valid>Yes</valid>

<type>libraryVersion</type>

<identifier>13</identifier>

</prerequsitesCheck>

</responseData>

</zendServerAPIResponse>

 

Read Also

  Available API Methods    
  Library Methods