Hierarchical Value Service API  future
api indexresource index

PUT table/id/{id}/name

since: 0.1
Change the name of the table that is identified by the given id.

Path Elements

id
0.1required
string
The UUID that is used to identify the table.

Request Headers

pros-hvs-consistency
0.13optional
string
pros-hvs-consistency is an optional HTTP header used to define the data consistency level of the request. There is a trade off between data consistency and service availability and performance: higher data consistency can result in lower availability and slower performance, while lower data consistency can result in higher availability and faster performance.
0.13 valid values:
  • HIGHEST
  • HIGH
  • NORMAL
  • LOW
  • LOWEST
pros-rtpe-cache
0.35optional
string

pros-rtpe-cache is an optional HTTP header used to define the caching strategy used by Hierarchial Value Service for a request. This header helps control which internal caches should be used by the service when processing the request. There is a tradeoff between returning the most recent data and performance. Disabling caches will help ensure that the most recent data available are returned, but will likely increase the time required to process and respond to the request.

When disable.metadata is specified, caches related to table and dimension metadata will be disabled.

When disable.data is specified, caches related to table and dimension data will be disabled.

When disable.all is specified, all caches will be disabled.

When any cache is disabled, those caches will not be updated with values retrieved during a request.

0.35 valid values:
  • enable
  • disable.metadata
  • disable.data
  • disable.all

Resource Information

Request Content
text/plain
Response Content
json
Success Statuses
204  NO CONTENT
Error Statuses
409  CONFLICT

Example 1

Request:

Special Discount

Response:
HTTP/1.1  204  NO CONTENT

Error Example - Naming Conflict

see: HVS-003017

Request:

Special Discount

Response:
HTTP/1.1  409  CONFLICT


  {
    "details": [
      {
        "fieldID": "name",
        "fieldValue": "Special Discount"
      }
    ],
    "errorID": "HVS-003017",
    "errorMessage": "Table name conflict with name Special Discount.",
    "resourceType": "table"
  }