データベース表の取得
get
/services/{version}/connections/{connection}/databases/{database}/{schema}
必要なロール: ユーザー
スキーマ内の表の名前を取得します。
リクエスト
パス・パラメータ
- connection(必須): string
最小長:
1
最大長:61
パターン:^[a-zA-Z][a-zA-Z0-9_#$]{1,29}([.][a-zA-Z][a-zA-Z0-9_#$]{1,29})?$
接続名。資格証明ストアの別名ごとに、domain.aliasという名前の接続が存在しています。
- database(必須): string
最小長:
1
最大長:130
データベース名。
- schema(必須): string
最小長:
1
最大長:130
データベースのスキーマ名。
- version(必須): string
Oracle GoldenGateサービスのAPIバージョン。
指定できる値:[ "v2" ]
問合せパラメータ
- name: string
表名フィルタ。ワイルドカード文字'*'または'?'を含みます。
レスポンス
サポートされるメディア・タイプ
- 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
最小アイテム数:
1
最大アイテム数: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:9012/services/v2/connections/OracleGoldenGate.ggsouth/databases/DBNORTH_PDB1/HR",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:9012/services/v2/connections/OracleGoldenGate.ggsouth/databases/DBNORTH_PDB1/HR",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:9012/services/v2/metadata-catalog/schema",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"$schema":"ogg:collection",
"items":[
{
"$schema":"ogg:collectionItem",
"links":[
{
"href":"http://localhost:9012/services/v2/connections/OracleGoldenGate.ggsouth/databases/DBNORTH_PDB1/HR",
"mediaType":"application/json",
"rel":"parent"
},
{
"href":"http://localhost:9012/services/v2/connections/OracleGoldenGate.ggsouth/databases/DBNORTH_PDB1/HR/EMPLOYEES",
"mediaType":"application/json",
"rel":"canonical"
}
],
"name":"EMPLOYEES"
}
]
}
}