This section describes the basic use of the View REST API. Browse https://github.com/apache/ambari/blob/trunk/ambari-views/docs/index.md for detailed usage information and examples.
Table of Contents |
---|
Get List of Views
Gets the list of all available Views
Code Block GET /api/v1/views 200 - OK
Once you have a list of views, you can drill-into a view and see the available versions.
Code Block GET /api/v1/views/FILES 200 - OK
You can go a level deeper and see more information about that specific version for the view, such as the parameters and the archive name, and a list of all instances of the view.
Code Block GET /api/v1/views/FILES/versions/0.1.0 200 - OK
...