GET /api/operatingsystems 200 { "total": 7, "subtotal": 7, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "description": null, "major": "1", "minor": "1", "family": "Redhat", "release_name": null, "password_hash": "SHA256", "created_at": "2018-11-15 19:01:27 UTC", "updated_at": "2018-11-15 19:01:27 UTC", "id": 775246587, "name": "NoHosts", "title": "NoHosts 1.1" }, { "description": null, "major": "12", "minor": "3", "family": "Suse", "release_name": null, "password_hash": "SHA256", "created_at": "2018-11-15 19:01:27 UTC", "updated_at": "2018-11-15 19:01:27 UTC", "id": 750842046, "name": "OpenSuse", "title": "OpenSuSE 12.3" }, { "description": "RHEL 6.1", "major": "6", "minor": "1", "family": "Redhat", "release_name": null, "password_hash": "SHA256", "created_at": "2018-11-15 19:01:27 UTC", "updated_at": "2018-11-15 19:01:27 UTC", "id": 1073012828, "name": "Redhat", "title": "RHEL 6.1" }, { "description": null, "major": "5", "minor": "10", "family": "Solaris", "release_name": "hw0910", "password_hash": "SHA256", "created_at": "2018-11-15 19:01:27 UTC", "updated_at": "2018-11-15 19:01:27 UTC", "id": 442321401, "name": "Solaris", "title": "Solaris 5.10" }, { "description": null, "major": "10", "minor": "10", "family": "Debian", "release_name": null, "password_hash": "SHA256", "created_at": "2018-11-15 19:01:27 UTC", "updated_at": "2018-11-15 19:01:27 UTC", "id": 331303656, "name": "Ubuntu", "title": "Ubuntu 10.10" }, { "description": null, "major": "12", "minor": "10", "family": "Debian", "release_name": null, "password_hash": "SHA256", "created_at": "2018-11-15 19:01:27 UTC", "updated_at": "2018-11-15 19:01:27 UTC", "id": 272342666, "name": "Ubuntu", "title": "Ubuntu 12.10" }, { "description": null, "major": "5", "minor": "3", "family": "Redhat", "release_name": null, "password_hash": "SHA256", "created_at": "2018-11-15 19:01:27 UTC", "updated_at": "2018-11-15 19:01:27 UTC", "id": 309172073, "name": "centos", "title": "centos 5.3" } ] }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
architecture_id optional |
ID of architecture Validations:
|
medium_id optional |
ID of medium Validations:
|
ptable_id optional |
ID of partition table Validations:
|
config_template_id optional |
ID of template Validations:
|
provisioning_template_id optional |
ID of template Validations:
|
os_parameters_attributes optional |
Array of parameters Validations:
|
os_parameters_attributes[name] required |
Name of the parameter Validations:
|
os_parameters_attributes[value] required |
Parameter value Validations:
|
search optional |
filter results Validations:
|
order optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
page optional |
paginate results Validations:
|
per_page optional |
number of entries per request Validations:
|
Field name | Type | Possible values |
---|---|---|
architecture | string | |
description | string | |
family | string | |
major | string | |
medium | string | |
minor | string | |
name | string | |
params | text | |
template | string | |
title | string |