{"action":"created","comment":{"url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/comments/166681515","pull_request_review_id":94769101,"id":166681515,"diff_hunk":"@@ -0,0 +1,58 @@\n+# Tenant API\n+\n+## BDM\n+\n+#### Description\n+\n+Show state or install new Business Data Model.\n+\n+#### Methods\n+ * GET - Read BDM status.\n+ * POST - Add or update Business Data Model\n+\n+\n+#### Get BDM status\n+\n+Make this call to get status of access control.\n+\n+* **URL**  \n+  `/API/tenant/bdm`  \n+* **Method**  \n+  `Get`\n+* **Success Response**\n+    * Code: 200\n+    * Payload:      \n+  ```json\n+  {\n+        \"id\": \"id\",\n+        \"name\": \"client_bdm.zip\",\n+        \"type\": \"BDM\",\n+        \"state\": \"state\",\n+        \"lastUpdatedBy\": \"user_id (-1 for tenant_technical_user)\",\n+        \"lastUpdateDate\": \"2018-01-17T17:05:36.671Z\"\n+  }\n+  ```   \n+   \n+\n+#### Install or update a BDM\n+\n+Install or update a BDM on your tenant.","path":"md/tenant-api.md","position":39,"original_position":39,"commit_id":"83102f7c541a6614468c5929aab4f223172c64f4","original_commit_id":"83102f7c541a6614468c5929aab4f223172c64f4","user":{"login":"abirembaut","id":4931233,"avatar_url":"https://avatars3.githubusercontent.com/u/4931233?v=4","gravatar_id":"","url":"https://api.github.com/users/abirembaut","html_url":"https://github.com/abirembaut","followers_url":"https://api.github.com/users/abirembaut/followers","following_url":"https://api.github.com/users/abirembaut/following{/other_user}","gists_url":"https://api.github.com/users/abirembaut/gists{/gist_id}","starred_url":"https://api.github.com/users/abirembaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abirembaut/subscriptions","organizations_url":"https://api.github.com/users/abirembaut/orgs","repos_url":"https://api.github.com/users/abirembaut/repos","events_url":"https://api.github.com/users/abirembaut/events{/privacy}","received_events_url":"https://api.github.com/users/abirembaut/received_events","type":"User","site_admin":false},"body":"mention the upload servlet","created_at":"2018-02-07T16:52:17Z","updated_at":"2018-02-07T16:53:30Z","html_url":"https://github.com/bonitasoft/bonita-doc/pull/466#discussion_r166681515","pull_request_url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/466","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/comments/166681515"},"html":{"href":"https://github.com/bonitasoft/bonita-doc/pull/466#discussion_r166681515"},"pull_request":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/466"}}},"pull_request":{"url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/466","id":167425079,"html_url":"https://github.com/bonitasoft/bonita-doc/pull/466","diff_url":"https://github.com/bonitasoft/bonita-doc/pull/466.diff","patch_url":"https://github.com/bonitasoft/bonita-doc/pull/466.patch","issue_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/466","number":466,"state":"open","locked":false,"title":"feat(ac): explain access control and tenant api","user":{"login":"benjaminParisel","id":25297128,"avatar_url":"https://avatars0.githubusercontent.com/u/25297128?v=4","gravatar_id":"","url":"https://api.github.com/users/benjaminParisel","html_url":"https://github.com/benjaminParisel","followers_url":"https://api.github.com/users/benjaminParisel/followers","following_url":"https://api.github.com/users/benjaminParisel/following{/other_user}","gists_url":"https://api.github.com/users/benjaminParisel/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminParisel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminParisel/subscriptions","organizations_url":"https://api.github.com/users/benjaminParisel/orgs","repos_url":"https://api.github.com/users/benjaminParisel/repos","events_url":"https://api.github.com/users/benjaminParisel/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminParisel/received_events","type":"User","site_admin":false},"body":"* Add documention on access-control-api\r\n* Add documention on tenant-api\r\n\r\nCovers [BS-17946](https://bonitasoft.atlassian.net/browse/BS-17946)","created_at":"2018-02-06T14:15:06Z","updated_at":"2018-02-07T16:53:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"17b96cb63548abd28a32159d4cc53d62c46d3453","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/466/commits","review_comments_url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/466/comments","review_comment_url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/466/comments","statuses_url":"https://api.github.com/repos/bonitasoft/bonita-doc/statuses/83102f7c541a6614468c5929aab4f223172c64f4","head":{"label":"bonitasoft:doc/BS-17946_access_control_api","ref":"doc/BS-17946_access_control_api","sha":"83102f7c541a6614468c5929aab4f223172c64f4","user":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars1.githubusercontent.com/u/4619712?v=4","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"repo":{"id":34387669,"name":"bonita-doc","full_name":"bonitasoft/bonita-doc","owner":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars1.githubusercontent.com/u/4619712?v=4","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bonitasoft/bonita-doc","description":null,"fork":false,"url":"https://api.github.com/repos/bonitasoft/bonita-doc","forks_url":"https://api.github.com/repos/bonitasoft/bonita-doc/forks","keys_url":"https://api.github.com/repos/bonitasoft/bonita-doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bonitasoft/bonita-doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bonitasoft/bonita-doc/teams","hooks_url":"https://api.github.com/repos/bonitasoft/bonita-doc/hooks","issue_events_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/events{/number}","events_url":"https://api.github.com/repos/bonitasoft/bonita-doc/events","assignees_url":"https://api.github.com/repos/bonitasoft/bonita-doc/assignees{/user}","branches_url":"https://api.github.com/repos/bonitasoft/bonita-doc/branches{/branch}","tags_url":"https://api.github.com/repos/bonitasoft/bonita-doc/tags","blobs_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bonitasoft/bonita-doc/statuses/{sha}","languages_url":"https://api.github.com/repos/bonitasoft/bonita-doc/languages","stargazers_url":"https://api.github.com/repos/bonitasoft/bonita-doc/stargazers","contributors_url":"https://api.github.com/repos/bonitasoft/bonita-doc/contributors","subscribers_url":"https://api.github.com/repos/bonitasoft/bonita-doc/subscribers","subscription_url":"https://api.github.com/repos/bonitasoft/bonita-doc/subscription","commits_url":"https://api.github.com/repos/bonitasoft/bonita-doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/bonitasoft/bonita-doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/bonitasoft/bonita-doc/contents/{+path}","compare_url":"https://api.github.com/repos/bonitasoft/bonita-doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bonitasoft/bonita-doc/merges","archive_url":"https://api.github.com/repos/bonitasoft/bonita-doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bonitasoft/bonita-doc/downloads","issues_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues{/number}","pulls_url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls{/number}","milestones_url":"https://api.github.com/repos/bonitasoft/bonita-doc/milestones{/number}","notifications_url":"https://api.github.com/repos/bonitasoft/bonita-doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bonitasoft/bonita-doc/labels{/name}","releases_url":"https://api.github.com/repos/bonitasoft/bonita-doc/releases{/id}","deployments_url":"https://api.github.com/repos/bonitasoft/bonita-doc/deployments","created_at":"2015-04-22T11:56:58Z","updated_at":"2018-01-10T04:10:58Z","pushed_at":"2018-02-07T15:37:43Z","git_url":"git://github.com/bonitasoft/bonita-doc.git","ssh_url":"git@github.com:bonitasoft/bonita-doc.git","clone_url":"https://github.com/bonitasoft/bonita-doc.git","svn_url":"https://github.com/bonitasoft/bonita-doc","homepage":null,"size":18645,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":109,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":109,"open_issues":6,"watchers":6,"default_branch":"7.3"}},"base":{"label":"bonitasoft:7.7","ref":"7.7","sha":"2788f902a756225e3d6f95860a4b0dcdb1dc99cc","user":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars1.githubusercontent.com/u/4619712?v=4","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"repo":{"id":34387669,"name":"bonita-doc","full_name":"bonitasoft/bonita-doc","owner":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars1.githubusercontent.com/u/4619712?v=4","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bonitasoft/bonita-doc","description":null,"fork":false,"url":"https://api.github.com/repos/bonitasoft/bonita-doc","forks_url":"https://api.github.com/repos/bonitasoft/bonita-doc/forks","keys_url":"https://api.github.com/repos/bonitasoft/bonita-doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bonitasoft/bonita-doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bonitasoft/bonita-doc/teams","hooks_url":"https://api.github.com/repos/bonitasoft/bonita-doc/hooks","issue_events_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/events{/number}","events_url":"https://api.github.com/repos/bonitasoft/bonita-doc/events","assignees_url":"https://api.github.com/repos/bonitasoft/bonita-doc/assignees{/user}","branches_url":"https://api.github.com/repos/bonitasoft/bonita-doc/branches{/branch}","tags_url":"https://api.github.com/repos/bonitasoft/bonita-doc/tags","blobs_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bonitasoft/bonita-doc/statuses/{sha}","languages_url":"https://api.github.com/repos/bonitasoft/bonita-doc/languages","stargazers_url":"https://api.github.com/repos/bonitasoft/bonita-doc/stargazers","contributors_url":"https://api.github.com/repos/bonitasoft/bonita-doc/contributors","subscribers_url":"https://api.github.com/repos/bonitasoft/bonita-doc/subscribers","subscription_url":"https://api.github.com/repos/bonitasoft/bonita-doc/subscription","commits_url":"https://api.github.com/repos/bonitasoft/bonita-doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/bonitasoft/bonita-doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/bonitasoft/bonita-doc/contents/{+path}","compare_url":"https://api.github.com/repos/bonitasoft/bonita-doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bonitasoft/bonita-doc/merges","archive_url":"https://api.github.com/repos/bonitasoft/bonita-doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bonitasoft/bonita-doc/downloads","issues_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues{/number}","pulls_url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls{/number}","milestones_url":"https://api.github.com/repos/bonitasoft/bonita-doc/milestones{/number}","notifications_url":"https://api.github.com/repos/bonitasoft/bonita-doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bonitasoft/bonita-doc/labels{/name}","releases_url":"https://api.github.com/repos/bonitasoft/bonita-doc/releases{/id}","deployments_url":"https://api.github.com/repos/bonitasoft/bonita-doc/deployments","created_at":"2015-04-22T11:56:58Z","updated_at":"2018-01-10T04:10:58Z","pushed_at":"2018-02-07T15:37:43Z","git_url":"git://github.com/bonitasoft/bonita-doc.git","ssh_url":"git@github.com:bonitasoft/bonita-doc.git","clone_url":"https://github.com/bonitasoft/bonita-doc.git","svn_url":"https://github.com/bonitasoft/bonita-doc","homepage":null,"size":18645,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":109,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":109,"open_issues":6,"watchers":6,"default_branch":"7.3"}},"_links":{"self":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/466"},"html":{"href":"https://github.com/bonitasoft/bonita-doc/pull/466"},"issue":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/466"},"comments":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/466/comments"},"review_comments":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/466/comments"},"review_comment":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/466/commits"},"statuses":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/statuses/83102f7c541a6614468c5929aab4f223172c64f4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"abirembaut"}}