使用可能なリソースのリストの取得
get
/mftapp/rest/v1/metadata-catalog
リソースからのメタ・データの取得に使用される代替リンクおよび説明へのリンクとともに、各リソース名をリストします。
リクエスト
この操作にはリクエスト・パラメータはありません。
レスポンス
サポートされているメディア・タイプ
- application/json
200レスポンス
本文
ルート・スキーマ: resourceCatalog
ネスト・スキーマ: 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."
}