Param name | Description |
---|---|
operatingsystem_id optional |
ID of operating system Validations:
|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
search optional |
filter results Validations:
|
order optional |
Sort and order by a searchable field, e.g. '<field> 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 |
---|---|---|
family | string | |
id | integer | |
location | string | |
location_id | integer | |
name | string | |
organization | string | |
organization_id | integer | |
path | string |
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
medium required |
Validations:
|
medium[name] required |
Name of media Validations:
|
medium[path] required |
The path to the medium, can be a URL or a valid NFS server (exclusive of the architecture). for example mirror.centos.org/centos/$version/os/$arch where $arch will be substituted for the host's actual OS architecture and $version, $major and $minor will be substituted for the version of the operating system. Solaris and Debian media may also use $release. Validations:
|
medium[os_family] optional , nil allowed |
Operating system family, available values: AIX, Altlinux, Archlinux, Coreos, Debian, Fcos, Freebsd, Gentoo, Junos, NXOS, Rancheros, Redhat, Rhcos, Solaris, Suse, VRP, Windows, Xenserver Validations:
|
medium[operatingsystem_ids] optional , nil allowed |
Validations:
|
medium[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
medium[organization_ids] optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
medium required |
Validations:
|
medium[name] optional |
Name of media Validations:
|
medium[path] optional |
The path to the medium, can be a URL or a valid NFS server (exclusive of the architecture). for example mirror.centos.org/centos/$version/os/$arch where $arch will be substituted for the host's actual OS architecture and $version, $major and $minor will be substituted for the version of the operating system. Solaris and Debian media may also use $release. Validations:
|
medium[os_family] optional , nil allowed |
Operating system family, available values: AIX, Altlinux, Archlinux, Coreos, Debian, Fcos, Freebsd, Gentoo, Junos, NXOS, Rancheros, Redhat, Rhcos, Solaris, Suse, VRP, Windows, Xenserver Validations:
|
medium[operatingsystem_ids] optional , nil allowed |
Validations:
|
medium[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
medium[organization_ids] optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|