情報タイプのリスト表示
get
/services/{version}/extracts/{extract}/info
必要なロール: ユーザー
Extractで使用可能な情報のタイプを取得します。
リクエスト
パス・パラメータ
- extract(必須): string
最小長:
1
最大長:8
パターン:^[A-Z_$][A-Z0-9_$]*$
Extractの名前。Extract名は大文字で、先頭が英字、その後に英数字が最大で7文字続きます。
- version(必須): string
Oracle GoldenGateサービスのAPIバージョン。
指定できる値:[ "v2" ]
レスポンス
サポートされるメディア・タイプ
- application/json
200レスポンス
情報タイプのコレクションが正常に取得されました。
ルート・スキーマ: Oracle GoldenGate Collection
型:
object
タイトル:
ソースの表示
Oracle GoldenGate Collection
- $schema:
指定できる値:
[ "ogg:collection" ]
- items(必須): array items
最小アイテム数:
0
最大アイテム数:32767
ネストされたスキーマ: items
型:
object
使用可能な追加プロパティ:
ソースの表示
true
- $schema: string
最小長:
1
最大長:255
デフォルト値:ogg:collectionItem
コレクション・アイテムのスキーマ名。デフォルトはこのスキーマです - links(必須): array links
最小アイテム数:
0
最大アイテム数:16
アイテムのリンク - name(必須): string
最小長:
1
最大長:255
アイテム名 - status: status
アイテムのステータス
ネストされたスキーマ: items
型:
ソースの表示
object
- $schema:
指定できる値:
[ "ogg:link" ]
- description: string
最小長:
1
最大長:4095
このリンク固有の情報と詳細を提供する、人が読むための説明。 - href(必須): string
最小長:
2
最大長:4095
パターン:^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$
リンクの絶対URI - mediaType: string
最小長:
6
最大長:255
パターン:^(text|application)/[a-zA-Z0-9!#$&.+-^_]+$
メディア・タイプ - RFC 4288 (https://tools.ietf.org/html/rfc4288)を参照 - rel(必須):
指定できる値:
[ "alternate", "canonical", "current", "describedby", "describes", "enclosure", "parent", "related", "self", "first", "last", "next", "previous", "ogg://service" ]
hrefとリクエスト対象のリンクlinkの関係
レスポンスの例(application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:11001/services/v2/extracts/EXT2/info",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11001/services/v2/extracts/EXT2/info",
"mediaType":"application/json",
"rel":"self"
}
],
"messages":[
],
"response":{
"$schema":"ogg:collection",
"items":[
{
"$schema":"ogg:collectionItem",
"links":[
{
"href":"http://localhost:11001/services/v2/extracts/EXT2/info",
"mediaType":"application/json",
"rel":"parent"
},
{
"href":"http://localhost:11001/services/v2/extracts/EXT2/info/history",
"mediaType":"application/json",
"rel":"canonical"
}
],
"name":"history"
},
{
"$schema":"ogg:collectionItem",
"links":[
{
"href":"http://localhost:11001/services/v2/extracts/EXT2/info",
"mediaType":"application/json",
"rel":"parent"
},
{
"href":"http://localhost:11001/services/v2/extracts/EXT2/info/status",
"mediaType":"application/json",
"rel":"canonical"
}
],
"name":"status"
},
{
"$schema":"ogg:collectionItem",
"links":[
{
"href":"http://localhost:11001/services/v2/extracts/EXT2/info",
"mediaType":"application/json",
"rel":"parent"
},
{
"href":"http://localhost:11001/services/v2/extracts/EXT2/info/reports",
"mediaType":"application/json",
"rel":"canonical"
}
],
"name":"reports"
},
{
"$schema":"ogg:collectionItem",
"links":[
{
"href":"http://localhost:11001/services/v2/extracts/EXT2/info",
"mediaType":"application/json",
"rel":"parent"
},
{
"href":"http://localhost:11001/services/v2/extracts/EXT2/info/checkpoints",
"mediaType":"application/json",
"rel":"canonical"
}
],
"name":"checkpoints"
}
]
}
}