Get Global Dictionary Key Value

get

/rest/v19/globalDict/{key}

This operation returns a value stored in the global dictionary corresponding to the given key along with the minTimeToLive value.

Request

Path Parameters
Back to Top

Response

Supported Media Types

Default Response

Global Dictionary Detail
Body ()
Root Schema : Global Dict Detail
Type: object
Title: Global Dict Detail
Show Source
Back to Top

Examples

The following example shows how to retrieve a value stored in the global dictionary corresponding to the given key along with the minTimeToLive value by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X GET -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json"
https://sitename.oracle.com/rest/v19/globalDict/key1

Response Body Sample

{
  "key": "key1",
  "value": "1",
  "minTimeToLive": 2500,
  "dateModified": "2024-03-11T14:25:11.000Z",
  "dateAdded": "2024-03-11T14:25:11.000Z",
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v19/globalDict/key1"
    }
  ]
}
Back to Top