MediaHarbor API (2023.10.25)

Download OpenAPI specification:Download

Layout

レイアウト関連

レイアウトを取得

指定のレイアウトIDのレイアウトを取得
指定が無い場合は全て取得

query Parameters
id
string <uuid>

レイアウトID

Responses

Response samples

Content type
application/json
[
  • {
    • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    • "name": "Layout1",
    • "elements": [
      • {
        • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        • "layout_id": "118c4a32-91d1-4a21-89a4-a345ccd91280",
        • "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
        • "skin_id": "91123d75-4c4f-49fe-82c0-4ff966bdbbb6",
        • "left": 0,
        • "top": 0,
        • "width": 0,
        • "height": 0,
        • "createdAt": "2019-08-24T14:15:22Z",
        • "updatedAt": "2019-08-24T14:15:22Z",
        • "source": {
          • "name": "string",
          • "protpcol_type_id": 1,
          • "source_type_id": 1
          }
        }
      ]
    }
]

レイアウトを作成

新規レイアウトIDを作成。

Request Body schema: application/json
name
string

レイアウト名

Responses

Request samples

Content type
application/json
{
  • "name": "Layout1"
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "Layout1",
  • "elements": [
    • {
      • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      • "layout_id": "118c4a32-91d1-4a21-89a4-a345ccd91280",
      • "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
      • "skin_id": "91123d75-4c4f-49fe-82c0-4ff966bdbbb6",
      • "left": 0,
      • "top": 0,
      • "width": 0,
      • "height": 0,
      • "createdAt": "2019-08-24T14:15:22Z",
      • "updatedAt": "2019-08-24T14:15:22Z",
      • "source": {
        • "name": "string",
        • "protpcol_type_id": 1,
        • "source_type_id": 1
        }
      }
    ]
}

レイアウトを更新

指定のレイアウトIDのレイアウトを更新

query Parameters
id
required
string <uuid>

レイアウトID

Request Body schema: application/json
id
required
string <uuid>

レイアウトID

name
required
string

レイアウト名

required
Array of objects (elements)

Responses

Request samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "Layout1",
  • "elements": [
    • {
      • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      • "layout_id": "118c4a32-91d1-4a21-89a4-a345ccd91280",
      • "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
      • "skin_id": "91123d75-4c4f-49fe-82c0-4ff966bdbbb6",
      • "left": 0,
      • "top": 0,
      • "width": 0,
      • "height": 0,
      • "createdAt": "2019-08-24T14:15:22Z",
      • "updatedAt": "2019-08-24T14:15:22Z",
      • "source": {
        • "name": "string",
        • "protpcol_type_id": 1,
        • "source_type_id": 1
        }
      }
    ]
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "Layout1",
  • "elements": [
    • {
      • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      • "layout_id": "118c4a32-91d1-4a21-89a4-a345ccd91280",
      • "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
      • "skin_id": "91123d75-4c4f-49fe-82c0-4ff966bdbbb6",
      • "left": 0,
      • "top": 0,
      • "width": 0,
      • "height": 0,
      • "createdAt": "2019-08-24T14:15:22Z",
      • "updatedAt": "2019-08-24T14:15:22Z",
      • "source": {
        • "name": "string",
        • "protpcol_type_id": 1,
        • "source_type_id": 1
        }
      }
    ]
}

レイアウトを削除

指定のレイアウトIDのレイアウト情報を削除します

query Parameters
id
required
string <uuid>

レイアウトID

Responses

現在のレイアウト情報を取得

指定のレイアウトIDのレイアウトを取得

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "Layout1",
  • "elements": [
    • {
      • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      • "layout_id": "118c4a32-91d1-4a21-89a4-a345ccd91280",
      • "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
      • "skin_id": "91123d75-4c4f-49fe-82c0-4ff966bdbbb6",
      • "left": 0,
      • "top": 0,
      • "width": 0,
      • "height": 0,
      • "createdAt": "2019-08-24T14:15:22Z",
      • "updatedAt": "2019-08-24T14:15:22Z",
      • "source": {
        • "name": "string",
        • "protpcol_type_id": 1,
        • "source_type_id": 1
        }
      }
    ]
}

レイアウト要素を追加

新規レイアウトIDを作成。

Request Body schema: application/json
layout_id
required
string <uuid>

レイアウトID

source_id
required
string <uuid>

ソースID

skin_id
string <uuid>

スキンID

left
required
integer <int32>

左上X座標

top
required
integer <int32>

左上Y座標

width
required
integer <int32>

height
required
integer <int32>

高さ

Responses

Request samples

Content type
application/json
{
  • "layout_id": "118c4a32-91d1-4a21-89a4-a345ccd91280",
  • "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
  • "skin_id": "91123d75-4c4f-49fe-82c0-4ff966bdbbb6",
  • "left": 0,
  • "top": 0,
  • "width": 240,
  • "height": 135
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "layout_id": "118c4a32-91d1-4a21-89a4-a345ccd91280",
  • "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
  • "skin_id": "91123d75-4c4f-49fe-82c0-4ff966bdbbb6",
  • "left": 0,
  • "top": 0,
  • "width": 0,
  • "height": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "source": {
    • "name": "string",
    • "protpcol_type_id": 1,
    • "source_type_id": 1
    }
}

レイアウト要素を更新

指定のレイアウトIDのレイアウトを更新

Request Body schema: application/json
id
required
string <uuid>

要素ID

source_id
string <uuid>

ソースID

skin_id
string <uuid>

スキンID

left
integer <int32>

左上X座標

top
integer <int32>

左上Y座標

width
integer <int32>

height
integer <int32>

高さ

Responses

Request samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
  • "skin_id": "91123d75-4c4f-49fe-82c0-4ff966bdbbb6",
  • "left": 0,
  • "top": 0,
  • "width": 480,
  • "height": 270
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "Layout1",
  • "elements": [
    • {
      • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      • "layout_id": "118c4a32-91d1-4a21-89a4-a345ccd91280",
      • "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
      • "skin_id": "91123d75-4c4f-49fe-82c0-4ff966bdbbb6",
      • "left": 0,
      • "top": 0,
      • "width": 0,
      • "height": 0,
      • "createdAt": "2019-08-24T14:15:22Z",
      • "updatedAt": "2019-08-24T14:15:22Z",
      • "source": {
        • "name": "string",
        • "protpcol_type_id": 1,
        • "source_type_id": 1
        }
      }
    ]
}

レイアウト要素を削除

指定のレイアウトIDのレイアウト情報を削除します

query Parameters
id
required
string <uuid>

要素ID

Responses

レイアウト要素を全削除

指定のレイアウトIDのレイアウト情報を全削除します

query Parameters
id
required
string <uuid>

レイアウトID

Responses

現在のレイアウトIDを取得

現在のレイアウトIDを取得

Responses

レイアウト選択を切り替え

レイアウト選択を切り替え

query Parameters
id
required
string <uuid>

レイアウトID

Responses

レイアウト選択を切り替え

レイアウト選択を切り替え

Request Body schema: application/json
id
required
string <uuid>

レイアウトID

Responses

Request samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}

Source

入力ソース関連

入力ソース情報を取得

入力ソースの情報を返します
ソースID指定無しの場合は全ての一覧を返します

query Parameters
id
string <uuid>

ソースID

Responses

Response samples

Content type
application/json
[
  • {
    • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    • "name": "string",
    • "deehiveKey": "AAA0000-000",
    • "protocol_type_id": 1,
    • "parameter": {
      • "connection": {
        • "mode": "Listener",
        • "port": 51000
        },
      • "srt": {
        • "latency": 250,
        • "rcvbuf": 868608,
        • "sndbuf": 868608,
        • "maxbw": 0,
        • "cryptomode": 1,
        • "passphrase": "string",
        • "oheadbw": 25,
        • "mss": 1496,
        • "ttl": 64,
        • "tos": "0x2E"
        }
      },
    • "zoom": {
      • "video_type": "high",
      • "streams": {
        • "width": 1280,
        • "height": 720,
        • "avgBitRate": "2000K"
        }
      },
    • "deZoom": {
      • "video_type": "low",
      • "streams": {
        • "width": 256,
        • "height": 144,
        • "avgBitRate": "1K"
        }
      }
    }
]

入力ソースを新規登録

新しいソースを追加します。 ソースIDは新しいUUIDを割り当て、返答に含めます。

Request Body schema: application/json
deehiveKey
string

ユニットID

name
required
string

ソース名

protocol_type_id
required
integer

プロトコルタイプID(1=srt, 2=file, 3=rtp)

object

パラメータ

object

Zoom時のビデオパラメータ

object

通常時のビデオパラメータ

Responses

Request samples

Content type
application/json
Example
{
  • "deehiveKey": "AAA0000-000",
  • "name": "string",
  • "protocol_type_id": "1",
  • "parameter": {
    • "connection": {
      • "mode": "Listener",
      • "port": 51000
      },
    • "srt": {
      • "latency": 250,
      • "rcvbuf": 868608,
      • "sndbuf": 868608,
      • "maxbw": 0,
      • "cryptomode": 1,
      • "passphrase": "string",
      • "oheadbw": 25,
      • "mss": 1496,
      • "ttl": 64,
      • "tos": "0x2E"
      },
    • "probesize": 100
    },
  • "zoom": {
    • "video_type": "high",
    • "streams": {
      • "width": 1280,
      • "height": 720,
      • "avgBitRate": "2000K"
      }
    },
  • "deZoom": {
    • "video_type": "low",
    • "streams": {
      • "width": 256,
      • "height": 144,
      • "avgBitRate": "1K"
      }
    }
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "deehiveKey": "AAA0000-000",
  • "protocol_type_id": 1,
  • "parameter": {
    • "connection": {
      • "mode": "Listener",
      • "port": 51000
      },
    • "srt": {
      • "latency": 250,
      • "rcvbuf": 868608,
      • "sndbuf": 868608,
      • "maxbw": 0,
      • "cryptomode": 1,
      • "passphrase": "string",
      • "oheadbw": 25,
      • "mss": 1496,
      • "ttl": 64,
      • "tos": "0x2E"
      }
    },
  • "zoom": {
    • "video_type": "high",
    • "streams": {
      • "width": 1280,
      • "height": 720,
      • "avgBitRate": "2000K"
      }
    },
  • "deZoom": {
    • "video_type": "low",
    • "streams": {
      • "width": 256,
      • "height": 144,
      • "avgBitRate": "1K"
      }
    }
}

入力ソース情報を更新

指定のソースIDのソース情報を更新します

query Parameters
id
required
string <uuid>

ソースID

Request Body schema: application/json
name
required
string

ソース名

deehiveKey
string

ユニットID

protocol_type_id
required
integer

プロトコルタイプID(1=srt, 2=file, 3=rtp)

object

パラメータ

object

Zoom時のビデオパラメータ

object

通常時のビデオパラメータ

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "deehiveKey": "AAA0000-000",
  • "protocol_type_id": 1,
  • "parameter": {
    • "connection": {
      • "mode": "Listener",
      • "port": 51000
      },
    • "srt": {
      • "latency": 250,
      • "rcvbuf": 868608,
      • "sndbuf": 868608,
      • "maxbw": 0,
      • "cryptomode": 1,
      • "passphrase": "string",
      • "oheadbw": 25,
      • "mss": 1496,
      • "ttl": 64,
      • "tos": "0x2E"
      },
    • "probesize": 100
    },
  • "zoom": {
    • "video_type": "high",
    • "streams": {
      • "width": 1280,
      • "height": 720,
      • "avgBitRate": "2000K"
      }
    },
  • "deZoom": {
    • "video_type": "low",
    • "streams": {
      • "width": 256,
      • "height": 144,
      • "avgBitRate": "1K"
      }
    }
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "deehiveKey": "AAA0000-000",
  • "protocol_type_id": 1,
  • "parameter": {
    • "connection": {
      • "mode": "Listener",
      • "port": 51000
      },
    • "srt": {
      • "latency": 250,
      • "rcvbuf": 868608,
      • "sndbuf": 868608,
      • "maxbw": 0,
      • "cryptomode": 1,
      • "passphrase": "string",
      • "oheadbw": 25,
      • "mss": 1496,
      • "ttl": 64,
      • "tos": "0x2E"
      }
    },
  • "zoom": {
    • "video_type": "high",
    • "streams": {
      • "width": 1280,
      • "height": 720,
      • "avgBitRate": "2000K"
      }
    },
  • "deZoom": {
    • "video_type": "low",
    • "streams": {
      • "width": 256,
      • "height": 144,
      • "avgBitRate": "1K"
      }
    }
}

入力ソース情報を削除

指定のソースIDのソース情報を削除します

query Parameters
id
required
string <uuid>

ソースID

Responses

Resource

リソース関連

リソース情報を取得

リソースの情報を返します
ソースID指定無しの場合は全ての一覧を返します

query Parameters
id
string <uuid>

リソースID

Responses

Response samples

Content type
application/json
[
  • {
    • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    • "name": "ロゴ画像",
    • "parameter": {
      • "id": 1,
      • "type": "picture",
      • "data": "data:image/png;base64,AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
      }
    }
]

リソースを新規登録

新しいリソースを追加します。
リソースIDは新しいUUIDを割り当て、返答に含めます。

Request Body schema: application/json
One of
name
required
string

リソース名

object

Responses

Request samples

Content type
application/json
Example
{
  • "name": "サンプルテキスト",
  • "parameter": {
    • "id": 2,
    • "type": "text",
    • "text": "This is display text."
    }
}

Response samples

Content type
application/json
Example
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "サンプルテキスト",
  • "parameter": {
    • "id": 2,
    • "type": "text",
    • "text": "This is display text."
    }
}

リソース情報を更新

指定のソースIDのソース情報を更新します

query Parameters
id
required
string <uuid>

ソースID

Request Body schema: application/json
One of
name
required
string

リソース名

object

Responses

Request samples

Content type
application/json
Example
{
  • "name": "サンプルテキスト",
  • "parameter": {
    • "id": 2,
    • "type": "text",
    • "text": "This is display text."
    }
}

Response samples

Content type
application/json
Example
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "サンプルテキスト",
  • "parameter": {
    • "id": 2,
    • "type": "text",
    • "text": "This is display text."
    }
}

リソース情報を削除

指定のソースIDのソース情報を削除します

query Parameters
id
required
string <uuid>

ソースID

Responses

Config

設定関連

設定を取得

Responses

Response samples

Content type
application/json
{
  • "global": {
    • "http_iface": "127.0.0.1",
    • "http_port": 10080,
    • "mhbs_server_address": "http://127.0.0.1:10180",
    • "mhb_api_address": "http://127.0.0.1:8080",
    • "media_dir": "/usr/local/share/video",
    • "media_json": "./conf/input.json",
    • "layout_json": "./conf/layout.json"
    },
  • "render": {
    • "width": 1920,
    • "height": 1080
    },
  • "srt": {
    • "enable": true,
    • "video": {
      • "endcoder": {
        • "name": "openh264",
        • "options": [ ]
        },
      • "width": 1920,
      • "height": 1080,
      • "bitrate": 5000000
      }
    },
  • "webrtc": {
    • "enable": true,
    • "video": {
      • "endcoder": {
        • "name": "openh264",
        • "options": [ ]
        },
      • "width": 1920,
      • "height": 1080,
      • "bitrate": 5000000
      }
    },
  • "displayout": {
    • "enable": true
    }
}

一般設定を更新

Request Body schema: application/json
http_iface
required
string

合成部のHTTPポート

http_port
required
number

合成部のHTTPアドレス

mhbs_server_address
required
string

MultiviewerサーバーのHTTPアドレス

mhb_api_address
required
string

MediaHarborAPIサーバーのHTTPアドレス

media_dir
required
string

ファイルソースの場所

media_json
required
string

ソース設定jsonの場所

layout_json
required
string

レイアウト設定jsonの場所

Responses

Request samples

Content type
application/json
{
  • "http_iface": "127.0.0.1",
  • "http_port": 10080,
  • "mhbs_server_address": "http://127.0.0.1:10180",
  • "mhb_api_address": "http://127.0.0.1:8080",
  • "media_dir": "/usr/local/share/video",
  • "media_json": "./conf/input.json",
  • "layout_json": "./conf/layout.json"
}

Response samples

Content type
application/json
{
  • "http_iface": "127.0.0.1",
  • "http_port": 10080,
  • "mhbs_server_address": "http://127.0.0.1:10180",
  • "mhb_api_address": "http://127.0.0.1:8080",
  • "media_dir": "/usr/local/share/video",
  • "media_json": "./conf/input.json",
  • "layout_json": "./conf/layout.json"
}

レンダー設定を更新

Request Body schema: application/json
width
required
string

height
required
string

高さ

Responses

Request samples

Content type
application/json
{
  • "width": 1920,
  • "height": 1080
}

Response samples

Content type
application/json
{
  • "width": 1920,
  • "height": 1080
}

SRT設定を更新

Request Body schema: application/json
enable
required
boolean

出力有効

required
object

出力動画設定

Responses

Request samples

Content type
application/json
{
  • "enable": true,
  • "video": {
    • "endcoder": {
      • "name": "openh264",
      • "options": [ ]
      },
    • "width": 1920,
    • "height": 1080,
    • "bitrate": 5000000
    }
}

Response samples

Content type
application/json
{
  • "enable": true,
  • "video": {
    • "endcoder": {
      • "name": "openh264",
      • "options": [ ]
      },
    • "width": 1920,
    • "height": 1080,
    • "bitrate": 5000000
    }
}

WebRTC設定を更新

Request Body schema: application/json
enable
required
boolean

出力有効

required
object

出力動画設定

Responses

Request samples

Content type
application/json
{
  • "enable": true,
  • "video": {
    • "endcoder": {
      • "name": "openh264",
      • "options": [ ]
      },
    • "width": 1920,
    • "height": 1080,
    • "bitrate": 5000000
    }
}

Response samples

Content type
application/json
{
  • "enable": true,
  • "video": {
    • "endcoder": {
      • "name": "openh264",
      • "options": [ ]
      },
    • "width": 1920,
    • "height": 1080,
    • "bitrate": 5000000
    }
}

HDMI出力設定を更新

Request Body schema: application/json
enable
required
boolean

出力有効

Responses

Request samples

Content type
application/json
{
  • "enable": true
}

Response samples

Content type
application/json
{
  • "enable": true
}

Secret

Secret

Deehive関連シークレット更新

Request Body schema: application/json
auth_endpoint
required
string

deehive へのリクエストを認証するために使用するエンドポイント。

device_params_endpoint
required
string

デバイスのパラメータを更新するために使用されるエンドポイント(Deehiveビデオの解像度の変更など)

id
required
string

deehiveからのid

secret
required
string

deehiveからのsecret

Responses

Request samples

Content type
application/json
{
  • "auth_endpoint": "<DeeHive_url>/api/v1/api/v1/authentication",
  • "device_params_endpoint": "<DeeHive_url>/api/v1/api/v1/device-params",
  • "id": "63eb3c972d17d200113d8765",
  • "secret": "secretkey12345"
}

Response samples

Content type
application/json
{
  • "auth_endpoint": "<DeeHive_url>/api/v1/api/v1/authentication",
  • "device_params_endpoint": "<DeeHive_url>/api/v1/api/v1/device-params",
  • "id": "63eb3c972d17d200113d8765",
  • "secret": "secretkey12345"
}

License関連シークレット更新

Request Body schema: application/json
api_key
required
string

LicenseManagerでMediaHarbor割り当てたapi_key

url
required
string

LicenseManagerのAPI

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{}

Other

その他

カーソル選択

選択したソースの音が出る

Request Body schema: text/plain
string <uuid>

選択するソースIDのUUID

Responses

1画面拡大表示

指定したソースIDを拡大表示する。空を指定するとZoom解除

Request Body schema: text/plain
string <uuid>

拡大するソースIDのUUID文字列を指定。空でZoom解除。

Responses

残りポイント情報を取得

Responses

Response samples

Content type
application/json
[
  • {
    • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    • "casthive_id": "434b9872-024a-4aab-a019-2ea4b02b26e8",
    • "available_dates": 3347.63,
    • "point": 40171.54,
    • "pointType": "MHP"
    }
]

サーバーステータスを取得

Responses

Response samples

Content type
application/json
{
  • "platform": "linux",
  • "cpuCount": 8,
  • "systemUptime": 7253930.68,
  • "processUptime": 3110.161115491
}

CPUステータスを取得

Responses

Response samples

Content type
application/json
{
  • "cpuCount": 8,
  • "loadAvg": 5.03,
  • "cpuUsage": 0.4098360655737705
}

メモリーステータスを取得

Responses

Response samples

Content type
application/json
{
  • "totalMemory": 15603.640625,
  • "freeMemory": 11087.9453125,
  • "freeMemoryPercentage": 0.7105998900496979
}

ストレージステータスを取得

Responses

Response samples

Content type
application/json
{
  • "total": 287886413824,
  • "free": 243327467520,
  • "used": 44558946304,
  • "usagePercent": 15.477960808265587
}

コンテナ情報を取得

Responses

Response samples

Content type
application/json
[
  • {
    • "Id": "fd8b7d18b8fe98e243faa5d7912e65af5969393629a0387c9bd52a9b80e36b35",
    • "Created": "2023-10-17T08:00:22.511511709Z",
    • "Path": "docker-entrypoint.sh",
    • "Args": [
      • "mariadbd"
      ],
    • "State": {
      • "Status": "running",
      • "Running": true,
      • "Paused": false,
      • "Restarting": false,
      • "OOMKilled": false,
      • "Dead": false,
      • "Pid": 1496904,
      • "ExitCode": 0,
      • "Error": "",
      • "StartedAt": "2023-10-17T08:00:23.128832275Z",
      • "FinishedAt": "0001-01-01T00:00:00Z"
      },
    • "Image": "sha256:871a9153c1842e3b480cb1be691c64151bc96a5de2cc8039470d31e32ff0a177",
    • "ResolvConfPath": "/home/docker/containers/fd8b7d18b8fe98e243faa5d7912e65af5969393629a0387c9bd52a9b80e36b35/resolv.conf",
    • "HostnamePath": "/home/docker/containers/fd8b7d18b8fe98e243faa5d7912e65af5969393629a0387c9bd52a9b80e36b35/hostname",
    • "HostsPath": "/home/docker/containers/fd8b7d18b8fe98e243faa5d7912e65af5969393629a0387c9bd52a9b80e36b35/hosts",
    • "LogPath": "/home/docker/containers/fd8b7d18b8fe98e243faa5d7912e65af5969393629a0387c9bd52a9b80e36b35/fd8b7d18b8fe98e243faa5d7912e65af5969393629a0387c9bd52a9b80e36b35-json.log",
    • "Name": "/db",
    • "RestartCount": 0,
    • "Driver": "overlay2",
    • "Platform": "linux",
    • "MountLabel": "",
    • "ProcessLabel": "",
    • "AppArmorProfile": "",
    • "ExecIDs": null,
    • "HostConfig": {
      • "Binds": [
        • "/var/samba/public/MediaHarborFrontend/DB/data:/var/lib/mysql:rw",
        • "/var/samba/public/MediaHarborFrontend/conf/DB/my.cnf:/etc/mysql/conf.d/my.cnf:rw"
        ],
      • "ContainerIDFile": "",
      • "LogConfig": {
        • "Type": "json-file",
        • "Config": {
          • "max-file": "3",
          • "max-size": "1M"
          }
        },
      • "NetworkMode": "mediaharborfrontend_default",
      • "PortBindings": {
        • "3306/tcp": [
          • {
            • "HostIp": "",
            • "HostPort": "3306"
            }
          ]
        },
      • "RestartPolicy": {
        • "Name": "always",
        • "MaximumRetryCount": 0
        },
      • "AutoRemove": false,
      • "VolumeDriver": "",
      • "VolumesFrom": null,
      • "ConsoleSize": [
        • 0,
        • 0
        ],
      • "CapAdd": null,
      • "CapDrop": null,
      • "CgroupnsMode": "host",
      • "Dns": null,
      • "DnsOptions": null,
      • "DnsSearch": null,
      • "ExtraHosts": [ ],
      • "GroupAdd": null,
      • "IpcMode": "private",
      • "Cgroup": "",
      • "Links": null,
      • "OomScoreAdj": 0,
      • "PidMode": "",
      • "Privileged": false,
      • "PublishAllPorts": false,
      • "ReadonlyRootfs": false,
      • "SecurityOpt": null,
      • "UTSMode": "",
      • "UsernsMode": "",
      • "ShmSize": 67108864,
      • "Runtime": "runc",
      • "Isolation": "",
      • "CpuShares": 0,
      • "Memory": 0,
      • "NanoCpus": 0,
      • "CgroupParent": "",
      • "BlkioWeight": 0,
      • "BlkioWeightDevice": null,
      • "BlkioDeviceReadBps": null,
      • "BlkioDeviceWriteBps": null,
      • "BlkioDeviceReadIOps": null,
      • "BlkioDeviceWriteIOps": null,
      • "CpuPeriod": 0,
      • "CpuQuota": 0,
      • "CpuRealtimePeriod": 0,
      • "CpuRealtimeRuntime": 0,
      • "CpusetCpus": "",
      • "CpusetMems": "",
      • "Devices": null,
      • "DeviceCgroupRules": null,
      • "DeviceRequests": null,
      • "MemoryReservation": 0,
      • "MemorySwap": 0,
      • "MemorySwappiness": null,
      • "OomKillDisable": false,
      • "PidsLimit": null,
      • "Ulimits": null,
      • "CpuCount": 0,
      • "CpuPercent": 0,
      • "IOMaximumIOps": 0,
      • "IOMaximumBandwidth": 0,
      • "MaskedPaths": [
        • "/proc/asound",
        • "/proc/acpi",
        • "/proc/kcore",
        • "/proc/keys",
        • "/proc/latency_stats",
        • "/proc/timer_list",
        • "/proc/timer_stats",
        • "/proc/sched_debug",
        • "/proc/scsi",
        • "/sys/firmware"
        ],
      • "ReadonlyPaths": [
        • "/proc/bus",
        • "/proc/fs",
        • "/proc/irq",
        • "/proc/sys",
        • "/proc/sysrq-trigger"
        ]
      },
    • "GraphDriver": {
      • "Data": {
        • "LowerDir": "/home/docker/overlay2/42049b9ec79ebac120e47656d64f5cec23aca29e692c39c769e4b8f89f25560c-init/diff:/home/docker/overlay2/180ea9e2448689419cb3ffa2b4fb48c18676d0fa4529982a8bf04f1193fe3f96/diff:/home/docker/overlay2/de5921af205703308a71cda4b33225a81f5de21002310ac80f962c031c9e84fb/diff:/home/docker/overlay2/8e6f007f5af6742863aff11a0c4f69a2cb963fbf932f0e2a3b9411c48bec9c85/diff:/home/docker/overlay2/b72fb5eb7e785933c03c6f9329948778b89dd663d2dff2c766b53ae97da606ec/diff:/home/docker/overlay2/feff8433af2fee0f948b69308832c49fea9f6612dc08717b410a1bfee6004667/diff:/home/docker/overlay2/93bb59e59c6a58b8844bee5c5b9c130cb5f7502707553a84a0b0ff848c4bfddf/diff:/home/docker/overlay2/1515191def9e1afb6d97623752cd731c448b6f3a9f21585d89c6775f6f6a7892/diff:/home/docker/overlay2/17ee2e88fef4ec08a2268963f63f9f975a839b0afb5d9bef184146113481a73e/diff",
        • "MergedDir": "/home/docker/overlay2/42049b9ec79ebac120e47656d64f5cec23aca29e692c39c769e4b8f89f25560c/merged",
        • "UpperDir": "/home/docker/overlay2/42049b9ec79ebac120e47656d64f5cec23aca29e692c39c769e4b8f89f25560c/diff",
        • "WorkDir": "/home/docker/overlay2/42049b9ec79ebac120e47656d64f5cec23aca29e692c39c769e4b8f89f25560c/work"
        },
      • "Name": "overlay2"
      },
    • "Mounts": [
      • {
        • "Type": "bind",
        • "Source": "/var/samba/public/MediaHarborFrontend/DB/data",
        • "Destination": "/var/lib/mysql",
        • "Mode": "rw",
        • "RW": true,
        • "Propagation": "rprivate",
        • "Config": {
          • "Hostname": "fd8b7d18b8fe",
          • "Domainname": "",
          • "User": "",
          • "AttachStdin": false,
          • "AttachStdout": true,
          • "AttachStderr": true,
          • "ExposedPorts": {
            • "3306/tcp": { }
            },
          • "Tty": false,
          • "OpenStdin": false,
          • "StdinOnce": false,
          • "Env": [
            • "MARIADB_ROOT_PASSWORD_HASH=*7932903C4D7035C6CB4F5FE4CD267A9F1D7F39C9",
            • "MARIADB_DATABASE=mediaharbor",
            • "MARIADB_USER=mediaharbor",
            • "MARIADB_PASSWORD_HASH=*98862F42AC6125B3B646E116DD3DB4FB5252A6AA",
            • "MARIADB_HOST=%",
            • "TZ=\"Asia/Tokyo\"",
            • "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            • "GOSU_VERSION=1.14",
            • "LANG=C.UTF-8",
            • "MARIADB_VERSION=1:11.1.2+maria~ubu2204"
            ],
          • "Cmd": [
            • "mariadbd"
            ],
          • "Image": "mariadb:11",
          • "Volumes": {
            • "/etc/mysql/conf.d/my.cnf": { },
            • "/var/lib/mysql": { }
            },
          • "WorkingDir": "",
          • "Entrypoint": [
            • "docker-entrypoint.sh"
            ],
          • "OnBuild": null,
          • "Labels": {
            • "com.docker.compose.config-hash": "1d7fbc5756c5ff6a0460c6c22e93a597044096b5f2da23ff1c9fe672e371e30b",
            • "com.docker.compose.container-number": "1",
            • "com.docker.compose.depends_on": "",
            • "com.docker.compose.image": "sha256:871a9153c1842e3b480cb1be691c64151bc96a5de2cc8039470d31e32ff0a177",
            • "com.docker.compose.oneoff": "False",
            • "com.docker.compose.project": "mediaharborfrontend",
            • "com.docker.compose.project.config_files": "/var/samba/public/MediaHarborFrontend/docker-compose.yml",
            • "com.docker.compose.project.working_dir": "/var/samba/public/MediaHarborFrontend",
            • "com.docker.compose.service": "db",
            • "com.docker.compose.version": "2.12.2",
            • "org.opencontainers.image.authors": "MariaDB Community",
            • "org.opencontainers.image.base.name": "docker.io/library/ubuntu:jammy",
            • "org.opencontainers.image.description": "MariaDB Database for relational SQL",
            • "org.opencontainers.image.documentation": "https://hub.docker.com/_/mariadb/",
            • "org.opencontainers.image.licenses": "GPL-2.0",
            • "org.opencontainers.image.ref.name": "ubuntu",
            • "org.opencontainers.image.source": "https://github.com/MariaDB/mariadb-docker",
            • "org.opencontainers.image.title": "MariaDB Database",
            • "org.opencontainers.image.url": "https://github.com/MariaDB/mariadb-docker",
            • "org.opencontainers.image.vendor": "MariaDB Community",
            • "org.opencontainers.image.version": "11.1.2"
            }
          },
        • "NetworkSettings": {
          • "Bridge": "",
          • "SandboxID": "dab8c333826eef62a5c6887206697b0bd40208350b58724a55cbeaf55c161a75",
          • "HairpinMode": false,
          • "LinkLocalIPv6Address": "",
          • "LinkLocalIPv6PrefixLen": 0,
          • "Ports": {
            • "3306/tcp": [
              • {
                • "HostIp": "0.0.0.0",
                • "HostPort": "3306"
                },
              • {
                • "HostIp": "::",
                • "HostPort": "3306"
                }
              ]
            },
          • "SandboxKey": "/var/run/docker/netns/dab8c333826e",
          • "SecondaryIPAddresses": null,
          • "SecondaryIPv6Addresses": null,
          • "EndpointID": "",
          • "Gateway": "",
          • "GlobalIPv6Address": "",
          • "GlobalIPv6PrefixLen": 0,
          • "IPAddress": "",
          • "IPPrefixLen": 0,
          • "IPv6Gateway": "",
          • "MacAddress": "",
          • "Networks": {
            • "mediaharborfrontend_default": {
              • "IPAMConfig": null,
              • "Links": null,
              • "Aliases": [
                • "db",
                • "db",
                • "fd8b7d18b8fe"
                ],
              • "NetworkID": "e3f1da74b58bb32ba05a58306eb342c8f161025e13d117a5628b196b7a450d00",
              • "EndpointID": "3d39b3eeee4be7872fb3847766022d8110e37d00a45895c356a8c520314a8c95",
              • "Gateway": "172.31.0.1",
              • "IPAddress": "172.31.0.4",
              • "IPPrefixLen": 16,
              • "IPv6Gateway": "",
              • "GlobalIPv6Address": "",
              • "GlobalIPv6PrefixLen": 0,
              • "MacAddress": "02:42:ac:1f:00:04",
              • "DriverOpts": null
              }
            }
          }
        }
      ]
    }
]

コンテナログを取得

query Parameters
id
required
string <string>
Example: id=fd8b7d18b8fe98e243faa5d7912e65af5969393629a0387c9bd52a9b80e36b35

コンテナID

Responses

Response samples

Content type
application/json
[
  • "2023-10-17T08:00:23.129664677Z 2023-10-17 08:00:23+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.1.2+maria~ubu2204 started."
]