{"action":"created","issue":{"url":"https://api.github.com/repos/wazuh/wazuh-api/issues/243","repository_url":"https://api.github.com/repos/wazuh/wazuh-api","labels_url":"https://api.github.com/repos/wazuh/wazuh-api/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/wazuh/wazuh-api/issues/243/comments","events_url":"https://api.github.com/repos/wazuh/wazuh-api/issues/243/events","html_url":"https://github.com/wazuh/wazuh-api/issues/243","id":384937975,"node_id":"MDU6SXNzdWUzODQ5Mzc5NzU=","number":243,"title":"Improve GET /agents/:agent_id","user":{"login":"migruiz4","id":37381070,"node_id":"MDQ6VXNlcjM3MzgxMDcw","avatar_url":"https://avatars2.githubusercontent.com/u/37381070?v=4","gravatar_id":"","url":"https://api.github.com/users/migruiz4","html_url":"https://github.com/migruiz4","followers_url":"https://api.github.com/users/migruiz4/followers","following_url":"https://api.github.com/users/migruiz4/following{/other_user}","gists_url":"https://api.github.com/users/migruiz4/gists{/gist_id}","starred_url":"https://api.github.com/users/migruiz4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migruiz4/subscriptions","organizations_url":"https://api.github.com/users/migruiz4/orgs","repos_url":"https://api.github.com/users/migruiz4/repos","events_url":"https://api.github.com/users/migruiz4/events{/privacy}","received_events_url":"https://api.github.com/users/migruiz4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-27T18:54:28Z","updated_at":"2018-11-28T13:15:20Z","closed_at":null,"author_association":"MEMBER","body":"Hi team,\r\n\r\nIt would be great if we were able to send a json in the request to retrieve information about certain ids, instead of making 1 call for every ID or having to retrieve all the agents (which have a limit of 1000 agents) and then filter, because this is a slow and inefficient solution.\r\n\r\nKind regards,\r\nMiguel"},"comment":{"url":"https://api.github.com/repos/wazuh/wazuh-api/issues/comments/442442625","html_url":"https://github.com/wazuh/wazuh-api/issues/243#issuecomment-442442625","issue_url":"https://api.github.com/repos/wazuh/wazuh-api/issues/243","id":442442625,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjQ0MjYyNQ==","user":{"login":"jesusgn90","id":8860227,"node_id":"MDQ6VXNlcjg4NjAyMjc=","avatar_url":"https://avatars2.githubusercontent.com/u/8860227?v=4","gravatar_id":"","url":"https://api.github.com/users/jesusgn90","html_url":"https://github.com/jesusgn90","followers_url":"https://api.github.com/users/jesusgn90/followers","following_url":"https://api.github.com/users/jesusgn90/following{/other_user}","gists_url":"https://api.github.com/users/jesusgn90/gists{/gist_id}","starred_url":"https://api.github.com/users/jesusgn90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesusgn90/subscriptions","organizations_url":"https://api.github.com/users/jesusgn90/orgs","repos_url":"https://api.github.com/users/jesusgn90/repos","events_url":"https://api.github.com/users/jesusgn90/events{/privacy}","received_events_url":"https://api.github.com/users/jesusgn90/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T13:15:20Z","updated_at":"2018-11-28T13:15:20Z","author_association":"MEMBER","body":"Hi @migruiz4 ,\r\n\r\nWhat about `GET /agents?q=id=000,id=001&select=id`? it could be the trick for you!\r\n\r\nRegards"}}
{"actor":{"display_login":"jesusgn90"}}