ログの取得
get
/services/{version}/logs/{log}
必要なロール: 管理者
アプリケーション・ログを取得します
リクエスト
パス・パラメータ
- log(必須): string
最小長:
1
最大長:32
パターン:^[a-z]+$
ログの名前。
- version(必須): string
Oracle GoldenGateサービスのAPIバージョン。
指定できる値:[ "v2" ]
レスポンス
サポートされるメディア・タイプ
- application/json
- application/x.json-log
- application/x.binary-log
- text/plain
200レスポンス
ログの詳細が正常に取得されました。
ルート・スキーマ: Application log properties
型:
object
タイトル:
ソースの表示
Application log properties
- $schema:
指定できる値:
[ "ogg:log" ]
- dataExists: boolean
デフォルト値:
false
アプリケーション・ログのデータが存在する場合はTrue - enabled(必須): boolean
アプリケーション・ログが有効になっている場合はTrue
レスポンスの例(application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:9012/services/v2/logs/default",
"mediaType":"text/plain",
"rel":"alternate"
},
{
"href":"http://localhost:9012/services/v2/logs/default",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:9012/services/v2/logs/default",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:9012/services/v2/metadata-catalog/log",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"$schema":"ogg:log",
"dataExists":true,
"enabled":true
}
}