Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Current »

등록된 Tag에 대한 정보를 변경한다. 변경할 tag의 이름을 name 필드에 설정하고, 변경할 정보를 해당하는 “col_name” 및 “value” 필드에 지정하여 json arry로 설정한 후 호출하여야 한다.

HTTP Request

PUT https://${CloudVendor}.${CountryCode}.machlake.com/lakes/${lake_id}/tags
Content-Type: application/json; charset=utf8
x-api-key: {API Key}
 
{
    "name"    : "{original tag name}",
    "columns" : [{ "col_name" : "{column_name}", "value" : "{value to be changed}" }, .... ]
}

Parameters

no parameters

Request Example

PUT https://aws1.us.machlake.com/lakes/xbacd1234/tags
Content-Type: application/json; charset=utf8
x-api-key: {API Key}
 
{
    "name"    : "newtag01",
    "columns" : [{ "col_name" : "name", "value" : "changetag01"}]
}

Response Example

Status 200

{
    "status": "success",
    "data": {
        "name": "changetag01"
    }
}
  • No labels