構成ファイルの取得
get
/services/{version}/config/files/{file}
必要なロール: ユーザー
構成ファイルの内容を取得します。
リクエスト
パス・パラメータ
- file(必須): string
最小長:
5
最大長:255
パターン:^(GLOBALS|ENCKEYS|[a-zA-Z0-9_$]*[.](prm|inc|properties))$
構成ファイルの名前。
- version(必須): string
Oracle GoldenGateサービスのAPIバージョン。
指定できる値:[ "v2" ]
レスポンス
サポートされるメディア・タイプ
- application/json
200レスポンス
構成ファイルが正常に取得されました。
ルート・スキーマ: Oracle GoldenGate Configuration
型:
object
タイトル:
Oracle GoldenGate Configuration
このスキーマはパラメータ・ファイルのプレーン・コンテンツを表します
ソースの表示
- $schema:
指定できる値:
[ "ogg:config" ]
- lines(必須): array lines
最小アイテム数:
0
最大アイテム数:32767
レスポンスの例(application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:11001/services/v2/config/files/Common.inc",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11001/services/v2/config/files/Common.inc",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:11001/services/v2/metadata-catalog/file",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"$schema":"ogg:config",
"lines":[
"UseridAlias oggadmin",
"ReportCount Every 100000 Records"
]
}
}