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
  • Minimum Length: 1
    Maximum Length: 255
    Default Value: ogg:collectionItem
    Name of schema for collection item, defaults to this schema
  • links
  • Minimum Length: 1
    Maximum Length: 255
    Item name
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":"2019-03-15T14:43:23Z",
            "severity":"INFO",
            "title":"Created version 2 of master key 'OGG_DEFAULT_MASTERKEY' in Oracle Wallet.",
            "type":"http://docs.oracle.com/goldengate/c1910/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