Retrieve Status
get
/services/{version}/replicats/{replicat}/info/status
Required Role: User
Retrieve the current status of the replicat process.
Request
Path Parameters
-
replicat(required): string
Minimum Length:
1Maximum Length:8Pattern:^[A-Z_$][A-Z0-9_$]*$The name of the replicat. Replicat names are upper case, begin with an alphabetic character followed by up to seven alpha-numeric characters.
-
version(required): string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Response
Supported Media Types
- application/json
200 Response
Process status retrieved successfully.
Root Schema : Replicat process status
Type:
objectTitle:
Show Source
Replicat process status-
$schema:
Allowed Values:
[ "ogg:replicatStatus" ] -
lag(required):
integer
Minimum Value:
0Maximum Value:4294967295Process lag in seconds -
lastStarted(required):
lastStarted
-
position:
position
-
processId:
integer
Minimum Value:
1Maximum Value:4294967295 -
sinceLagReported(required):
integer
Minimum Value:
0Maximum Value:4294967295Time in seconds since process lag was reported -
status(required):
Allowed Values:
[ "starting", "running", "stopped", "killed", "abended" ] -
synchronized:
boolean
Nested Schema : position-x-oneOf[0]
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:trailPosition" ] -
name(required):
string
Minimum Length:
2Maximum Length:512Pattern:^[a-zA-Z0-9_#$/-]*$The name of the trail -
offset(required):
integer
Minimum Value:
0Maximum Value:2147483647Default Value:0Offset in trail sequence file -
path:
string
Minimum Length:
1Maximum Length:4096The path where trail data is stored -
sequence(required):
integer
Minimum Value:
0Maximum Value:999999999Default Value:0Trail file sequence number
Nested Schema : position-x-oneOf[1]
Type:
Show Source
object-
$schema:
Allowed Values:
[ "ogg:filePosition" ] -
name(required):
string
Minimum Length:
1Maximum Length:4096The name of the file -
offset(required):
integer
Minimum Value:
0Maximum Value:2147483647Offset in file -
path(required):
string
Minimum Length:
1Maximum Length:4096The path where file data is stored
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:9012/services/v2/replicats/REPS/info/status",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:9012/services/v2/replicats/REPS/info/status",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:9012/services/v2/metadata-catalog/replicatStatus",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"$schema":"ogg:replicatStatus",
"lag":0,
"lastStarted":"2024-04-03T22:35:31.674Z",
"position":{
"name":"ea",
"offset":0,
"path":"/u02/Deployment/var/lib/data/ggnorth/",
"sequence":0
},
"processId":787,
"sinceLagReported":0,
"status":"running"
}
}