GET /api/media
すべてのインストールメディアを一覧表示

GET /api/operatingsystems/:operatingsystem_id/media
オペレーティングシステムのすべてのメディアを一覧表示

GET /api/locations/:location_id/media
ロケーションごとにすべてのメディアを一覧表示

GET /api/organizations/:organization_id/media
組織ごとにすべてのメディアを一覧表示

Params

Param Name Description
operatingsystem_id
Optional

オペレーティングシステムの ID


Value: Must be String
search
Optional

結果をフィルタ


Value: Must be String
order
Optional

結果をソート


Value: Must be String
page
Optional

結果をページ分割


Value: Must be String
per_page
Optional

リクエストあたりのエントリ数


Value: Must be String

GET /api/media/:id
メディアの表示

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

POST /api/media
メディアの作成

Params

Param Name Description
medium
Required

Value: Must be a Hash
medium[name]
Required

メディアの名前


Value: Must be String
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.


Value: Must be String
medium[os_family]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

オペレーティングシステムファミリー、利用可能な値 : AIX, Altlinux, Archlinux, Coreos, Debian, Freebsd, Gentoo, Junos, NXOS, Redhat, Solaris, Suse, Windows


Value: Must be String
medium[operatingsystem_ids]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Value: Must be an array of any type

PUT /api/media/:id
メディアの更新

Params

Param Name Description
id
Required

Value: Must be String
medium
Required

Value: Must be a Hash
medium[name]
Optional

メディアの名前


Value: Must be String
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.


Value: Must be String
medium[os_family]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

オペレーティングシステムファミリー、利用可能な値 : AIX, Altlinux, Archlinux, Coreos, Debian, Freebsd, Gentoo, Junos, NXOS, Redhat, Solaris, Suse, Windows


Value: Must be String
medium[operatingsystem_ids]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Value: Must be an array of any type

DELETE /api/media/:id
メディアの削除

Params

Param Name Description
id
Required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.