{"action":"created","issue":{"url":"https://api.github.com/repos/versionone/VersionOne.SDK.JavaScript/issues/27","repository_url":"https://api.github.com/repos/versionone/VersionOne.SDK.JavaScript","labels_url":"https://api.github.com/repos/versionone/VersionOne.SDK.JavaScript/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/versionone/VersionOne.SDK.JavaScript/issues/27/comments","events_url":"https://api.github.com/repos/versionone/VersionOne.SDK.JavaScript/issues/27/events","html_url":"https://github.com/versionone/VersionOne.SDK.JavaScript/pull/27","id":156564522,"number":27,"title":"created getOidTokenElements function","user":{"login":"shawnmarie","id":9804042,"avatar_url":"https://avatars.githubusercontent.com/u/9804042?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnmarie","html_url":"https://github.com/shawnmarie","followers_url":"https://api.github.com/users/shawnmarie/followers","following_url":"https://api.github.com/users/shawnmarie/following{/other_user}","gists_url":"https://api.github.com/users/shawnmarie/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnmarie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnmarie/subscriptions","organizations_url":"https://api.github.com/users/shawnmarie/orgs","repos_url":"https://api.github.com/users/shawnmarie/repos","events_url":"https://api.github.com/users/shawnmarie/events{/privacy}","received_events_url":"https://api.github.com/users/shawnmarie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-24T17:28:49Z","updated_at":"2016-05-24T17:49:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/versionone/VersionOne.SDK.JavaScript/pulls/27","html_url":"https://github.com/versionone/VersionOne.SDK.JavaScript/pull/27","diff_url":"https://github.com/versionone/VersionOne.SDK.JavaScript/pull/27.diff","patch_url":"https://github.com/versionone/VersionOne.SDK.JavaScript/pull/27.patch"},"body":"Found an error with the getAssetType function, created an invalid Url when called in the executeOperation function.  Suggest replace getAssetType function with new getOidTokenElements. This function allows for distinct selection of the Asset Type and Oid values of the OidToken."},"comment":{"url":"https://api.github.com/repos/versionone/VersionOne.SDK.JavaScript/issues/comments/221350654","html_url":"https://github.com/versionone/VersionOne.SDK.JavaScript/pull/27#issuecomment-221350654","issue_url":"https://api.github.com/repos/versionone/VersionOne.SDK.JavaScript/issues/27","id":221350654,"user":{"login":"andrew-codes","id":1578436,"avatar_url":"https://avatars.githubusercontent.com/u/1578436?v=3","gravatar_id":"","url":"https://api.github.com/users/andrew-codes","html_url":"https://github.com/andrew-codes","followers_url":"https://api.github.com/users/andrew-codes/followers","following_url":"https://api.github.com/users/andrew-codes/following{/other_user}","gists_url":"https://api.github.com/users/andrew-codes/gists{/gist_id}","starred_url":"https://api.github.com/users/andrew-codes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrew-codes/subscriptions","organizations_url":"https://api.github.com/users/andrew-codes/orgs","repos_url":"https://api.github.com/users/andrew-codes/repos","events_url":"https://api.github.com/users/andrew-codes/events{/privacy}","received_events_url":"https://api.github.com/users/andrew-codes/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T17:49:50Z","updated_at":"2016-05-24T17:49:50Z","body":"The data being returned is really the internals of an Oid and is being created from an OidToken. I feel that maybe the Oid concept should be a first class citizen in the SDK and not just an utility function. It could be capable of returning the AssetType, Number, and Token; as well as convert from a token back to an Oid. What do you think, @shawnmarie and @JogoShugh ?\r\n\r\nAlso, are the specs updated or do they need to be for this PR's changes?"}}
{"actor":{"display_login":"andrew-codes"}}