Create Version

post

/services/{version}/masterkey

Create a new Master Key version

Request

Path Parameters

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
Show Source
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":"2017-12-14T12:44:45Z",
            "severity":"INFO",
            "title":"Created version 2 of master key 'OGG_DEFAULT_MASTERKEY' in Oracle Wallet.",
            "type":"http://docs.oracle.com/goldengate/c1230/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"
            }
        ]
    }
}