HTTP リクエスト
{location-id} を対応ロケーションに応じた値に置き換えます。
リクエスト本文
フィールド
| field | 型 | 説明 |
|---|---|---|
model | body, object(TrainingCommandViewModel) | 必須。学習に使用する Model。 |
TrainingCommandViewModel
| field | 型 | 説明 |
|---|---|---|
task_id | string | 必須。タスクID。 |
file_id | string | 必須。ファイル ID。 |
fields[] | object(FieldCommandViewModel) | 必須。学習用の field のセット。 |
FieldCommandViewModel
| field | 型 | 説明 |
|---|---|---|
name | string | 必須。field の名前。 |
rectangles[] | object(RectangleViewModel) | 必須。field の矩形。 |
RectangleViewModel
| field | 型 | 説明 |
|---|---|---|
page_id | integer($int32) | 必須。内部ページ ID。 |
x1 | integer($int32) | 必須。x1 の座標。 |
y1 | integer($int32) | 必須。y1 の座標。 |
x2 | integer($int32) | 必須。x2 の座標。 |
y2 | integer($int32) | 必須。y2 の座標。 |
レスポンス
204 No Content が返されます。