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:
2Maximum Length:512Pattern:^[a-zA-Z0-9_#$-]*$The name of the Trail. This corresponds to the
trailNameproperty in theogg:trailresource or the trail filesystem path.A trail name can be either a human-friendly name like
HumanResourcesor 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 thenameandpathproperties in the correspondingogg:trailresource.A trail called
HumanResourceswith the path/name set tonorth/employees/eacan be referred to as eitherHumanResourcesorea?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
objectOracle 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:
1Maximum Length:128Name of the source database -
spaceUsed(required):
integer
Minimum Value:
0Maximum Value:18446744073709552000Bytes consumed by the trail sequence
{
}