post http://localhost:9100/api/versioned/v1/datasets//attributes
You POST to this endpoint to add an attribute to a dataset. You specify the name and type of attribute. You can also include an optional description.
For example, you can add an attribute named "myAttribute" with the type ARRAY[STRING] (which is an array of strings) and a description.
{
"name": "myAttribute",
"description": "my attribute description",
"type": {
"baseType": "ARRAY",
"innerType": {
"baseType": "STRING"
}
}
}
A successful response mirrors the data you posted, returning a JSON attribute object.