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
- application/json
Path Parameters
-
backend(required): string
Minimum Length:
36Maximum Length:36Pattern:^[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.
-
version(required): string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Root Schema : JavaScript Object Notation (JSON) Patch - RFC 6902
Type:
objectTitle:
JavaScript Object Notation (JSON) Patch - RFC 6902A structure for expressing a sequence of operations to apply to a JSON document
Show Source
-
$schema:
Allowed Values:
[ "type:jsonPatch" ] -
patches(required):
array patches
Minimum Number of Items:
1Maximum Number of Items:32767
Nested Schema : patches
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
Show Source
32767Nested Schema : items-x-oneOf[0]
Type:
Show Source
object-
op(required):
Allowed Values:
[ "add", "replace", "test" ]The operation to perform -
path(required):
string
Minimum Length:
2Maximum Length:255Pattern:^([/][a-zA-Z0-9]+)+([/][-])?$A JSON Pointer path -
value:
The value to add, replace, or test
Nested Schema : items-x-oneOf[1]
Type:
Show Source
object-
from(required):
string
Minimum Length:
2Maximum Length:255Pattern:^([/][a-zA-Z0-9]+)+([/][-])?$A JSON Pointer path -
op(required):
Allowed Values:
[ "move", "copy" ]The operation to perform -
path(required):
string
Minimum Length:
2Maximum Length:255Pattern:^([/][a-zA-Z0-9]+)+([/][-])?$A JSON Pointer path
Nested Schema : items-x-oneOf[2]
Type:
Show Source
object-
op(required):
Allowed Values:
[ "remove" ]The operation to perform -
path(required):
string
Minimum Length:
2Maximum Length:255Pattern:^([/][a-zA-Z0-9]+)+([/][-])?$A JSON Pointer path
Example Request (application/json)
{
"$schema":"type:jsonPatch",
"patches":[
{
"op":"replace",
"path":"/name",
"value":"In-Memory"
}
]
}
Response
Supported Media Types
- application/json
200 Response
Backend updated
Root Schema : RESTful API Standard Response
Type:
objectTitle:
RESTful API Standard ResponseStandard Response for all Oracle GoldenGate RESTful API calls
Show Source
-
$schema:
Allowed Values:
[ "api:standardResponse" ] -
links(required):
array links
Minimum Number of Items:
0Maximum Number of Items:16Oracle GoldenGate links for the request -
messages(required):
array messages
Minimum Number of Items:
0Maximum Number of Items:65535Oracle GoldenGate messages issued during the request -
response:
object response
Oracle GoldenGate document from the request
Nested Schema : links
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
16Oracle GoldenGate links for the request
Show Source
Nested Schema : messages
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
65535Oracle GoldenGate messages issued during the request
Show Source
Nested Schema : response
Type:
objectOracle GoldenGate document from the request
Nested Schema : items
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:link" ] -
description:
string
Minimum Length:
1Maximum Length:4095A human-readable description that provides information and detail specific to this link. -
href(required):
string
Minimum Length:
2Maximum Length:4095Pattern:^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$An absolute URI for the link -
mediaType:
string
Minimum Length:
6Maximum Length:255Pattern:^(text|application)/[a-zA-Z0-9!#$&.+-^_]+$Media type - see RFC 4288 (https://tools.ietf.org/html/rfc4288) -
rel(required):
Allowed Values:
[ "alternate", "canonical", "current", "describedby", "describes", "enclosure", "parent", "related", "self", "first", "last", "next", "previous", "ogg://service" ]Relationship of href to the requested link
Nested Schema : items
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:message" ] -
code(required):
string
Minimum Length:
9Maximum Length:9Pattern:^OGG[-][0-9]{5}$The Oracle GoldenGate message code -
issued(required):
string
Minimum Length:
20Maximum Length:32Pattern:^[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 -
severity(required):
Allowed Values:
[ "INFO", "WARNING", "ERROR" ]The severity of the message -
title(required):
string
Minimum Length:
1Maximum Length:4095A human-readable description that provides information and detail specific to this occurence of the information, warning or error. -
type(required):
string
Minimum Length:
2Maximum Length:4095Pattern:^[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"
}
}