Retrieve Trail Sequence
/services/{version}/trails/{trail}/sequences/{sequence}
Required Role: Administrator
Retrieve a trail sequence
Request
-
sequence(required): integer
The trail sequence number
-
trail(required): string
Minimum Length:
2
Maximum Length:512
Pattern:^[a-zA-Z0-9_#$-]*$
The name of the Trail. This corresponds to the
trailName
property in theogg:trail
resource or the trail filesystem path.A trail name can be either a human-friendly name like
HumanResources
or a two-character name plus a query parameter called 'path' whose value is the URI-encoded trail filesystem path, likeea?path=north%2Femployees
. When a short name and a URI-encoded path is used for the trail name, it must match thename
andpath
properties in the correspondingogg:trail
resource.A trail called
HumanResources
with the path/name set tonorth/employees/ea
can be referred to as eitherHumanResources
orea?path=north%2Femployees
, but the canonical name is always the human-friendly name.POST operations accept only the human-friendly name.
-
version(required): string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
-
download: string
When provided, download the trail sequence content.
-
keyName: string
The name of encryption key used to encrypt the trail sequence when the trail sequence content is retrieved.
Response
- application/json
- application/binary
200 Response
Trail sequence retrieved
object
Oracle GoldenGate Trail Sequence
-
$schema:
Allowed Values:
[ "ogg:trailSequence" ]
-
encrypted(required):
boolean
Indicates the trail sequence is encrypted
-
firstCsn:
firstCsn
Value of the first known Commit Sequence Number (CSN)
-
sourceDatabase(required):
string
Minimum Length:
1
Maximum Length:128
Name of the source database -
spaceUsed(required):
integer
Minimum Value:
0
Maximum Value:18446744073709552000
Bytes consumed by the trail sequence
{
}