Download OpenAPI specification:Download
Mapray Image API は3次元地理空間情報データの管理機能を提供します。
Image Datasetは画像データを意味します。
Response body | HTTP status code | 説明 |
---|---|---|
invalid request | 400 | 無効なリクエスト |
unauthorized | 401 | 権限がありません |
not found | 404 | 該当データが存在しません |
認証情報から得たorganizationIDに紐づくImage Datasetのリストを取得します。
page | integer >= 1 Default: 1 1ページの要素数がlimitの場合のページ番号 |
limit | integer [ 1 .. 100 ] Default: 5 1ページの要素数 |
sort | string Default: "updatedAt" Enum: "id" "name" "updatedAt" ソートを行うプロパティ |
direction | string Default: "desc" Enum: "asc" "desc" ソート方向 |
[- {
- "id": "4811188005240832",
- "owner_id": "4098494030324145",
- "name": "tokyo",
- "description": "test",
- "files": [
- {
- "name": "image.jpg",
- "format": "jpg"
}, - {
- "name": "icon.png",
- "format": "png"
}
], - "attributions": [
- {
- "display": "©Mapray",
- "description": "Mapray",
}
], - "created_at": "2023-01-01T00:00:00.871648747Z",
- "updated_at": "2023-01-05T00:00:00.871648747Z",
- "status": "ready",
- "error": ""
}
]
新しいImage Datasetを作成します。
name | string 名前 |
description | string 説明 |
Array of objects (attributions) | |
Array of objects (fileformat) ファイル一覧 |
{- "name": "tokyo",
- "description": "test",
- "files": [
- {
- "name": "image.jpg",
- "format": "jpg"
}, - {
- "name": "icon.png",
- "format": "png"
}
], - "attributions": [
- {
- "display": "©Mapray",
- "description": "Mapray",
}
]
}
{- "id": "4811188005240832",
- "owner_id": "4098494030324145",
- "name": "tokyo",
- "description": "test",
- "files": [
- {
- "name": "image.jpg",
- "format": "jpg"
}, - {
- "name": "icon.png",
- "format": "png"
}
], - "attributions": [
- {
- "display": "©Mapray",
- "description": "Mapray",
}
], - "created_at": "2023-01-01T00:00:00.871648747Z",
- "updated_at": "2023-01-05T00:00:00.871648747Z",
- "status": "",
- "error": ""
}
指定したImage Datasetの情報を取得します。
imagedatasetID required | string 指定するImage DatasetのID |
{- "id": "4811188005240832",
- "owner_id": "4098494030324145",
- "name": "tokyo",
- "description": "test",
- "files": [
- {
- "name": "image.jpg",
- "format": "jpg"
}, - {
- "name": "icon.png",
- "format": "png"
}
], - "attributions": [
- {
- "display": "©Mapray",
- "description": "Mapray",
}
], - "created_at": "2023-01-01T00:00:00.871648747Z",
- "updated_at": "2023-01-05T00:00:00.871648747Z",
- "status": "ready",
- "error": ""
}
Image Datasetのプロパティを更新します。 request bodyで指定したImage Datasetオブジェクトのデータで データが全て更新されます。(部分更新はできません)
imagedatasetID required | string 指定するImage DatasetのID |
name | string 名前 |
description | string 説明 |
Array of objects (attributions) |
{- "name": "tokyo",
- "description": "test",
- "attributions": [
- {
- "display": "©Mapray",
- "description": "Mapray",
}
]
}
{- "id": "4811188005240832",
- "owner_id": "4098494030324145",
- "name": "tokyo",
- "description": "test",
- "files": [
- {
- "name": "image.jpg",
- "format": "jpg"
}, - {
- "name": "icon.png",
- "format": "png"
}
], - "attributions": [
- {
- "display": "©Mapray",
- "description": "Mapray",
}
], - "created_at": "2023-01-01T00:00:00.871648747Z",
- "updated_at": "2023-01-05T00:00:00.871648747Z",
- "status": "",
- "error": ""
}
Image Dataset をコンバートリクエスト前の状態に戻します。 再度ファイルをアップロードする必要があります。
imagedatasetID required | string 指定するImage DatasetのID |
name | string 名前 |
description | string 説明 |
Array of objects (attributions) | |
Array of objects (fileformat) ファイル一覧 |
{- "name": "tokyo",
- "description": "test",
- "files": [
- {
- "name": "image.jpg",
- "format": "jpg"
}, - {
- "name": "icon.png",
- "format": "png"
}
], - "attributions": [
- {
- "display": "©Mapray",
- "description": "Mapray",
}
]
}
{- "id": "4811188005240832",
- "owner_id": "4098494030324145",
- "name": "tokyo",
- "description": "test",
- "files": [
- {
- "name": "image.jpg",
- "format": "jpg"
}, - {
- "name": "icon.png",
- "format": "png"
}
], - "attributions": [
- {
- "display": "©Mapray",
- "description": "Mapray",
}
], - "created_at": "2023-01-01T00:00:00.871648747Z",
- "updated_at": "2023-01-05T00:00:00.871648747Z",
- "status": "",
- "error": ""
}
イメージファイルをアップロードするためのURLを取得し、データを送信することでアップロードできます。
imagedatasetID required | string 指定するImage DatasetのID |
filename required | string ファイル名 |
content_type required | string ファイルのContent-Type https://www.iana.org/assignments/media-types/media-types.xhtml |
[- {
- "filename": "image.jpg",
- "content_type": "image/jpeg"
}, - {
- "filename": "icon.png",
- "content_type": "image/png"
}
]
[- {
- "filename": "image.jpg",
- "content_type": "image/jpeg",
}, - {
- "filename": "icon.png",
- "content_type": "image/png",
}
]
ファイルアップロードを実行します。
upload_url required | string |
Content-Type | string URL生成時に指定したContent-Type |
{ }
<?xml version='1.0' encoding='UTF-8'?> <Error> <Code>ExpiredToken</Code> <Message>The provided token has expired.</Message> <Details>Request signature expired at: 2022-04-01T10:00:00+00:00</Details> </Error>
指定したImage Datasetのコンバート情報を取得します。
imagedatasetID required | string 指定するImage DatasetのID |
{- "id": "6833388005240832",
- "jobType": "",
- "userID": "4098494030324145",
- "3DDatasetID": "4811188005240832",
- "inputFilePath": "dummy.appspot.com/imagedataset/4098494030324145/4811188005240832/input",
- "outputFilePath": "dummy.appspot.com/imagedataset/4098494030324145/4811188005240832/output",
- "error": "",
- "startAt": "2017-09-04T05:56:10Z",
- "finishAt": "2017-09-04T05:57:15Z",
- "status": "ready"
}