{"action":"created","issue":{"url":"https://api.github.com/repos/apache/zeppelin/issues/1030","repository_url":"https://api.github.com/repos/apache/zeppelin","labels_url":"https://api.github.com/repos/apache/zeppelin/issues/1030/labels{/name}","comments_url":"https://api.github.com/repos/apache/zeppelin/issues/1030/comments","events_url":"https://api.github.com/repos/apache/zeppelin/issues/1030/events","html_url":"https://github.com/apache/zeppelin/pull/1030","id":160687295,"number":1030,"title":"[ZEPPELIN-1023] Add more credential apis.","user":{"login":"astroshim","id":3348133,"avatar_url":"https://avatars.githubusercontent.com/u/3348133?v=3","gravatar_id":"","url":"https://api.github.com/users/astroshim","html_url":"https://github.com/astroshim","followers_url":"https://api.github.com/users/astroshim/followers","following_url":"https://api.github.com/users/astroshim/following{/other_user}","gists_url":"https://api.github.com/users/astroshim/gists{/gist_id}","starred_url":"https://api.github.com/users/astroshim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astroshim/subscriptions","organizations_url":"https://api.github.com/users/astroshim/orgs","repos_url":"https://api.github.com/users/astroshim/repos","events_url":"https://api.github.com/users/astroshim/events{/privacy}","received_events_url":"https://api.github.com/users/astroshim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-16T15:15:16Z","updated_at":"2016-06-21T05:32:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/zeppelin/pulls/1030","html_url":"https://github.com/apache/zeppelin/pull/1030","diff_url":"https://github.com/apache/zeppelin/pull/1030.diff","patch_url":"https://github.com/apache/zeppelin/pull/1030.patch"},"body":"### What is this PR for?\r\nThis PR is for supporting various Credential APIs for users.\r\n\r\n\r\n### What type of PR is it?\r\nImprovement\r\n\r\n\r\n### What is the Jira issue?\r\nhttps://issues.apache.org/jira/browse/ZEPPELIN-1023\r\n\r\n\r\n### How should this be tested?\r\n  - to create credential information.\r\n```\r\ncurl -XPUT -H \"Content-Type: application/json\" \"http://localhost:8080/api/credential\" -d '{\"entity\" : \"e1\", \"username\" : \"user1\", \"password\" : \"testpass\"}'\r\n```\r\n\r\n  - to get credential information.\r\n```\r\ncurl -XGET -H \"Content-Type: application/json\" \"http://localhost:8080/api/credential\" \r\n```\r\n\r\n  - to remove credential entity information.\r\n```\r\ncurl -XDELETE -H \"Content-Type: application/json\" \"http://localhost:8080/api/credential/e1\"\r\n```\r\n\r\n  - to remove all credential information.\r\n```\r\ncurl -XDELETE -H \"Content-Type: application/json\" \"http://localhost:8080/api/credential\"\r\n```\r\n\r\n### Questions:\r\n* Does the licenses files need update? no\r\n* Is there breaking changes for older versions? no\r\n* Does this needs documentation? no\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/zeppelin/issues/comments/227344522","html_url":"https://github.com/apache/zeppelin/pull/1030#issuecomment-227344522","issue_url":"https://api.github.com/repos/apache/zeppelin/issues/1030","id":227344522,"user":{"login":"AhyoungRyu","id":10060731,"avatar_url":"https://avatars.githubusercontent.com/u/10060731?v=3","gravatar_id":"","url":"https://api.github.com/users/AhyoungRyu","html_url":"https://github.com/AhyoungRyu","followers_url":"https://api.github.com/users/AhyoungRyu/followers","following_url":"https://api.github.com/users/AhyoungRyu/following{/other_user}","gists_url":"https://api.github.com/users/AhyoungRyu/gists{/gist_id}","starred_url":"https://api.github.com/users/AhyoungRyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AhyoungRyu/subscriptions","organizations_url":"https://api.github.com/users/AhyoungRyu/orgs","repos_url":"https://api.github.com/users/AhyoungRyu/repos","events_url":"https://api.github.com/users/AhyoungRyu/events{/privacy}","received_events_url":"https://api.github.com/users/AhyoungRyu/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T05:32:15Z","updated_at":"2016-06-21T05:32:15Z","body":"For the docs, yeah I agree with @bzz. Maybe need to create a new page for this `http://zeppelin.apache.org/docs/0.6.0-SNAPSHOT/rest-api/rest-credential` :)"}}
{"actor":{"display_login":"AhyoungRyu"}}