{"action":"created","comment":{"url":"https://api.github.com/repos/datacenter/aci-ansible/pulls/comments/132662169","pull_request_review_id":55768035,"id":132662169,"diff_hunk":"@@ -1,175 +1,130 @@\n #!/usr/bin/python\n+# -*- coding: utf-8 -*-\n \n-DOCUMENTATION = '''\n----\n+# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)\n+\n+from __future__ import (absolute_import, division, print_function)\n+__metaclass__ = type\n \n+ANSIBLE_METADATA = {'metadata_version': '1.0',\n+                    'status': ['preview'],\n+                    'supported_by': 'community'}\n+\n+DOCUMENTATION = r'''\n+---\n module: aci_aep\n-short_description: Direct access to the APIC API\n+short_description: Direct access to the Cisco ACI APIC API\n description:\n-    - Offers direct access to the APIC API\n-author: Cisco\n+- Offers direct access to the Cisco ACI APIC API to manage Attachable Access Entity Profile.\n+author:\n+- Swetha Chunduri (@schunduri)\n+- Dag Wieers (@dagwieers)\n+- Jacob McGill (@jmcgill298)\n+version_added: '2.4'\n requirements:\n-    - ACI Fabric 1.0(3f)+\n-notes:\n+- ACI Fabric 1.0(3f)+\n options:\n-    action:\n-\tdescription:\n-\t    - post or get\n-\trequired: true\n-\tdefault: null\n-\tchoices: ['post', 'get']\n-\taliases: []\n     aep_name:\n-        description:\n-            - AEP Name\n-        required: true\n-        default: null\n-        choices: []\n-        aliases: []\n-    descr:\n-        description:\n-            - Description for the AEP\n-        required: false\n-        default: null\n-        choices: []\n-        aliases: []\n-    host:\n-        description:\n-            - IP Address or hostname of APIC resolvable by Ansible control host\n-        required: true\n-        default: null\n-        choices: []\n-        aliases: []\n-    username:\n-        description:\n-            - Username used to login to the switch\n-        required: true\n-        default: 'admin'\n-        choices: []\n-        aliases: []\n-    password:\n-        description:\n-            - Password used to login to the switch\n-        required: true\n-        default: null\n-        choices: []\n-        aliases: []\n-    protocol:\n-        description:\n-            - Dictates connection protocol to use\n-        required: false\n-        default: https\n-        choices: ['http', 'https']\n-        aliases: []\n+      description:\n+      - The name of the Attachable Access Entity Profile.\n+      required: yes\n+    description:\n+      description:\n+      - Description for the AEP.\n+    state:\n+      description:\n+      - Use C(present) or C(absent) for adding or removing.\n+      - Use C(query) for listing an object or multiple objects.\n+      default: present\n+      choices: [ absent, present, query ]\n+extends_documentation_fragment: aci\n '''\n \n-EXAMPLES =  '''\n-\n-     aci_aep:\n-         action: \"{{ action }}\"  \n-         aep_name: \"{{ aep_name }}\" \n-         descr: \"{{ descr }}\" \n-         host: \"{{ inventory_hostname }}\"\n-         username: \"{{ username }}\"\n-         password: \"{{ password }}\"\n-         protocol: \"{{ protocol }}\"\n-\n+EXAMPLES = r'''\n+- name: Add a new AEP\n+  aci_aep:\n+    hostname: apic\n+    username: admin\n+    password: SomeSecretPassword\n+    aep_name: ACI-AEP\n+    description: default\n+    state: present\n+\n+- name: Remove an existing AEP\n+  aci_aep:\n+    hostname: apic\n+    username: admin\n+    password: SomeSecretPassword\n+    aep_name: ACI-AEP\n+    state: absent\n+\n+- name: Query an AEP\n+  aci_aep:\n+    hostname: apic\n+    username: admin\n+    password: SomeSecretPassword\n+    aep_name: ACI-AEP\n+    state: query\n+\n+- name: Query all AEPs\n+  aci_aep:\n+    hostname: apic\n+    username: admin\n+    password: SomeSecretPassword\n+    state: query\n '''\n \n-import socket\n-import json\n-import requests\n+RETURN = r'''\n+#\n+'''\n \n+from ansible.module_utils.aci import ACIModule, aci_argument_spec\n+from ansible.module_utils.basic import AnsibleModule\n \n def main():\n-    \n-    ''' Ansible module to take all the parameter values from the playbook '''\n+    argument_spec = aci_argument_spec\n+    argument_spec.update(\n+        aep_name=dict(type='str'),\n+        description=dict(type='str', aliases=['descr']),\n+        state=dict(type='str', default='present', choices=['absent', 'present', 'query']),\n+    )\n \n     module = AnsibleModule(\n-        argument_spec=dict(\n-            action=dict(choices=['get', 'post']),\n-            aep_name=dict(type='str'),\n-            descr=dict(type='str',required=False),       \n-            host=dict(required=True),\n-            username=dict(type='str', default='admin'),\n-            password=dict(type='str'),\n-            protocol=dict(choices=['http', 'https'], default='https'),\n-        ), \n-        supports_check_mode=False\n+        argument_spec=argument_spec,\n+        supports_check_mode=True,\n     )\n \n-    host = socket.gethostbyname(module.params['host'])\n-    username = module.params['username']\n-    password = module.params['password']\n-    protocol = module.params['protocol']\n-    action = module.params['action']\n- \n     aep_name = module.params['aep_name']\n-    descr = module.params['descr']\n-    descr=str(descr)\n-\n-    post_uri = 'api/mo/uni/infra/attentp-'  + aep_name + '.json'\n-    get_uri = 'api/node/class/infraAttEntityP.json'\n-\n-    config_data = {\n-\t\"infraAttEntityP\": {\n-\t     \"attributes\": {\n-\t        \"descr\": descr,\n-\t\t\"name\": aep_name\n-\t      }\n-\t }\n-    } \n-    payload_data = json.dumps(config_data)\n-\n-    apic = '{0}://{1}/'.format(protocol, host)\n-\n-    auth = dict(aaaUser=dict(attributes=dict(name=username,\n-                pwd=password)))\n-    url = apic + 'api/aaaLogin.json'\n-\n-    authenticate = requests.post(url, data=json.dumps(auth), timeout=2,\n-                                 verify=False)\n-\n-    if authenticate.status_code != 200:\n-        module.fail_json(msg='could not authenticate to apic',\n-                         status=authenticate.status_code,\n-                         response=authenticate.text)\n-\n-    if post_uri.startswith('/'):\n-        post_uri = post_uri[1:]\n-    post_url = apic + post_uri\n-\n-    if get_uri.startswith('/'):\n-        get_uri = get_uri[1:]\n-    get_url = apic + get_uri\n-\n-    if action == 'post':\n-        req = requests.post(post_url, cookies=authenticate.cookies,\n-                            data=payload_data, verify=False)\n-    elif action == 'get':\n-        req = requests.get(get_url, cookies=authenticate.cookies,\n-                           data=payload_data, verify=False)\n-\n-    response = req.text\n-    status = req.status_code\n-\n-    changed = False\n-    if req.status_code == 200:\n-        if action == 'post':\n-            changed = True\n-        else:\n-            changed = False\n+    description = str(module.params['description'])\n+    state = module.params['state']\n+\n+    aci = ACIModule(module)\n+\n+    if aep_name is not None or (aep_name is not None and state == 'query'):\n+         path = 'api/mo/uni/infra/attentp-%(aep_name)s.json' % module.params\n+    elif state == 'query':\n+        path = 'api/class/infraAttEntityP.json'\n     else:\n-        module.fail_json(msg='error issuing api request',\n-                         response=response, status=status)\n+        module.fail_json(msg=\"Parameter 'aep_name' is required for state 'absent' or 'present'\")","path":"library/aci_aep.py","position":251,"original_position":251,"commit_id":"ffce2ddeb9a41c42af88c0b7f9d01390545c81c0","original_commit_id":"ffce2ddeb9a41c42af88c0b7f9d01390545c81c0","user":{"login":"dagwieers","id":388198,"avatar_url":"https://avatars0.githubusercontent.com/u/388198?v=4","gravatar_id":"","url":"https://api.github.com/users/dagwieers","html_url":"https://github.com/dagwieers","followers_url":"https://api.github.com/users/dagwieers/followers","following_url":"https://api.github.com/users/dagwieers/following{/other_user}","gists_url":"https://api.github.com/users/dagwieers/gists{/gist_id}","starred_url":"https://api.github.com/users/dagwieers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagwieers/subscriptions","organizations_url":"https://api.github.com/users/dagwieers/orgs","repos_url":"https://api.github.com/users/dagwieers/repos","events_url":"https://api.github.com/users/dagwieers/events{/privacy}","received_events_url":"https://api.github.com/users/dagwieers/received_events","type":"User","site_admin":false},"body":"This should state that parameter 'aep' is required.","created_at":"2017-08-11T11:02:59Z","updated_at":"2017-08-11T11:04:11Z","html_url":"https://github.com/datacenter/aci-ansible/pull/16#discussion_r132662169","pull_request_url":"https://api.github.com/repos/datacenter/aci-ansible/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/datacenter/aci-ansible/pulls/comments/132662169"},"html":{"href":"https://github.com/datacenter/aci-ansible/pull/16#discussion_r132662169"},"pull_request":{"href":"https://api.github.com/repos/datacenter/aci-ansible/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/datacenter/aci-ansible/pulls/16","id":135282291,"html_url":"https://github.com/datacenter/aci-ansible/pull/16","diff_url":"https://github.com/datacenter/aci-ansible/pull/16.diff","patch_url":"https://github.com/datacenter/aci-ansible/pull/16.patch","issue_url":"https://api.github.com/repos/datacenter/aci-ansible/issues/16","number":16,"state":"open","locked":false,"title":"Aci AEP","user":{"login":"schunduri","id":20605988,"avatar_url":"https://avatars3.githubusercontent.com/u/20605988?v=4","gravatar_id":"","url":"https://api.github.com/users/schunduri","html_url":"https://github.com/schunduri","followers_url":"https://api.github.com/users/schunduri/followers","following_url":"https://api.github.com/users/schunduri/following{/other_user}","gists_url":"https://api.github.com/users/schunduri/gists{/gist_id}","starred_url":"https://api.github.com/users/schunduri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schunduri/subscriptions","organizations_url":"https://api.github.com/users/schunduri/orgs","repos_url":"https://api.github.com/users/schunduri/repos","events_url":"https://api.github.com/users/schunduri/events{/privacy}","received_events_url":"https://api.github.com/users/schunduri/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-11T07:47:16Z","updated_at":"2017-08-11T11:04:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45ad5411ae502fcccc79ae1f80f65b26287254d0","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jmcgill298","id":9847006,"avatar_url":"https://avatars3.githubusercontent.com/u/9847006?v=4","gravatar_id":"","url":"https://api.github.com/users/jmcgill298","html_url":"https://github.com/jmcgill298","followers_url":"https://api.github.com/users/jmcgill298/followers","following_url":"https://api.github.com/users/jmcgill298/following{/other_user}","gists_url":"https://api.github.com/users/jmcgill298/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcgill298/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcgill298/subscriptions","organizations_url":"https://api.github.com/users/jmcgill298/orgs","repos_url":"https://api.github.com/users/jmcgill298/repos","events_url":"https://api.github.com/users/jmcgill298/events{/privacy}","received_events_url":"https://api.github.com/users/jmcgill298/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/datacenter/aci-ansible/pulls/16/commits","review_comments_url":"https://api.github.com/repos/datacenter/aci-ansible/pulls/16/comments","review_comment_url":"https://api.github.com/repos/datacenter/aci-ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/datacenter/aci-ansible/issues/16/comments","statuses_url":"https://api.github.com/repos/datacenter/aci-ansible/statuses/ffce2ddeb9a41c42af88c0b7f9d01390545c81c0","head":{"label":"schunduri:aci_aep","ref":"aci_aep","sha":"ffce2ddeb9a41c42af88c0b7f9d01390545c81c0","user":{"login":"schunduri","id":20605988,"avatar_url":"https://avatars3.githubusercontent.com/u/20605988?v=4","gravatar_id":"","url":"https://api.github.com/users/schunduri","html_url":"https://github.com/schunduri","followers_url":"https://api.github.com/users/schunduri/followers","following_url":"https://api.github.com/users/schunduri/following{/other_user}","gists_url":"https://api.github.com/users/schunduri/gists{/gist_id}","starred_url":"https://api.github.com/users/schunduri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schunduri/subscriptions","organizations_url":"https://api.github.com/users/schunduri/orgs","repos_url":"https://api.github.com/users/schunduri/repos","events_url":"https://api.github.com/users/schunduri/events{/privacy}","received_events_url":"https://api.github.com/users/schunduri/received_events","type":"User","site_admin":false},"repo":{"id":99974770,"name":"aci-ansible","full_name":"schunduri/aci-ansible","owner":{"login":"schunduri","id":20605988,"avatar_url":"https://avatars3.githubusercontent.com/u/20605988?v=4","gravatar_id":"","url":"https://api.github.com/users/schunduri","html_url":"https://github.com/schunduri","followers_url":"https://api.github.com/users/schunduri/followers","following_url":"https://api.github.com/users/schunduri/following{/other_user}","gists_url":"https://api.github.com/users/schunduri/gists{/gist_id}","starred_url":"https://api.github.com/users/schunduri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schunduri/subscriptions","organizations_url":"https://api.github.com/users/schunduri/orgs","repos_url":"https://api.github.com/users/schunduri/repos","events_url":"https://api.github.com/users/schunduri/events{/privacy}","received_events_url":"https://api.github.com/users/schunduri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/schunduri/aci-ansible","description":"Ansible modules for managing ACI fabrics","fork":true,"url":"https://api.github.com/repos/schunduri/aci-ansible","forks_url":"https://api.github.com/repos/schunduri/aci-ansible/forks","keys_url":"https://api.github.com/repos/schunduri/aci-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/schunduri/aci-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/schunduri/aci-ansible/teams","hooks_url":"https://api.github.com/repos/schunduri/aci-ansible/hooks","issue_events_url":"https://api.github.com/repos/schunduri/aci-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/schunduri/aci-ansible/events","assignees_url":"https://api.github.com/repos/schunduri/aci-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/schunduri/aci-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/schunduri/aci-ansible/tags","blobs_url":"https://api.github.com/repos/schunduri/aci-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/schunduri/aci-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/schunduri/aci-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/schunduri/aci-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/schunduri/aci-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/schunduri/aci-ansible/languages","stargazers_url":"https://api.github.com/repos/schunduri/aci-ansible/stargazers","contributors_url":"https://api.github.com/repos/schunduri/aci-ansible/contributors","subscribers_url":"https://api.github.com/repos/schunduri/aci-ansible/subscribers","subscription_url":"https://api.github.com/repos/schunduri/aci-ansible/subscription","commits_url":"https://api.github.com/repos/schunduri/aci-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/schunduri/aci-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/schunduri/aci-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/schunduri/aci-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/schunduri/aci-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/schunduri/aci-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/schunduri/aci-ansible/merges","archive_url":"https://api.github.com/repos/schunduri/aci-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/schunduri/aci-ansible/downloads","issues_url":"https://api.github.com/repos/schunduri/aci-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/schunduri/aci-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/schunduri/aci-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/schunduri/aci-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/schunduri/aci-ansible/labels{/name}","releases_url":"https://api.github.com/repos/schunduri/aci-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/schunduri/aci-ansible/deployments","created_at":"2017-08-11T00:12:02Z","updated_at":"2017-08-11T00:12:03Z","pushed_at":"2017-08-11T09:10:27Z","git_url":"git://github.com/schunduri/aci-ansible.git","ssh_url":"git@github.com:schunduri/aci-ansible.git","clone_url":"https://github.com/schunduri/aci-ansible.git","svn_url":"https://github.com/schunduri/aci-ansible","homepage":"https://github.com/ansible/community/wiki/Network:-ACI","size":237,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"datacenter:master","ref":"master","sha":"3d53a5f39dc267ac30e1f8901ca450454c257059","user":{"login":"datacenter","id":1562619,"avatar_url":"https://avatars2.githubusercontent.com/u/1562619?v=4","gravatar_id":"","url":"https://api.github.com/users/datacenter","html_url":"https://github.com/datacenter","followers_url":"https://api.github.com/users/datacenter/followers","following_url":"https://api.github.com/users/datacenter/following{/other_user}","gists_url":"https://api.github.com/users/datacenter/gists{/gist_id}","starred_url":"https://api.github.com/users/datacenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datacenter/subscriptions","organizations_url":"https://api.github.com/users/datacenter/orgs","repos_url":"https://api.github.com/users/datacenter/repos","events_url":"https://api.github.com/users/datacenter/events{/privacy}","received_events_url":"https://api.github.com/users/datacenter/received_events","type":"Organization","site_admin":false},"repo":{"id":99630474,"name":"aci-ansible","full_name":"datacenter/aci-ansible","owner":{"login":"datacenter","id":1562619,"avatar_url":"https://avatars2.githubusercontent.com/u/1562619?v=4","gravatar_id":"","url":"https://api.github.com/users/datacenter","html_url":"https://github.com/datacenter","followers_url":"https://api.github.com/users/datacenter/followers","following_url":"https://api.github.com/users/datacenter/following{/other_user}","gists_url":"https://api.github.com/users/datacenter/gists{/gist_id}","starred_url":"https://api.github.com/users/datacenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datacenter/subscriptions","organizations_url":"https://api.github.com/users/datacenter/orgs","repos_url":"https://api.github.com/users/datacenter/repos","events_url":"https://api.github.com/users/datacenter/events{/privacy}","received_events_url":"https://api.github.com/users/datacenter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datacenter/aci-ansible","description":"Ansible modules for managing ACI fabrics","fork":false,"url":"https://api.github.com/repos/datacenter/aci-ansible","forks_url":"https://api.github.com/repos/datacenter/aci-ansible/forks","keys_url":"https://api.github.com/repos/datacenter/aci-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datacenter/aci-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datacenter/aci-ansible/teams","hooks_url":"https://api.github.com/repos/datacenter/aci-ansible/hooks","issue_events_url":"https://api.github.com/repos/datacenter/aci-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/datacenter/aci-ansible/events","assignees_url":"https://api.github.com/repos/datacenter/aci-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/datacenter/aci-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/datacenter/aci-ansible/tags","blobs_url":"https://api.github.com/repos/datacenter/aci-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datacenter/aci-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datacenter/aci-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/datacenter/aci-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datacenter/aci-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/datacenter/aci-ansible/languages","stargazers_url":"https://api.github.com/repos/datacenter/aci-ansible/stargazers","contributors_url":"https://api.github.com/repos/datacenter/aci-ansible/contributors","subscribers_url":"https://api.github.com/repos/datacenter/aci-ansible/subscribers","subscription_url":"https://api.github.com/repos/datacenter/aci-ansible/subscription","commits_url":"https://api.github.com/repos/datacenter/aci-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/datacenter/aci-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/datacenter/aci-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/datacenter/aci-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/datacenter/aci-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/datacenter/aci-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datacenter/aci-ansible/merges","archive_url":"https://api.github.com/repos/datacenter/aci-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datacenter/aci-ansible/downloads","issues_url":"https://api.github.com/repos/datacenter/aci-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/datacenter/aci-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/datacenter/aci-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/datacenter/aci-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datacenter/aci-ansible/labels{/name}","releases_url":"https://api.github.com/repos/datacenter/aci-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/datacenter/aci-ansible/deployments","created_at":"2017-08-07T23:49:32Z","updated_at":"2017-08-11T06:49:10Z","pushed_at":"2017-08-11T09:10:28Z","git_url":"git://github.com/datacenter/aci-ansible.git","ssh_url":"git@github.com:datacenter/aci-ansible.git","clone_url":"https://github.com/datacenter/aci-ansible.git","svn_url":"https://github.com/datacenter/aci-ansible","homepage":"https://github.com/ansible/community/wiki/Network:-ACI","size":231,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":8,"forks":3,"open_issues":8,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datacenter/aci-ansible/pulls/16"},"html":{"href":"https://github.com/datacenter/aci-ansible/pull/16"},"issue":{"href":"https://api.github.com/repos/datacenter/aci-ansible/issues/16"},"comments":{"href":"https://api.github.com/repos/datacenter/aci-ansible/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/datacenter/aci-ansible/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/datacenter/aci-ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/datacenter/aci-ansible/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/datacenter/aci-ansible/statuses/ffce2ddeb9a41c42af88c0b7f9d01390545c81c0"}}}}
{"actor":{"display_login":"dagwieers"}}