{"action":"created","issue":{"url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues/2282","repository_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api","labels_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues/2282/labels{/name}","comments_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues/2282/comments","events_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues/2282/events","html_url":"https://github.com/department-of-veterans-affairs/vets-api/pull/2282","id":360385607,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1NjU3NDM2","number":2282,"title":"12694 search endpoint","user":{"login":"hpjaj","id":7482329,"node_id":"MDQ6VXNlcjc0ODIzMjk=","avatar_url":"https://avatars0.githubusercontent.com/u/7482329?v=4","gravatar_id":"","url":"https://api.github.com/users/hpjaj","html_url":"https://github.com/hpjaj","followers_url":"https://api.github.com/users/hpjaj/followers","following_url":"https://api.github.com/users/hpjaj/following{/other_user}","gists_url":"https://api.github.com/users/hpjaj/gists{/gist_id}","starred_url":"https://api.github.com/users/hpjaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpjaj/subscriptions","organizations_url":"https://api.github.com/users/hpjaj/orgs","repos_url":"https://api.github.com/users/hpjaj/repos","events_url":"https://api.github.com/users/hpjaj/events{/privacy}","received_events_url":"https://api.github.com/users/hpjaj/received_events","type":"User","site_admin":false},"labels":[{"id":851744427,"node_id":"MDU6TGFiZWw4NTE3NDQ0Mjc=","url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/labels/dragons","name":"dragons","color":"0857e0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-14T17:10:47Z","updated_at":"2018-09-18T17:17:00Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/pulls/2282","html_url":"https://github.com/department-of-veterans-affairs/vets-api/pull/2282","diff_url":"https://github.com/department-of-veterans-affairs/vets-api/pull/2282.diff","patch_url":"https://github.com/department-of-veterans-affairs/vets-api/pull/2282.patch"},"body":"## Description of change\r\n<!-- Please include a description of the change. What would a code reviewer, or a future dev, need to know about this PR in order to understand why this PR is necessary. This could include dependencies introduced, changes in behavior, pointers to more detailed documentation -->\r\n\r\nThe FE will be hitting this endpoint with a user's search term, returning the expected search results from Search.gov.\r\n\r\n## Acceptance Criteria (Definition of Done)\r\n\r\n#### Unique to this PR\r\n- [x] Controller `get` endpoint at `v0/search`\r\n- [x] Swagger docs\r\n- [ ] FE sign off on endpoint's schema\r\n\r\n#### Applies to all PRs\r\n\r\n- [x] Appropriate logging\r\n- [x] Swagger docs have been updated, if applicable\r\n- [x] Provide link to originating GitHub issue, or connected to it via ZenHub\r\n- [x] Does not contain any sensitive information (i.e. PII/credentials/internal URLs/etc., in logging, hardcoded, or in specs)\r\n- [x] Provide which alerts would indicate a problem with this functionality (if applicable)\r\n\r\n## Screenshots\r\n\r\n#### Swagger docs request and resposne\r\n\r\n![image](https://user-images.githubusercontent.com/7482329/45704008-1e3f6f00-bb33-11e8-815c-015f4b307781.png)\r\n\r\n#### Swagger docs model details for response\r\n\r\n![image](https://user-images.githubusercontent.com/7482329/45704049-3616f300-bb33-11e8-8a5b-e985c859489d.png)\r\n"},"comment":{"url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues/comments/422475844","html_url":"https://github.com/department-of-veterans-affairs/vets-api/pull/2282#issuecomment-422475844","issue_url":"https://api.github.com/repos/department-of-veterans-affairs/vets-api/issues/2282","id":422475844,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjQ3NTg0NA==","user":{"login":"hpjaj","id":7482329,"node_id":"MDQ6VXNlcjc0ODIzMjk=","avatar_url":"https://avatars0.githubusercontent.com/u/7482329?v=4","gravatar_id":"","url":"https://api.github.com/users/hpjaj","html_url":"https://github.com/hpjaj","followers_url":"https://api.github.com/users/hpjaj/followers","following_url":"https://api.github.com/users/hpjaj/following{/other_user}","gists_url":"https://api.github.com/users/hpjaj/gists{/gist_id}","starred_url":"https://api.github.com/users/hpjaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpjaj/subscriptions","organizations_url":"https://api.github.com/users/hpjaj/orgs","repos_url":"https://api.github.com/users/hpjaj/repos","events_url":"https://api.github.com/users/hpjaj/events{/privacy}","received_events_url":"https://api.github.com/users/hpjaj/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T17:17:00Z","updated_at":"2018-09-18T17:17:00Z","author_association":"CONTRIBUTOR","body":"@bshyong - Can you pls signoff in here regarding the API schema for the new `v0/search` endpoint.  You can see swagger doc images of the endpoint in this PR’s description.\r\n\r\nYou’ll note that we did not alter the response we are getting from Search.gov, and are passing the entire response through to our FE:  \r\n\r\nhttps://search.usa.gov/sites/7378/api_instructions\r\n\r\nYou need credentials to access the Search.gov API docs.  I have added you as a member.  You should receive an email to join.\r\n"}}
{"actor":{"display_login":"hpjaj"}}