{"action":"created","issue":{"url":"https://api.github.com/repos/HackerSir/HackerWebSite/issues/6","labels_url":"https://api.github.com/repos/HackerSir/HackerWebSite/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/HackerSir/HackerWebSite/issues/6/comments","events_url":"https://api.github.com/repos/HackerSir/HackerWebSite/issues/6/events","html_url":"https://github.com/HackerSir/HackerWebSite/issues/6","id":60205103,"number":6,"title":"API討論","user":{"login":"jyhsu2000","id":6276648,"avatar_url":"https://avatars.githubusercontent.com/u/6276648?v=3","gravatar_id":"","url":"https://api.github.com/users/jyhsu2000","html_url":"https://github.com/jyhsu2000","followers_url":"https://api.github.com/users/jyhsu2000/followers","following_url":"https://api.github.com/users/jyhsu2000/following{/other_user}","gists_url":"https://api.github.com/users/jyhsu2000/gists{/gist_id}","starred_url":"https://api.github.com/users/jyhsu2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyhsu2000/subscriptions","organizations_url":"https://api.github.com/users/jyhsu2000/orgs","repos_url":"https://api.github.com/users/jyhsu2000/repos","events_url":"https://api.github.com/users/jyhsu2000/events{/privacy}","received_events_url":"https://api.github.com/users/jyhsu2000/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HackerSir/HackerWebSite/labels/discussion%20%E8%A8%8E%E8%AB%96","name":"discussion 討論","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"gnehcmit","id":2174333,"avatar_url":"https://avatars.githubusercontent.com/u/2174333?v=3","gravatar_id":"","url":"https://api.github.com/users/gnehcmit","html_url":"https://github.com/gnehcmit","followers_url":"https://api.github.com/users/gnehcmit/followers","following_url":"https://api.github.com/users/gnehcmit/following{/other_user}","gists_url":"https://api.github.com/users/gnehcmit/gists{/gist_id}","starred_url":"https://api.github.com/users/gnehcmit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnehcmit/subscriptions","organizations_url":"https://api.github.com/users/gnehcmit/orgs","repos_url":"https://api.github.com/users/gnehcmit/repos","events_url":"https://api.github.com/users/gnehcmit/events{/privacy}","received_events_url":"https://api.github.com/users/gnehcmit/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-03-07T12:50:30Z","updated_at":"2015-03-09T06:29:04Z","closed_at":null,"body":"1. 如何檢查客戶端（請求端）的合法性？~~還是直接Open？~~\r\n2. 希望有哪些API？（發送參數、成功回傳、失敗回傳...等資訊）\r\n\r\n預計網址：`http://hackersir.info/api/動作`\r\n請求類型：POST/GET\r\n型態：JSON\r\n共同必要參數：`token`\r\n共同回傳：`success: true/false`\r\n\r\n目前想到的API...\r\n（空白都是還沒想法的）\r\n\r\n|動作名稱|功能|參數|成功回傳|失敗回傳|\r\n|---|---|---|---|---|\r\n||記錄NID與卡號對應|nid<br />card_number|||\r\n||取得NID|card_number|nid||\r\n||簽到|nid<br />time|||"},"comment":{"url":"https://api.github.com/repos/HackerSir/HackerWebSite/issues/comments/77806182","html_url":"https://github.com/HackerSir/HackerWebSite/issues/6#issuecomment-77806182","issue_url":"https://api.github.com/repos/HackerSir/HackerWebSite/issues/6","id":77806182,"user":{"login":"jyhsu2000","id":6276648,"avatar_url":"https://avatars.githubusercontent.com/u/6276648?v=3","gravatar_id":"","url":"https://api.github.com/users/jyhsu2000","html_url":"https://github.com/jyhsu2000","followers_url":"https://api.github.com/users/jyhsu2000/followers","following_url":"https://api.github.com/users/jyhsu2000/following{/other_user}","gists_url":"https://api.github.com/users/jyhsu2000/gists{/gist_id}","starred_url":"https://api.github.com/users/jyhsu2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyhsu2000/subscriptions","organizations_url":"https://api.github.com/users/jyhsu2000/orgs","repos_url":"https://api.github.com/users/jyhsu2000/repos","events_url":"https://api.github.com/users/jyhsu2000/events{/privacy}","received_events_url":"https://api.github.com/users/jyhsu2000/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T06:29:04Z","updated_at":"2015-03-09T06:29:04Z","body":"我知道呀XD\r\n由於是暫時的\r\n所以想說加密放設定檔就好\r\n\r\n當然你想要的權限區分之後也做的到\r\n但不會是這幾天就是了...\r\n到時候再看是想token綁帳號，再根據會員群組去分權限\r\n還是直接token去分權限吧，不過之後再討論就好\r\n那時也自然會把暫時應急的東西改掉"}}