GET /api/compute_resources 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "description": "mycompute", "url": "test:///default", "created_at": "2020-05-20 13:24:03 UTC", "updated_at": "2020-05-20 13:24:03 UTC", "id": 367690737, "name": "mycompute", "provider": "Libvirt", "provider_friendly_name": "Libvirt", "display_type": "vnc", "set_console_password": true } ] }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
search optional |
filter results Validations:
|
order optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
page optional |
Page number, starting at 1 Validations:
|
per_page optional |
Number of results per page to return, ‘all’ to return all results Validations:
|
Field name | Type | Possible values |
---|---|---|
id | integer | |
location | string | |
location_id | integer | |
name | string | |
organization | string | |
organization_id | integer | |
type | string |