Table 5.7. List Metadata Objects
Method | URI | Description |
---|---|---|
GET | /admin/<object_type>/<path> | Returns a json-array containing the filenames of the metadata objects of a given type in a given subdirectory. Includes all subdirectories and their content |
Table 5.8. Parameters
Parameter | Description | Required |
---|---|---|
object_type | One of supported Murano Repository objects: workflow, scripts, ui, agent, heat, manifests | true |
path | May define a directory (which is present under the root directory of the appropriate type of metadata). If specified, the output will include only files and subdirectories of this directory (the path will be relative to it). | false |
Table 5.9. Error Response Codes
Code | Description |
---|---|
401 | User is not authorized to access this tenant resources |
404 | Metadata object type or directory specified in path parameter are not exist |
Payload
None
Returns
This call returns list all files for specified object type and path
{ "ui": [ "MsSqlClusterServer.yaml", "AspNetAppFarm.yaml", "LinuxApache.yaml", "WebServerFarm.yaml", "Demo.yaml", "WebServer.yaml", "ActiveDirectory.yaml", "MsSqlServer.yaml", "AspNetApp.yaml", "LinuxTelnet.yaml" ] }