Overview
This article describes how to retrieve all endpoints from the endpoint collection using a GET request to the endpointlist-url.
The response returns a JSON array containing endpoint objects with their associated URLs and status information.
Request Syntax
To retrieve all endpoints in the endpoint collection, the client should use the following request syntax:
GET <endpointlist-url>
Example Request
endpointlist-url: https://<CORE_SERVER>/vmanage-server/rest/rest-api/servers/
Response Format
The response includes a JSON list of endpoint objects. For example:
|
[ { "url":"/vmanage-server/rest/rest-api/servers/79", "status":"OK", "connectorUrl":"/vmanage-server/rest/rest-api/servers/79/connector", "vagentsUrl":"/vmanage-server/rest/rest-api/servers/79/vagents", <more object fields> }, { "url":"/vmanage-server/rest/rest-api/servers/81", "status":"OK", "connectorUrl":"/vmanage-server/rest/rest-api/servers/81/connector", "vagentsUrl": "/vmanage-server/rest/rest-api/servers/81/vagents" <more object fields> } ] |
Comments
0 comments
Please sign in to leave a comment.