Metadata

Create or update column metadata

Sets multiple metadata with one call. If the given key and provider combination already exist for the column, the data will be updated with the new value and timestamp. All metadata associated with the column are returned in the response.

post/v2/storage/columns/{id}/metadata

Request

Path parameters

idstring required

Id of the column in format bucket.table.column.

Request body

providerstring required

Id of the creating component

Example request

{
  "provider": "test-component",
  "metadata": [
    {
      "key": "some-key",
      "value": "Some value"
    }
  ]
}

Response

All metadata associated with the column.

idstring required

Metadata record identifier

keystring required

Metadata key

valuestring nullable required

Metadata value

providerstring required

Id of the component that created the metadata

timestampstring required

When the metadata was created or last updated, ISO 8601 with a +hhmm offset

Example response

[
  {
    "id": "19509",
    "key": "some-key",
    "value": "Some value",
    "provider": "test-component",
    "timestamp": "2017-02-13T23:36:10+0100"
  }
]

Changes

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