Overview
This article explains how to retrieve all endpoints in the endpoint collection using the JetPatch REST API. The process involves making a GET request to the endpoint list URL and receiving a JSON response containing endpoint objects.
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:///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",
}, { "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"
} ] |
Comments
0 comments
Please sign in to leave a comment.