payload: {"action":"created","comment":{"url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/pulls/comments/290670150","pull_request_review_id":245919191,"id":290670150,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI5MDY3MDE1MA==","diff_hunk":"@@ -541,9 +540,90 @@\n   [db operator-id]\n   (http/transit-response (fetch-operator-users db {:operator-id operator-id})))\n \n+(defn add-user-to-operator [email db new-member requester operator]\n+  (let [group (create-member! db (:user_id new-member) (::t-operator/ckan-group-id operator))\n+        ;; Ensure that we do not send email to test user\n+        updated-member (if (= \"user.userson@example.com\" (:user_email new-member))\n+               (assoc new-member :user_email \"success@simulator.amazonses.com\")\n+               new-member)\n+        title (str \"Sinut on kutsuttu \" (:name operator) \" -nimisen palveluntuottajan jäseneksi\")\n+        auditlog {::auditlog/event-type :add-member-to-operator\n+                  ::auditlog/event-attributes\n+                  [{::auditlog/name \"transport-operator-id\", ::auditlog/value (str (::t-operator/id operator))},\n+                   {::auditlog/name \"transport-operator-name\", ::auditlog/value (str (::t-operator/name operator))}\n+                   {::auditlog/name \"new-member-id\", ::auditlog/value (str (:user_id updated-member))}\n+                   {::auditlog/name \"new-member-email\", ::auditlog/value (str (:user_email updated-member))}]\n+                  ::auditlog/event-timestamp (java.sql.Timestamp. (System/currentTimeMillis))\n+                  ::auditlog/created-by (get-in requester [:user :id])}]\n+\n+    (do\n+      ;; Send email to user to inform about the new membership.\n+      (try\n+        (email/send!\n+          email\n+          {:to (:user_email updated-member)\n+           :subject title\n+           :body [{:type \"text/html;charset=utf-8\"\n+                   :content (str email-template/html-header\n+                                 (html (email-template/notify-user-new-member updated-member requester operator title)))}]})\n+        (catch Exception e\n+          (log/warn \"Error while sending a email to new member\" e)))\n+\n+      ;; Create auditlog\n+      (specql/insert! db ::auditlog/auditlog auditlog)\n+\n+      ;; Return added new-member data\n+      {:id (:user_id new-member)\n+       :username (:user_username new-member)\n+       :name (:user_name new-member)\n+       :email (:user_email new-member)})))\n+\n+(defn invite-new-user [email db requester operator user]\n+  nil)\n+\n+(defn manage-adding-users-to-operator [email db requester operator-id form-data]\n+\n+  (let [new-member (first (fetch-user-by-email db {:email (:email form-data)}))\n+        operator (first (specql/fetch db ::t-operator/transport-operator\n+                                      #{::t-operator/id ::t-operator/name ::t-operator/ckan-group-id}\n+                                      {::t-operator/id operator-id}))\n+        operator-users (fetch-operator-users db {:operator-id operator-id})\n+        new-member-is-operator-member  (some #(= (:user_id new-member) (:id %)) operator-users)\n+        ;; If member exists, add it to the organization if not, invite\n+        response (cond\n+                        ;; Existing new-member, existing operator\n+                        (and (not new-member-is-operator-member) (not (empty? new-member)) (not (empty? operator)))\n+                        (add-user-to-operator email db new-member requester operator)\n+\n+                        ;; new new-member, existing operator -> invite new-member\n+                        (and (empty? new-member) (not (empty? operator)))\n+                        (invite-new-user email db requester operator (:email form-data))\n+\n+                        ;; new-member is already a member\n+                        (and (not (empty? new-member)) new-member-is-operator-member)\n+                        {:error :already-member}\n+\n+                        ;; Something wrong is happening\n+                        :else\n+                        {:error :something-went-wrong})]\n+    (if (and response (not (:error response)))\n+      (http/transit-response response 200)\n+      (http/transit-response response 400))))\n+\n+(defn remove-member-from-operator [email db user operator-id member-email]\n+  (let [member (first (fetch-user-by-email db {:email member-email}))\n+        operator (first (specql/fetch db ::t-operator/transport-operator\n+                                      #{::t-operator/id ::t-operator/name ::t-operator/ckan-group-id}\n+                                      {::t-operator/id operator-id}))]\n+    (specql/delete! db ::user/member","path":"ote/src/clj/ote/services/transport.clj","position":150,"original_position":150,"commit_id":"bbb5c9a30e85ca23915d15374fe797920ddde6d2","original_commit_id":"bbb5c9a30e85ca23915d15374fe797920ddde6d2","user":{"login":"rckopteri","id":3672511,"node_id":"MDQ6VXNlcjM2NzI1MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/3672511?v=4","gravatar_id":"","url":"https://api.github.com/users/rckopteri","html_url":"https://github.com/rckopteri","followers_url":"https://api.github.com/users/rckopteri/followers","following_url":"https://api.github.com/users/rckopteri/following{/other_user}","gists_url":"https://api.github.com/users/rckopteri/gists{/gist_id}","starred_url":"https://api.github.com/users/rckopteri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rckopteri/subscriptions","organizations_url":"https://api.github.com/users/rckopteri/orgs","repos_url":"https://api.github.com/users/rckopteri/repos","events_url":"https://api.github.com/users/rckopteri/events{/privacy}","received_events_url":"https://api.github.com/users/rckopteri/received_events","type":"User","site_admin":false},"body":"Delete members from operator will be implemented in ticket: 165675263. I only made it possible in this pr to enable e2e tests. So no need to review anything related to removing member.","created_at":"2019-06-05T10:16:09Z","updated_at":"2019-06-05T10:16:09Z","html_url":"https://github.com/finnishtransportagency/mmtis-national-access-point/pull/1040#discussion_r290670150","pull_request_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/pulls/1040","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/pulls/comments/290670150"},"html":{"href":"https://github.com/finnishtransportagency/mmtis-national-access-point/pull/1040#discussion_r290670150"},"pull_request":{"href":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/pulls/1040"}},"in_reply_to_id":290669174},"pull_request":{"url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/pulls/1040","id":284847712,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg0ODQ3NzEy","html_url":"https://github.com/finnishtransportagency/mmtis-national-access-point/pull/1040","diff_url":"https://github.com/finnishtransportagency/mmtis-national-access-point/pull/1040.diff","patch_url":"https://github.com/finnishtransportagency/mmtis-national-access-point/pull/1040.patch","issue_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/issues/1040","number":1040,"state":"open","locked":false,"title":"164101206 add new member","user":{"login":"rckopteri","id":3672511,"node_id":"MDQ6VXNlcjM2NzI1MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/3672511?v=4","gravatar_id":"","url":"https://api.github.com/users/rckopteri","html_url":"https://github.com/rckopteri","followers_url":"https://api.github.com/users/rckopteri/followers","following_url":"https://api.github.com/users/rckopteri/following{/other_user}","gists_url":"https://api.github.com/users/rckopteri/gists{/gist_id}","starred_url":"https://api.github.com/users/rckopteri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rckopteri/subscriptions","organizations_url":"https://api.github.com/users/rckopteri/orgs","repos_url":"https://api.github.com/users/rckopteri/repos","events_url":"https://api.github.com/users/rckopteri/events{/privacy}","received_events_url":"https://api.github.com/users/rckopteri/received_events","type":"User","site_admin":false},"body":"# Added\r\n* Transport operator members: Add existing user as a member of operator\r\n* Transport operator members: Inform existing user that he/she has been added as a member of operator by sending html email\r\n* Auditlog: Add auditlog when existing user is added as a member of operator\r\n* e2e test: Add test that test if existing user is added as a member of operator\r\n   \r\n","created_at":"2019-06-04T07:29:05Z","updated_at":"2019-06-05T10:16:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"732a5537cb7bde55b36d19a6285c11ae18977f50","assignee":null,"assignees":[],"requested_reviewers":[{"login":"erno","id":238642,"node_id":"MDQ6VXNlcjIzODY0Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/238642?v=4","gravatar_id":"","url":"https://api.github.com/users/erno","html_url":"https://github.com/erno","followers_url":"https://api.github.com/users/erno/followers","following_url":"https://api.github.com/users/erno/following{/other_user}","gists_url":"https://api.github.com/users/erno/gists{/gist_id}","starred_url":"https://api.github.com/users/erno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erno/subscriptions","organizations_url":"https://api.github.com/users/erno/orgs","repos_url":"https://api.github.com/users/erno/repos","events_url":"https://api.github.com/users/erno/events{/privacy}","received_events_url":"https://api.github.com/users/erno/received_events","type":"User","site_admin":false},{"login":"jkorpelin","id":45553697,"node_id":"MDQ6VXNlcjQ1NTUzNjk3","avatar_url":"https://avatars3.githubusercontent.com/u/45553697?v=4","gravatar_id":"","url":"https://api.github.com/users/jkorpelin","html_url":"https://github.com/jkorpelin","followers_url":"https://api.github.com/users/jkorpelin/followers","following_url":"https://api.github.com/users/jkorpelin/following{/other_user}","gists_url":"https://api.github.com/users/jkorpelin/gists{/gist_id}","starred_url":"https://api.github.com/users/jkorpelin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkorpelin/subscriptions","organizations_url":"https://api.github.com/users/jkorpelin/orgs","repos_url":"https://api.github.com/users/jkorpelin/repos","events_url":"https://api.github.com/users/jkorpelin/events{/privacy}","received_events_url":"https://api.github.com/users/jkorpelin/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/pulls/1040/commits","review_comments_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/pulls/1040/comments","review_comment_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/pulls/comments{/number}","comments_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/issues/1040/comments","statuses_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/statuses/bbb5c9a30e85ca23915d15374fe797920ddde6d2","head":{"label":"finnishtransportagency:164101206-add-new-member","ref":"164101206-add-new-member","sha":"bbb5c9a30e85ca23915d15374fe797920ddde6d2","user":{"login":"finnishtransportagency","id":5737015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MzcwMTU=","avatar_url":"https://avatars1.githubusercontent.com/u/5737015?v=4","gravatar_id":"","url":"https://api.github.com/users/finnishtransportagency","html_url":"https://github.com/finnishtransportagency","followers_url":"https://api.github.com/users/finnishtransportagency/followers","following_url":"https://api.github.com/users/finnishtransportagency/following{/other_user}","gists_url":"https://api.github.com/users/finnishtransportagency/gists{/gist_id}","starred_url":"https://api.github.com/users/finnishtransportagency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnishtransportagency/subscriptions","organizations_url":"https://api.github.com/users/finnishtransportagency/orgs","repos_url":"https://api.github.com/users/finnishtransportagency/repos","events_url":"https://api.github.com/users/finnishtransportagency/events{/privacy}","received_events_url":"https://api.github.com/users/finnishtransportagency/received_events","type":"Organization","site_admin":false},"repo":{"id":96249016,"node_id":"MDEwOlJlcG9zaXRvcnk5NjI0OTAxNg==","name":"mmtis-national-access-point","full_name":"finnishtransportagency/mmtis-national-access-point","private":false,"owner":{"login":"finnishtransportagency","id":5737015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MzcwMTU=","avatar_url":"https://avatars1.githubusercontent.com/u/5737015?v=4","gravatar_id":"","url":"https://api.github.com/users/finnishtransportagency","html_url":"https://github.com/finnishtransportagency","followers_url":"https://api.github.com/users/finnishtransportagency/followers","following_url":"https://api.github.com/users/finnishtransportagency/following{/other_user}","gists_url":"https://api.github.com/users/finnishtransportagency/gists{/gist_id}","starred_url":"https://api.github.com/users/finnishtransportagency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnishtransportagency/subscriptions","organizations_url":"https://api.github.com/users/finnishtransportagency/orgs","repos_url":"https://api.github.com/users/finnishtransportagency/repos","events_url":"https://api.github.com/users/finnishtransportagency/events{/privacy}","received_events_url":"https://api.github.com/users/finnishtransportagency/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/finnishtransportagency/mmtis-national-access-point","description":"Finnish National Access Point (MMTIS)","fork":false,"url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point","forks_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/forks","keys_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/keys{/key_id}","collaborators_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/teams","hooks_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/hooks","issue_events_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/issues/events{/number}","events_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/events","assignees_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/assignees{/user}","branches_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/branches{/branch}","tags_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/tags","blobs_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/git/refs{/sha}","trees_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/git/trees{/sha}","statuses_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/statuses/{sha}","languages_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/languages","stargazers_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/stargazers","contributors_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/contributors","subscribers_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/subscribers","subscription_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/subscription","commits_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/commits{/sha}","git_commits_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/git/commits{/sha}","comments_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/comments{/number}","issue_comment_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/issues/comments{/number}","contents_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/contents/{+path}","compare_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/compare/{base}...{head}","merges_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/merges","archive_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/downloads","issues_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/issues{/number}","pulls_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/pulls{/number}","milestones_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/milestones{/number}","notifications_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/labels{/name}","releases_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/releases{/id}","deployments_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/deployments","created_at":"2017-07-04T19:52:13Z","updated_at":"2019-06-05T07:31:46Z","pushed_at":"2019-06-05T10:13:32Z","git_url":"git://github.com/finnishtransportagency/mmtis-national-access-point.git","ssh_url":"git@github.com:finnishtransportagency/mmtis-national-access-point.git","clone_url":"https://github.com/finnishtransportagency/mmtis-national-access-point.git","svn_url":"https://github.com/finnishtransportagency/mmtis-national-access-point","homepage":"https://finap.fi","size":24719,"stargazers_count":10,"watchers_count":10,"language":"Clojure","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":5,"watchers":10,"default_branch":"master"}},"base":{"label":"finnishtransportagency:master","ref":"master","sha":"a18eeb4a05f73048b78b17789db1cc7418c34219","user":{"login":"finnishtransportagency","id":5737015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MzcwMTU=","avatar_url":"https://avatars1.githubusercontent.com/u/5737015?v=4","gravatar_id":"","url":"https://api.github.com/users/finnishtransportagency","html_url":"https://github.com/finnishtransportagency","followers_url":"https://api.github.com/users/finnishtransportagency/followers","following_url":"https://api.github.com/users/finnishtransportagency/following{/other_user}","gists_url":"https://api.github.com/users/finnishtransportagency/gists{/gist_id}","starred_url":"https://api.github.com/users/finnishtransportagency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnishtransportagency/subscriptions","organizations_url":"https://api.github.com/users/finnishtransportagency/orgs","repos_url":"https://api.github.com/users/finnishtransportagency/repos","events_url":"https://api.github.com/users/finnishtransportagency/events{/privacy}","received_events_url":"https://api.github.com/users/finnishtransportagency/received_events","type":"Organization","site_admin":false},"repo":{"id":96249016,"node_id":"MDEwOlJlcG9zaXRvcnk5NjI0OTAxNg==","name":"mmtis-national-access-point","full_name":"finnishtransportagency/mmtis-national-access-point","private":false,"owner":{"login":"finnishtransportagency","id":5737015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MzcwMTU=","avatar_url":"https://avatars1.githubusercontent.com/u/5737015?v=4","gravatar_id":"","url":"https://api.github.com/users/finnishtransportagency","html_url":"https://github.com/finnishtransportagency","followers_url":"https://api.github.com/users/finnishtransportagency/followers","following_url":"https://api.github.com/users/finnishtransportagency/following{/other_user}","gists_url":"https://api.github.com/users/finnishtransportagency/gists{/gist_id}","starred_url":"https://api.github.com/users/finnishtransportagency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnishtransportagency/subscriptions","organizations_url":"https://api.github.com/users/finnishtransportagency/orgs","repos_url":"https://api.github.com/users/finnishtransportagency/repos","events_url":"https://api.github.com/users/finnishtransportagency/events{/privacy}","received_events_url":"https://api.github.com/users/finnishtransportagency/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/finnishtransportagency/mmtis-national-access-point","description":"Finnish National Access Point (MMTIS)","fork":false,"url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point","forks_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/forks","keys_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/keys{/key_id}","collaborators_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/teams","hooks_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/hooks","issue_events_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/issues/events{/number}","events_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/events","assignees_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/assignees{/user}","branches_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/branches{/branch}","tags_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/tags","blobs_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/git/refs{/sha}","trees_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/git/trees{/sha}","statuses_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/statuses/{sha}","languages_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/languages","stargazers_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/stargazers","contributors_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/contributors","subscribers_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/subscribers","subscription_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/subscription","commits_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/commits{/sha}","git_commits_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/git/commits{/sha}","comments_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/comments{/number}","issue_comment_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/issues/comments{/number}","contents_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/contents/{+path}","compare_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/compare/{base}...{head}","merges_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/merges","archive_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/downloads","issues_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/issues{/number}","pulls_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/pulls{/number}","milestones_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/milestones{/number}","notifications_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/labels{/name}","releases_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/releases{/id}","deployments_url":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/deployments","created_at":"2017-07-04T19:52:13Z","updated_at":"2019-06-05T07:31:46Z","pushed_at":"2019-06-05T10:13:32Z","git_url":"git://github.com/finnishtransportagency/mmtis-national-access-point.git","ssh_url":"git@github.com:finnishtransportagency/mmtis-national-access-point.git","clone_url":"https://github.com/finnishtransportagency/mmtis-national-access-point.git","svn_url":"https://github.com/finnishtransportagency/mmtis-national-access-point","homepage":"https://finap.fi","size":24719,"stargazers_count":10,"watchers_count":10,"language":"Clojure","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":5,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/pulls/1040"},"html":{"href":"https://github.com/finnishtransportagency/mmtis-national-access-point/pull/1040"},"issue":{"href":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/issues/1040"},"comments":{"href":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/issues/1040/comments"},"review_comments":{"href":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/pulls/1040/comments"},"review_comment":{"href":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/pulls/1040/commits"},"statuses":{"href":"https://api.github.com/repos/finnishtransportagency/mmtis-national-access-point/statuses/bbb5c9a30e85ca23915d15374fe797920ddde6d2"}},"author_association":"COLLABORATOR"}}
other: {"actor":{"display_login":"rckopteri"}}