Validate

Validate column names

Validate strings if they can be used as column names. Column names can be used for example:

  • creating a table (POST /buckets/{bucketId}/tables-definition)
  • adding a column (POST /tables/{tableId}/columns)
post/v2/storage/branch/{branchId}/validate/column-names

Request

Path parameters

branchIdstring required

Request body

columnNamesstring[] required

Candidate column names to check against the StorageColumnName rule. The items are deliberately plain strings — an invalid candidate is the point of the call.

Example request

{
  "columnNames": [
    "First$$Column-Name",
    "Second Column-Name"
  ]
}

Response

All column names are valid.

Changes

No recorded changes to this operation across all 1 revision of this API.