KV

Get value for a key

Changed on
get/api/v1/{tenant}/namespaces/{namespace}/kv/{key}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/{tenant}/namespaces/{namespace}/kv/{key}
  • Auth: one of:
    • HTTP bearer
    • HTTP basic

Path parameters

namespacestring required

The namespace id

keystring required

The key

tenantstring required

Response

getKeyValue 200 response

type'STRING' | 'NUMBER' | 'BOOLEAN' | 'DATETIME' | 'DATE' | 'DURATION' | 'JSON'
valueobject
revisioninteger
updatedstring date-time

Example response

{
  "type": "STRING",
  "value": "{}",
  "updated": "2000-01-23T04:56:07.000+00:00",
  "revision": 0
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status