{"action":"created","issue":{"url":"https://api.github.com/repos/codeforgreenville/UpstateEvents/issues/15","labels_url":"https://api.github.com/repos/codeforgreenville/UpstateEvents/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/codeforgreenville/UpstateEvents/issues/15/comments","events_url":"https://api.github.com/repos/codeforgreenville/UpstateEvents/issues/15/events","html_url":"https://github.com/codeforgreenville/UpstateEvents/issues/15","id":47557009,"number":15,"title":"Drupal and REST","user":{"login":"smoking-peanuts","id":860399,"avatar_url":"https://avatars.githubusercontent.com/u/860399?v=3","gravatar_id":"","url":"https://api.github.com/users/smoking-peanuts","html_url":"https://github.com/smoking-peanuts","followers_url":"https://api.github.com/users/smoking-peanuts/followers","following_url":"https://api.github.com/users/smoking-peanuts/following{/other_user}","gists_url":"https://api.github.com/users/smoking-peanuts/gists{/gist_id}","starred_url":"https://api.github.com/users/smoking-peanuts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smoking-peanuts/subscriptions","organizations_url":"https://api.github.com/users/smoking-peanuts/orgs","repos_url":"https://api.github.com/users/smoking-peanuts/repos","events_url":"https://api.github.com/users/smoking-peanuts/events{/privacy}","received_events_url":"https://api.github.com/users/smoking-peanuts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-11-03T01:35:59Z","updated_at":"2015-02-13T06:11:05Z","closed_at":null,"body":"Wanted to know how Drupal setup was going?"},"comment":{"url":"https://api.github.com/repos/codeforgreenville/UpstateEvents/issues/comments/74209821","html_url":"https://github.com/codeforgreenville/UpstateEvents/issues/15#issuecomment-74209821","issue_url":"https://api.github.com/repos/codeforgreenville/UpstateEvents/issues/15","id":74209821,"user":{"login":"allella","id":1777776,"avatar_url":"https://avatars.githubusercontent.com/u/1777776?v=3","gravatar_id":"","url":"https://api.github.com/users/allella","html_url":"https://github.com/allella","followers_url":"https://api.github.com/users/allella/followers","following_url":"https://api.github.com/users/allella/following{/other_user}","gists_url":"https://api.github.com/users/allella/gists{/gist_id}","starred_url":"https://api.github.com/users/allella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allella/subscriptions","organizations_url":"https://api.github.com/users/allella/orgs","repos_url":"https://api.github.com/users/allella/repos","events_url":"https://api.github.com/users/allella/events{/privacy}","received_events_url":"https://api.github.com/users/allella/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T06:11:05Z","updated_at":"2015-02-13T06:11:05Z","body":"## Doing a Simple REST GET Method\r\n\r\nSo, once the Dev HTTP Client plugin is installed in Google Chrome you can just fill in the values shown in the screenshot. However, I'll have to give you the full username and password.\r\n\r\nRequest URL is greenville.orangecoat.net/node/1\r\n\r\nAccept: application/json\r\nPHP_AUTH_USER: {ask Jim}\r\nPHP_AUTH_PW: {ask Jim}\r\n\r\n![rest-api-organization-get-example](https://cloud.githubusercontent.com/assets/1777776/6182983/9c838ff4-b31c-11e4-8d55-1ece8eb2f6cc.png)\r\n\r\nThis should yield a JSON object response with organization and Drupal data.\r\n\r\n```\r\n{\r\n    \"nid\": [\r\n        {\r\n            \"value\": \"1\"\r\n        }\r\n    ],\r\n    \"uuid\": [\r\n        {\r\n            \"value\": \"4e6c3292-a8f0-4b6e-a30f-15a0d8589877\"\r\n        }\r\n    ],\r\n    \"vid\": [\r\n        {\r\n            \"value\": \"1\"\r\n        }\r\n    ],\r\n    \"type\": [\r\n        {\r\n            \"target_id\": \"organization\"\r\n        }\r\n    ],\r\n    \"langcode\": [\r\n        {\r\n            \"value\": \"en\"\r\n        }\r\n    ],\r\n    \"title\": [\r\n        {\r\n            \"value\": \"Code For Greenville 2\"\r\n        }\r\n    ],\r\n    \"uid\": [\r\n        {\r\n            \"target_id\": \"2\"\r\n        }\r\n    ],\r\n    \"status\": [\r\n        {\r\n            \"value\": \"1\"\r\n        }\r\n    ],\r\n    \"created\": [\r\n        {\r\n            \"value\": \"1423793426\"\r\n        }\r\n    ],\r\n    \"changed\": [\r\n        {\r\n            \"value\": \"1423806628\"\r\n        }\r\n    ],\r\n    \"promote\": [\r\n        {\r\n            \"value\": \"0\"\r\n        }\r\n    ],\r\n    \"sticky\": [\r\n        {\r\n            \"value\": \"0\"\r\n        }\r\n    ],\r\n    \"revision_timestamp\": [\r\n        {\r\n            \"value\": \"1423793454\"\r\n        }\r\n    ],\r\n    \"revision_uid\": [\r\n        {\r\n            \"target_id\": \"2\"\r\n        }\r\n    ],\r\n    \"revision_log\": [\r\n        {\r\n            \"value\": \"\"\r\n        }\r\n    ],\r\n    \"path\": [\r\n        {\r\n            \"alias\": null,\r\n            \"pid\": null\r\n        }\r\n    ],\r\n    \"field_situation\": [\r\n        {\r\n            \"value\": \"active\"\r\n        }\r\n    ]\r\n}\r\n```"}}