Update Backend

patch

/services/{version}/installation/configuration/backends/{backend}

Required Role: Security

Update the Configuration Service Backend with one or more JSON Patch operations.

Request

Supported Media Types
Path Parameters
  • Minimum Length: 36
    Maximum Length: 36
    Pattern: ^[0-9a-fA-F]{8}[-][0-9a-fA-F]{4}[-][0-9a-fA-F]{4}[-][0-9a-fA-F]{4}[-][0-9a-fA-F]{12}$

    Identifier for a Configuration Service Backend.

  • Oracle GoldenGate Service API version.

    Allowed Values: [ "v2" ]
Body ()
Root Schema : JavaScript Object Notation (JSON) Patch - RFC 6902
Type: object
Title: JavaScript Object Notation (JSON) Patch - RFC 6902
A structure for expressing a sequence of operations to apply to a JSON document
Show Source
Nested Schema : patches
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 32767
Show Source
Nested Schema : items
Match One
Show Source
Nested Schema : items-x-oneOf[0]
Type: object
Show Source
  • Allowed Values: [ "add", "replace", "test" ]
    The operation to perform
  • Minimum Length: 2
    Maximum Length: 255
    Pattern: ^([/][a-zA-Z0-9]+)+([/][-])?$
    A JSON Pointer path
  • The value to add, replace, or test
Nested Schema : items-x-oneOf[1]
Type: object
Show Source
  • Minimum Length: 2
    Maximum Length: 255
    Pattern: ^([/][a-zA-Z0-9]+)+([/][-])?$
    A JSON Pointer path
  • Allowed Values: [ "move", "copy" ]
    The operation to perform
  • Minimum Length: 2
    Maximum Length: 255
    Pattern: ^([/][a-zA-Z0-9]+)+([/][-])?$
    A JSON Pointer path
Nested Schema : items-x-oneOf[2]
Type: object
Show Source
Example Request (application/json)
{
    "$schema":"type:jsonPatch",
    "patches":[
        {
            "op":"replace",
            "path":"/name",
            "value":"In-Memory"
        }
    ]
}
Back to Top

Response

Supported Media Types

200 Response

Backend updated
Body ()
Root Schema : RESTful API Standard Response
Type: object
Title: RESTful API Standard Response
Standard Response for all Oracle GoldenGate RESTful API calls
Show Source
Nested Schema : messages
Type: array
Minimum Number of Items: 0
Maximum Number of Items: 65535
Oracle GoldenGate messages issued during the request
Show Source
Nested Schema : response
Type: object
Oracle GoldenGate document from the request
Nested Schema : items
Type: object
Show Source
  • Allowed Values: [ "ogg:message" ]
  • Minimum Length: 9
    Maximum Length: 9
    Pattern: ^OGG[-][0-9]{5}$
    The Oracle GoldenGate message code
  • 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])$
    The date and time that the message was issued
  • Allowed Values: [ "INFO", "WARNING", "ERROR" ]
    The severity of the message
  • Minimum Length: 1
    Maximum Length: 4095
    A human-readable description that provides information and detail specific to this occurence of the information, warning or error.
  • Minimum Length: 2
    Maximum Length: 4095
    Pattern: ^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$
    An absolute URI [RFC3986] to a page that describes the info, warning or error type.
Example Response (application/json)
{
    "$schema":"api:standardResponse",
    "links":[
        {
            "href":"http://localhost:9011/services/v2/installation/configuration/backends/24d9565c-3f4d-49ea-9b1e-61df05c368c3",
            "mediaType":"application/json",
            "rel":"canonical"
        },
        {
            "href":"http://localhost:9011/services/v2/installation/configuration/backends/24d9565c-3f4d-49ea-9b1e-61df05c368c3",
            "mediaType":"application/json",
            "rel":"self"
        }
    ],
    "messages":[
    ],
    "response":{
        "$schema":"config:backend",
        "id":"24d9565c-3f4d-49ea-9b1e-61df05c368c3",
        "name":"In-Memory",
        "type":"Memory"
    }
}
Back to Top