Resource
Using the endpoint below, you can retrieve all the resources that have been created in a particular team.
Get resources
GET
{{BASE_URL}}/admin/api/teams/{id}/resources
Get all resources for a specific team.
Query Parameters
Name | Type | Description |
---|---|---|
page* | String | 1 |
limit* | String | 10 |
Headers
Name | Type | Description |
---|---|---|
Api-Key* | String | Admin api key |
{
"docs": [
{
"_id": "6549ebb3fb723c0a85a5244a",
"region": {
"datacenter": {
"name": "berlin",
"displayName": "Berlin"
},
"physicalLocation": "Germany"
},
"image": {
"version": {
"name": "20_04-lts",
"displayName": "20.04 LTS"
},
"distribution": "Ubuntu"
},
"attestationId": "6392ea3c-5650-4b0c-a1dc-0214780f3955",
"access": null,
"authMethod": 1,
"status": 7,
"isBlocked": false,
"tags": [],
"subscription": null,
"name": "kraud-cloud-ubuntu-1vcpu-4gb-berlin-01",
"provider": {
"_id": "6548a383e2442d14b6bf968b",
"type": "vm",
"isDisabled": false,
"cloudProvider": {
"_id": "6548a383e2442d14b6bf9685",
"name": "Kraud.Cloud",
"isDisabled": false
}
},
"size": {
"_id": "6548a383e2442d14b6bf9745",
"provider": "6548a383e2442d14b6bf968b",
"location": "berlin",
"name": "Standart_berlin_1_4_50",
"vCPUs": 1,
"memoryGB": 4,
"spaceGB": 50,
"group": 0
},
"price": {
"_id": "6548a383e2442d14b6bf970b",
"provider": "6548a383e2442d14b6bf968b",
"locationName": "berlin",
"sizeName": "Standart_berlin_1_4_50",
"imageName": "Ubuntu",
"pricePerHour": 0.04,
"pricePerMonth": 30,
"currencyCode": "EUR",
"createdAt": "2023-11-06T08:27:47.134Z",
"updatedAt": "2023-11-06T08:27:47.134Z"
},
"owner": {
"_id": "6548a41138406c14db33b606",
"name": "John Doe",
"email": "john.doe@mail.com"
},
"project": "6548a41f38406c14db33b62c",
"team": "6548a41f38406c14db33b61e",
"ipConfigurations": [],
"createdAt": "2023-11-07T07:48:03.587Z",
"updatedAt": "2023-11-07T08:59:30.230Z",
"deletedAt": "2023-11-07T08:59:27.195Z",
"type": "vm"
}
],
"totalDocs": 10,
"limit": 1,
"page": 1,
"totalPages": 10,
"pagingCounter": 1,
"hasPrevPage": false,
"hasNextPage": true,
"prevPage": null,
"nextPage": 2
}
Last updated