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