使用可能なリソースのリストの取得
get
/mftapp/rest/v1/metadata-catalog
各リソース名を代替名とともに示し、リソースのメタ・データの取得に使用できるリンクを示します
リクエスト
この操作のリクエスト・パラメータはありません。
レスポンス
サポートされるメディア・タイプ
- application/json
200レスポンス
本文
ネストされたスキーマ : items
ネストされたスキーマ: links
型:
array
-
型:
object
links-items[0]
ネストされたスキーマ: links
型:
array
-
型:
object
links-items[0]
ネストされたスキーマ : links-items[0]
型:
object
- href
-
型:
string
リソースへの参照。 - mediaType
-
型:
string
レスポンスのメディア・タイプ。 - rel
-
型:
string
リソースとの関係。
ネストされたスキーマ : links-items[0]
型:
object
- href
-
型:
string
リソースへの参照。 - mediaType
-
型:
string
レスポンスのメディア・タイプ。 - rel
-
型:
string
リソースとの関係。
application/jsonの例
{
"items":[
{
"name":"events",
"links":[
{
"rel":"alternate",
"href":"http://host:port/mftapp/rest/v1/metadata-catalog/events",
"mediaType":"application/schema+json"
},
{
"rel":"describes",
"href":"http://host:port/mftapp/rest/v1/events"
}
]
},
{
"name":"sources",
"links":[
{
"rel":"alternate",
"href":"http://host:port/mftapp/rest/v1/metadata-catalog/sources",
"mediaType":"application/schema+json"
},
{
"rel":"describes",
"href":"http://host:port/mftapp/rest/v1/sources"
}
]
}
],
"links":[
{
"rel":"alternate",
"href":"http://host:port/mftapp/rest/v1/metadata-catalog/catalog",
"mediaType":"application/schema+json"
},
{
"rel":"self",
"href":"http://host:port/mftapp/rest/v1/metadata-catalog/"
}
]
}
500レスポンス
問題が発生
本文
ルート・スキーマ: Error information.
型:
object
タイトル:
Error information.
- errorCode
-
型:
string
Oracle Managed File Transferから返されるエラー・コード。 - errorKey
-
型:
string
Oracle Managed File Transferから返されるエラー・キー。 - errorMessage
-
型:
string
Oracle Managed File Transferから返されるエラーを説明するメッセージ。
application/jsonの例
{
"errorCode":"MFT-5445",
"errorKey":"MFT_REST_UNABLE_TO_LIST_RESOURCES_CATALOG",
"errorMessage":"Unable to list the resources catalog of MFT RESTful services."
}