Get the list of available resources

get

/mftapp/rest/v1/metadata-catalog

Lists each resource name with alternate and describe links which can be used to get the meta data of the resource

Request

There are no request parameters for this operation.

Response

Supported Media Types
  • application/json
200 Response
Body
Root Schema : resourceCatalog
Type: object
Nested Schema : items
Type: array
Information about the MFT resources.
Nested Schema : items-items[0]
Type: object
Example 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 Response
Something went wrong
Body
Root Schema : Error information.
Type: object
Title: Error information.
Example application/json

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