{"comment":{"url":"https://api.github.com/repos/bounswe/bounswe2018group7/comments/28525469","html_url":"https://github.com/bounswe/bounswe2018group7/commit/5404bda41404b027390f5eb6d855a61cc7cbdc03#commitcomment-28525469","id":28525469,"user":{"login":"cburakaygun","id":28509150,"avatar_url":"https://avatars2.githubusercontent.com/u/28509150?v=4","gravatar_id":"","url":"https://api.github.com/users/cburakaygun","html_url":"https://github.com/cburakaygun","followers_url":"https://api.github.com/users/cburakaygun/followers","following_url":"https://api.github.com/users/cburakaygun/following{/other_user}","gists_url":"https://api.github.com/users/cburakaygun/gists{/gist_id}","starred_url":"https://api.github.com/users/cburakaygun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cburakaygun/subscriptions","organizations_url":"https://api.github.com/users/cburakaygun/orgs","repos_url":"https://api.github.com/users/cburakaygun/repos","events_url":"https://api.github.com/users/cburakaygun/events{/privacy}","received_events_url":"https://api.github.com/users/cburakaygun/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"5404bda41404b027390f5eb6d855a61cc7cbdc03","created_at":"2018-04-11T11:31:13Z","updated_at":"2018-04-11T11:31:13Z","author_association":"CONTRIBUTOR","body":"I made some changes for the basic structure of API.\r\n* In order to make API endpoints more descriptive, I separated endpoints for each action.\r\n  * To create a post (tweet), send a POST request to /api/memory_posts/create.json \r\n  * To get all posts (tweets), send a GET request to /api/memory_posts/all.json\r\n  * To search for a post (tweet), send a GET request to /api/memory_posts/search.json\r\n* As I mentioned in the [previous commit](https://github.com/bounswe/bounswe2018group7/commit/afe424e75bf5e35b4a97ace3d9cb39f7ae2ff8eb), a created a directory called `functions` under `Api`. Let's implement our classes/methods under `Api/functions` and import them in `Api/views.py`\r\n* Also, I created an app on our Twitter account (@hiStory_g7) and placed related tokens under `Api/twitter_keys.py` file."}}
{"actor":{"display_login":"cburakaygun"}}