Get all edge servers registered in the system
/api/v1/edgesAPI to retrieve a list of edge servers. The result is paginated based on the provided query parameters. Refer to Edge Server for more information about the edge object.
Access Token is required.
Refer to Authentication for more information.
{
"results": [
{
"id": "string",
"name": "string",
"description": "string",
"status": "enum(active | inactive)",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"total_cnt": 100,
"page": 1,
"size": 10,
"max_page": 10
}const response = await fetch('https://api.example.com/v1/edges?page=1&size=10', {
method: 'GET',
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();110Page number for pagination (must be > 0)
Number of items per page (must be > 0 and < 101)