Retrieve Version
get
/services/{version}/masterkey/{keyVersion}
Retrieve a Master Key by version.
Request
Path Parameters
-
keyVersion: integer
The Master Key version number, 1 to 32767.
-
version: string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Response
Supported Media Types
- application/json
200 Response
Master Key version retrieved.
Root Schema : Oracle GoldenGate Master Key
Type:
object
Title:
Show Source
Oracle GoldenGate Master Key
-
$schema(optional):
Allowed Values:
[ "ogg:masterkey" ]
-
created(optional):
string
Minimum Length:
20
Maximum Length:32
Pattern:^[0-9]{4}[-](0[1-9]|1[0-2])[-](0[1-9]|[12][0-9]|3[01])[tT ]([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]{1,6})?([zZ]|[+-][0-9][0-9]:[0-5][0-9])$
-
status:
Allowed Values:
[ "current", "available", "unavailable" ]
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:11001/services/v2/masterkey/2",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11001/services/v2/masterkey/2",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:11001/services/v2/metadata-catalog/keyVersion",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"$schema":"ogg:masterkey",
"created":"2021-07-13T16:39:47.000+00:00",
"status":"current"
}
}