Create Version

post

/services/{version}/masterkey

Create a new Master Key version

Request

Path Parameters
Back to Top

Response

Supported Media Types

201 Response

New Master Key version created. Other Master Key versions marked inactive.

Body ()
Root Schema : Oracle GoldenGate Collection
Type: object
Title: Oracle GoldenGate Collection
Show Source
Nested Schema : items
Type: array
Minimum Number of Items: 0
Maximum Number of Items: 32767
Show Source
Nested Schema : items
Type: object
Additional Properties Allowed: true
Show Source
Nested Schema : status
Item status
Match Any
Show Source
  • Allowed Values: [ "starting", "running", "stopped", "killed", "abended" ]
  • Default Value: stopped
    Allowed Values: [ "paused", "running", "stopping", "stopped", "killed", "uninitialized" ]
Example Response (application/json)
{
    "$schema":"api:standardResponse",
    "links":[
        {
            "href":"http://localhost:11001/services/v2/masterkey",
            "mediaType":"application/json",
            "rel":"canonical"
        },
        {
            "href":"http://localhost:11001/services/v2/masterkey",
            "mediaType":"application/json",
            "rel":"self"
        }
    ],
    "messages":[
        {
            "$schema":"ogg:message",
            "code":"OGG-06142",
            "issued":"2021-07-13T16:39:47Z",
            "severity":"INFO",
            "title":"Created version 2 of master encryption key 'OGG_DEFAULT_MASTERKEY' in Oracle Wallet.",
            "type":"http://docs.oracle.com/goldengate/c2130/gg-winux/GMESG/oggus.htm#OGG-06142"
        }
    ],
    "response":{
        "$schema":"ogg:collection",
        "items":[
            {
                "$schema":"ogg:collectionItem",
                "links":[
                    {
                        "href":"http://localhost:11001/services/v2/masterkey",
                        "mediaType":"application/json",
                        "rel":"parent"
                    },
                    {
                        "href":"http://localhost:11001/services/v2/masterkey/2",
                        "mediaType":"application/json",
                        "rel":"canonical"
                    }
                ],
                "name":"2"
            }
        ]
    }
}
Back to Top