スキーマの照会
- 印刷する
- PDF
スキーマの照会
- 印刷する
- PDF
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
最新のコンテンツが反映されていません。早急にアップデート内容をご提供できるよう努めております。最新のコンテンツ内容は韓国語ページをご参照ください。
スキーマ情報を照会します。
GET https://aitems.apigw.ntruss.com/api/v1/schemas/{schemaName}
リクエスト
リクエストパラメーター
パラメーター名 | 必須有無 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
schemaName | Yes | String | 作成されたスキーマ名 |
レスポンス
フィールド名 | タイプ | 説明 | 備考 |
---|---|---|---|
datasetType | String | 使用可能なデータセットタイプ | |
name | String | スキーマ名 | |
fields[].name | String | スキーマフィールド名 | |
fields[].type | Array | スキーマフィールドタイプ | |
fields[].categorical | Boolean | カテゴリ型フィールドの有無 | |
description | String | スキーマ説明 | |
createdDate | String | スキーマ作成日 |
レスポンスStatus
HTTP Status | Desc |
---|---|
200 | OK(照会完了) |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Internal Server Error |
例
リクエスト例
GET /api/v1/schemas/LogInfo
Host: aitems.apigw.ntruss.com
accept: application/json
x-ncp-iam-access-key: {Access key}
x-ncp-apigw-signature-v2: {API GW signature}
x-ncp-apigw-timestamp: {timestamp}
レスポンス例
{
"datasetType": "interaction",
"name": "LogInfo",
"fields": [
{
"name": "TIMESTAMP",
"type": [
"long"
]
},
{
"name": "USER_ID",
"type": [
"string"
]
},
{
"name": "ITEM_ID",
"type": [
"string"
]
}
],
"description": "desc",
"createdDate": "2021-08-21T15:40:56.049"
}
この記事は役に立ちましたか?