api-site/api-ref/source/data-processing/v1.1/plugins.inc
Anne Gentle ac4cc65cb5 Adds migrated RST + YAML files from WADL
Contains .inc files which have all the contents of the .rst files
but are grouped together for easier editing.
Contains parameters.yaml, which has all parameters in one file.
Contains request and response samples (JSON and XML) that are
pointed to from the .inc files.

Change-Id: I42d5451300f95774a3ec4df66bc95cb36795844d
2016-05-02 17:42:49 -05:00

134 lines
1.9 KiB
ReStructuredText

.. -*- rst -*-
=======
Plugins
=======
A plugin object defines the Hadoop or Spark version that it can
install and which configurations can be set for the cluster.
Show plugin details
===================
.. rest_method:: GET /v1.1/{tenant_id}/plugins/{plugin_name}
Shows details for a plugin.
Normal response codes: 200
Error response codes:
Request
-------
.. rest_parameters:: parameters.yaml
- plugin_name: plugin_name
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- versions: versions
- title: title
- description: description
- name: name
Response Example
----------------
.. literalinclude:: ../samples/plugins/plugin-show-response.json
:language: javascript
List plugins
============
.. rest_method:: GET /v1.1/{tenant_id}/plugins
Lists all registered plugins.
Normal response codes: 200
Error response codes:
Request
-------
.. rest_parameters:: parameters.yaml
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- title: title
- versions: versions
- plugins: plugins
- description: description
- name: name
Response Example
----------------
.. literalinclude:: ../samples/plugins/plugins-list-response.json
:language: javascript
Show plugin version details
===========================
.. rest_method:: GET /v1.1/{tenant_id}/plugins/{plugin_name}/{version}
Shows details for a plugin version.
Normal response codes: 200
Error response codes:
Request
-------
.. rest_parameters:: parameters.yaml
- version: version
- plugin_name: plugin_name
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- versions: versions
- title: title
- description: description
- name: name
Response Example
----------------
.. literalinclude:: ../samples/plugins/plugin-version-show-response.json
:language: javascript