{"action":"created","issue":{"url":"https://api.github.com/repos/OpenBankProject/OBP-API/issues/197","repository_url":"https://api.github.com/repos/OpenBankProject/OBP-API","labels_url":"https://api.github.com/repos/OpenBankProject/OBP-API/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/OpenBankProject/OBP-API/issues/197/comments","events_url":"https://api.github.com/repos/OpenBankProject/OBP-API/issues/197/events","html_url":"https://github.com/OpenBankProject/OBP-API/issues/197","id":185081470,"number":197,"title":"Management User wants to enable / disable api consumer keys (App keys) via API","user":{"login":"simonredfern","id":485218,"avatar_url":"https://avatars.githubusercontent.com/u/485218?v=3","gravatar_id":"","url":"https://api.github.com/users/simonredfern","html_url":"https://github.com/simonredfern","followers_url":"https://api.github.com/users/simonredfern/followers","following_url":"https://api.github.com/users/simonredfern/following{/other_user}","gists_url":"https://api.github.com/users/simonredfern/gists{/gist_id}","starred_url":"https://api.github.com/users/simonredfern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonredfern/subscriptions","organizations_url":"https://api.github.com/users/simonredfern/orgs","repos_url":"https://api.github.com/users/simonredfern/repos","events_url":"https://api.github.com/users/simonredfern/events{/privacy}","received_events_url":"https://api.github.com/users/simonredfern/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"marko-md","id":15976596,"avatar_url":"https://avatars.githubusercontent.com/u/15976596?v=3","gravatar_id":"","url":"https://api.github.com/users/marko-md","html_url":"https://github.com/marko-md","followers_url":"https://api.github.com/users/marko-md/followers","following_url":"https://api.github.com/users/marko-md/following{/other_user}","gists_url":"https://api.github.com/users/marko-md/gists{/gist_id}","starred_url":"https://api.github.com/users/marko-md/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marko-md/subscriptions","organizations_url":"https://api.github.com/users/marko-md/orgs","repos_url":"https://api.github.com/users/marko-md/repos","events_url":"https://api.github.com/users/marko-md/events{/privacy}","received_events_url":"https://api.github.com/users/marko-md/received_events","type":"User","site_admin":false},"assignees":[{"login":"marko-md","id":15976596,"avatar_url":"https://avatars.githubusercontent.com/u/15976596?v=3","gravatar_id":"","url":"https://api.github.com/users/marko-md","html_url":"https://github.com/marko-md","followers_url":"https://api.github.com/users/marko-md/followers","following_url":"https://api.github.com/users/marko-md/following{/other_user}","gists_url":"https://api.github.com/users/marko-md/gists{/gist_id}","starred_url":"https://api.github.com/users/marko-md/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marko-md/subscriptions","organizations_url":"https://api.github.com/users/marko-md/orgs","repos_url":"https://api.github.com/users/marko-md/repos","events_url":"https://api.github.com/users/marko-md/events{/privacy}","received_events_url":"https://api.github.com/users/marko-md/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-10-25T10:46:50Z","updated_at":"2016-10-31T11:58:46Z","closed_at":null,"body":"Add role CanGetConsumers\nAdd role CanDisableConsumers\nAdd role CanEnableConsumers\n\nAdd enabled [Boolean] to Consumer model (default False)\n\nAdd props setting: consumers_enabled_by_default = Boolean\nWhen new consumers inserted they should use this setting.\n\nAdd endpoints: \n\nRequire CanGetConsumers\nGET /obp/v2.1.0/management/consumers/CONSUMER_ID\nThis should _only_ return fields listed in fieldsForList in OAuth.scala plus enabled field\n\nRequire CanEnableConsumers\nPUT /obp/v2.1.0/management/consumers/CONSUMER_ID\n{\"enabled\": \"true\"}\n\nRequire CanDisableConsumers\nPUT /obp/v2.1.0/management/consumers/CONSUMER_ID\n{\"enabled\": \"false\"}\n\nModify OAuth.scala and Direct Login so that only enabled Apps work.\n"},"comment":{"url":"https://api.github.com/repos/OpenBankProject/OBP-API/issues/comments/257276132","html_url":"https://github.com/OpenBankProject/OBP-API/issues/197#issuecomment-257276132","issue_url":"https://api.github.com/repos/OpenBankProject/OBP-API/issues/197","id":257276132,"user":{"login":"simonredfern","id":485218,"avatar_url":"https://avatars.githubusercontent.com/u/485218?v=3","gravatar_id":"","url":"https://api.github.com/users/simonredfern","html_url":"https://github.com/simonredfern","followers_url":"https://api.github.com/users/simonredfern/followers","following_url":"https://api.github.com/users/simonredfern/following{/other_user}","gists_url":"https://api.github.com/users/simonredfern/gists{/gist_id}","starred_url":"https://api.github.com/users/simonredfern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonredfern/subscriptions","organizations_url":"https://api.github.com/users/simonredfern/orgs","repos_url":"https://api.github.com/users/simonredfern/repos","events_url":"https://api.github.com/users/simonredfern/events{/privacy}","received_events_url":"https://api.github.com/users/simonredfern/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T11:58:46Z","updated_at":"2016-10-31T11:58:46Z","body":"most of our responses work like that"}}
{"actor":{"display_login":"simonredfern"}}