使用可能なリソースのリストの取得

get

/mftapp/rest/v1/metadata-catalog

リソースからのメタ・データの取得に使用される代替リンクおよび説明へのリンクとともに、各リソース名をリストします。

リクエスト

この操作にはリクエスト・パラメータはありません。

レスポンス

サポートされているメディア・タイプ
  • application/json
200レスポンス
本文
ルート・スキーマ: resourceCatalog
タイプ: object
ネスト・スキーマ: items
タイプ: array
MFTリソースに関する情報。
ネスト・スキーマ: items-items[0]
タイプ: object
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.
application/jsonの例

{
    "errorCode":"MFT-5445",
    "errorKey":"MFT_REST_UNABLE_TO_LIST_RESOURCES_CATALOG",
    "errorMessage":"Unable to list the resources catalog of MFT RESTful services."
}