GET /api/hosts/980190962/module_streams
200
{
"total": 3,
"subtotal": 3,
"selectable": 3,
"page": 1,
"per_page": 20,
"error": null,
"search": null,
"sort": {
"by": "name",
"order": "asc"
},
"results": [
{
"status": "enabled",
"installed_profiles": null,
"upgradable": false,
"install_status": "Not installed",
"id": 62347170,
"name": "Ohio",
"stream": "noitsariver",
"module_spec": "Ohio:noitsariver"
},
{
"status": "enabled",
"installed_profiles": [
"default"
],
"upgradable": false,
"install_status": "Up-to-date",
"id": 53289001,
"name": "one",
"stream": "noitsariver",
"module_spec": "one:noitsariver"
},
{
"status": "disabled",
"installed_profiles": null,
"upgradable": false,
"install_status": "Not installed",
"id": 680209599,
"name": "two",
"stream": "noitsariver",
"module_spec": "two:noitsariver"
}
]
}
| Param name | Description |
|---|---|
|
host_id
required |
ID of the host Validations:
|
|
status
optional |
Streams based on the host based on their status Validations:
|
|
install_status
optional |
Streams based on the host based on the installation status Validations:
|
|
search
optional |
Search string Validations:
|
|
page
optional |
Page number, starting at 1 Validations:
|
|
per_page
optional |
Number of results per page to return Validations:
|
|
order
optional |
Sort field and order, eg. 'id DESC' Validations:
|
|
full_result
optional |
Whether or not to show all results Validations:
|
|
sort_by
optional |
Field to sort the results on Validations:
|
|
sort_order
optional |
How to order the sorted results (e.g. ASC for ascending) Validations:
|