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:2Pattern:^[A-Za-z][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:11001/services/v2/replicats/REP2/info/status",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11001/services/v2/replicats/REP2/info/status",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:11001/services/v2/metadata-catalog/replicatStatus",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"$schema":"ogg:replicatStatus",
"lag":"0",
"lastStarted":"2021-07-13T16:38:52.479Z",
"position":{
"name":"X2",
"offset":"4528",
"path":"/u02/ogg/Local/var/lib/data/",
"sequence":"0"
},
"processId":"1904",
"sinceLagReported":"3",
"status":"running"
}
}