Modify schema description
- Print
- PDF
Modify schema description
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Edit a schema description.
PUT https://aitems.apigw.ntruss.com/api/v1/schemas/{schemaName}
Request
Request body
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
content | Yes | String | Enter 0 to 100 characters | Dataset description |
Response
Field name | Type | Description | Remarks |
---|---|---|---|
datasetType | String | Available dataset types | |
name | String | Schema name | |
fields[].name | String | Schema field name | |
fields[].type | Array | Schema field type | |
fields[].categorical | Boolean | Categorical field status | |
description | String | Schema description | |
createdDate | String | Schema creation date |
Response status
HTTP Status | Desc |
---|---|
200 | OK (Successfully edited) |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Internal Server Error |
Examples
Request example
PUT /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}
{
"content": "desc"
}
Response example
{
"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"
}
Was this article helpful?