{"action":"created","issue":{"url":"https://api.github.com/repos/usgs/hydra-web-service/issues/23","repository_url":"https://api.github.com/repos/usgs/hydra-web-service","labels_url":"https://api.github.com/repos/usgs/hydra-web-service/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/usgs/hydra-web-service/issues/23/comments","events_url":"https://api.github.com/repos/usgs/hydra-web-service/issues/23/events","html_url":"https://github.com/usgs/hydra-web-service/pull/23","id":167119508,"number":23,"title":"Issue 2 - Initial magnitude endpoint implementation","user":{"login":"jpatton-USGS","id":6414034,"avatar_url":"https://avatars.githubusercontent.com/u/6414034?v=3","gravatar_id":"","url":"https://api.github.com/users/jpatton-USGS","html_url":"https://github.com/jpatton-USGS","followers_url":"https://api.github.com/users/jpatton-USGS/followers","following_url":"https://api.github.com/users/jpatton-USGS/following{/other_user}","gists_url":"https://api.github.com/users/jpatton-USGS/gists{/gist_id}","starred_url":"https://api.github.com/users/jpatton-USGS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpatton-USGS/subscriptions","organizations_url":"https://api.github.com/users/jpatton-USGS/orgs","repos_url":"https://api.github.com/users/jpatton-USGS/repos","events_url":"https://api.github.com/users/jpatton-USGS/events{/privacy}","received_events_url":"https://api.github.com/users/jpatton-USGS/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/usgs/hydra-web-service/labels/needs%20review","name":"needs review","color":"e6e6e6"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-22T19:53:09Z","updated_at":"2016-07-25T19:09:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/usgs/hydra-web-service/pulls/23","html_url":"https://github.com/usgs/hydra-web-service/pull/23","diff_url":"https://github.com/usgs/hydra-web-service/pull/23.diff","patch_url":"https://github.com/usgs/hydra-web-service/pull/23.patch"},"body":"Not ready yet, mostly being put up for comments by those better at javascript.\r\n\r\n* Based on Jeremy's pull request #21, probably should merge that one and rebase this one when the time comes\r\n* Tests need to be written\r\n* Still need to convert source-time function and generate ntp axis in _parseMagnitudeMomentTensor, maths are hard.\r\n* Need to figure out how to get magnitude publishable information in _parseMagnitude, this is done in Hydra via a c library using authors and db business rules.\r\n* Generates revised magnitude details output format proposed in usgs/hydra-web-service#3\r\n* _getMagnitudeMomentTensor supports getting preferred moment tensor or all moment tensors (a feature not technically needed for this sprint)\r\n\r\n* Fixes #2 "},"comment":{"url":"https://api.github.com/repos/usgs/hydra-web-service/issues/comments/235053113","html_url":"https://github.com/usgs/hydra-web-service/pull/23#issuecomment-235053113","issue_url":"https://api.github.com/repos/usgs/hydra-web-service/issues/23","id":235053113,"user":{"login":"jpatton-USGS","id":6414034,"avatar_url":"https://avatars.githubusercontent.com/u/6414034?v=3","gravatar_id":"","url":"https://api.github.com/users/jpatton-USGS","html_url":"https://github.com/jpatton-USGS","followers_url":"https://api.github.com/users/jpatton-USGS/followers","following_url":"https://api.github.com/users/jpatton-USGS/following{/other_user}","gists_url":"https://api.github.com/users/jpatton-USGS/gists{/gist_id}","starred_url":"https://api.github.com/users/jpatton-USGS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpatton-USGS/subscriptions","organizations_url":"https://api.github.com/users/jpatton-USGS/orgs","repos_url":"https://api.github.com/users/jpatton-USGS/repos","events_url":"https://api.github.com/users/jpatton-USGS/events{/privacy}","received_events_url":"https://api.github.com/users/jpatton-USGS/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T19:09:16Z","updated_at":"2016-07-25T19:09:16Z","body":"Decided to just send the tensor parameters, and let the display side compute the ntp axis"}}
{"actor":{"display_login":"jpatton-USGS"}}