情報タイプのリスト表示
get
/services/{version}/tasks/{task}/info
必要なロール: ユーザー
タスクで使用可能な情報タイプのコレクションを使用します。
リクエスト
パス・パラメータ
- task(必須): string
最小長:
1
最大長:64
パターン:^[A-Za-z0-9][A-Za-z0-9_-]*$
タスク名。英数字の後に最大63文字の英数字、_または-が続きます。
- 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/tasks/ReportLag/info",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11001/services/v2/tasks/ReportLag/info",
"mediaType":"application/json",
"rel":"self"
}
],
"messages":[
],
"response":{
"$schema":"ogg:collection",
"items":[
{
"$schema":"ogg:collectionItem",
"links":[
{
"href":"http://localhost:11001/services/v2/tasks/ReportLag/info",
"mediaType":"application/json",
"rel":"parent"
},
{
"href":"http://localhost:11001/services/v2/tasks/ReportLag/info/status",
"mediaType":"application/json",
"rel":"canonical"
}
],
"name":"status"
},
{
"$schema":"ogg:collectionItem",
"links":[
{
"href":"http://localhost:11001/services/v2/tasks/ReportLag/info",
"mediaType":"application/json",
"rel":"parent"
},
{
"href":"http://localhost:11001/services/v2/tasks/ReportLag/info/history",
"mediaType":"application/json",
"rel":"canonical"
}
],
"name":"history"
}
]
}
}