{"action":"created","issue":{"url":"https://api.github.com/repos/Rostlab/JS16_ProjectA/issues/100","repository_url":"https://api.github.com/repos/Rostlab/JS16_ProjectA","labels_url":"https://api.github.com/repos/Rostlab/JS16_ProjectA/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/Rostlab/JS16_ProjectA/issues/100/comments","events_url":"https://api.github.com/repos/Rostlab/JS16_ProjectA/issues/100/events","html_url":"https://github.com/Rostlab/JS16_ProjectA/issues/100","id":142088052,"number":100,"title":"Unique slug per character","user":{"login":"julienschmidt","id":944947,"avatar_url":"https://avatars.githubusercontent.com/u/944947?v=3","gravatar_id":"","url":"https://api.github.com/users/julienschmidt","html_url":"https://github.com/julienschmidt","followers_url":"https://api.github.com/users/julienschmidt/followers","following_url":"https://api.github.com/users/julienschmidt/following{/other_user}","gists_url":"https://api.github.com/users/julienschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/julienschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienschmidt/subscriptions","organizations_url":"https://api.github.com/users/julienschmidt/orgs","repos_url":"https://api.github.com/users/julienschmidt/repos","events_url":"https://api.github.com/users/julienschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/julienschmidt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-03-19T18:17:45Z","updated_at":"2016-03-22T20:04:43Z","closed_at":null,"body":"We're currently generating slugs for URL paths like `/sentiment/tyrion-lannister` which is nicer than using the ID or the URL-escaped name.\r\nIt should be included in the DB to make it consistent between all projects.\r\n\r\nSchema:\r\n```\r\n// slug for character (unique ID for URL generated from name)\r\nslug: {type: String, required: true, unique: true},\r\n```\r\n\r\nWe currently generate them like this with the [slug package](https://www.npmjs.com/package/slug):\r\n```js\r\nslug = require('slug');\r\n// ...\r\n\"slug\": slug(character.name, {lower: true}) \r\n```"},"comment":{"url":"https://api.github.com/repos/Rostlab/JS16_ProjectA/issues/comments/199995730","html_url":"https://github.com/Rostlab/JS16_ProjectA/issues/100#issuecomment-199995730","issue_url":"https://api.github.com/repos/Rostlab/JS16_ProjectA/issues/100","id":199995730,"user":{"login":"sacdallago","id":6240943,"avatar_url":"https://avatars.githubusercontent.com/u/6240943?v=3","gravatar_id":"","url":"https://api.github.com/users/sacdallago","html_url":"https://github.com/sacdallago","followers_url":"https://api.github.com/users/sacdallago/followers","following_url":"https://api.github.com/users/sacdallago/following{/other_user}","gists_url":"https://api.github.com/users/sacdallago/gists{/gist_id}","starred_url":"https://api.github.com/users/sacdallago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sacdallago/subscriptions","organizations_url":"https://api.github.com/users/sacdallago/orgs","repos_url":"https://api.github.com/users/sacdallago/repos","events_url":"https://api.github.com/users/sacdallago/events{/privacy}","received_events_url":"https://api.github.com/users/sacdallago/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T20:04:43Z","updated_at":"2016-03-22T20:04:43Z","body":"I see where this is going. Yes. Same as MD5 story but on a SEO level.\r\n\r\nNecessarily? Why? Highly redundant if you ask me"}}