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:
objectNested Schema : items
Nested Schema : links
Type:
array-
Type:
objectlinks-items[0]
Nested Schema : items-items[0]
Type:
object- links
-
Type:
arraylinks - name
-
Type:
stringName of the resource.
Nested Schema : links
Type:
array-
Type:
objectlinks-items[0]
Nested Schema : links-items[0]
Type:
object- href
-
Type:
stringReference to resource. - mediaType
-
Type:
stringMedia type of response. - rel
-
Type:
stringRelationship to resource.
Nested Schema : links-items[0]
Type:
object- href
-
Type:
stringReference to resource. - mediaType
-
Type:
stringMedia type of response. - rel
-
Type:
stringRelationship to resource.
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:
objectTitle:
Error information.- errorCode
-
Type:
stringThe error code that Oracle Managed File Transfer returns. - errorKey
-
Type:
stringThe error key that Oracle Managed File Transfer returns. - errorMessage
-
Type:
stringA message describing the error that Oracle Managed File Transfer returns.
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."
}