diff --git a/docs/_includes/themes/zeppelin/_navigation.html b/docs/_includes/themes/zeppelin/_navigation.html index 498a2d36782..1c5a4c26a74 100644 --- a/docs/_includes/themes/zeppelin/_navigation.html +++ b/docs/_includes/themes/zeppelin/_navigation.html @@ -94,6 +94,7 @@
| Description | +This ```GET``` method returns all key/value pairs of credential information on the server. | +
| URL | +```http://[zeppelin-server]:[zeppelin-port]/api/credential``` | +
| Success code | +200 | +
| Fail code | +500 | +
| sample JSON response + | +
+
+{
+ "status": "OK",
+ "message": "",
+ "body": {
+ "userCredentials":{
+ "entity1":{
+ "username":"user1",
+ "password":"password1"
+ },
+ "entity2":{
+ "username":"user2",
+ "password":"password2"
+ }
+ }
+ }
+} |
+
| Description | +This ```PUT``` method creates an credential information with new properties. | +
| URL | +```http://[zeppelin-server]:[zeppelin-port]/api/credential/``` | +
| Success code | +200 | +
| Fail code | +500 | +
| Sample JSON input | +
+
+{
+ "entity": "e1",
+ "username": "user",
+ "password": "password"
+}
+
+ |
+
| Sample JSON response | +
+
+{
+ "status": "OK"
+}
+
+ |
+
| Description | +This ```DELETE``` method deletes credential information. | +
| URL | +```http://[zeppelin-server]:[zeppelin-port]/api/credential``` | +
| Success code | +200 | +
| Fail code | +500 | +
| Sample JSON response | +
+ {"status":"OK"}
+ |
+
| Description | +This ```DELETE``` method deletes an given credential entity. | +
| URL | +```http://[zeppelin-server]:[zeppelin-port]/api/credential/[entity]``` | +
| Success code | +200 | +
| Fail code | +500 | +
| Sample JSON response | +
+ {"status":"OK"}
+ |
+