{"action":"created","issue":{"url":"https://api.github.com/repos/AtelierCartographie/eatlas/issues/79","repository_url":"https://api.github.com/repos/AtelierCartographie/eatlas","labels_url":"https://api.github.com/repos/AtelierCartographie/eatlas/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/AtelierCartographie/eatlas/issues/79/comments","events_url":"https://api.github.com/repos/AtelierCartographie/eatlas/issues/79/events","html_url":"https://github.com/AtelierCartographie/eatlas/issues/79","id":305095183,"node_id":"MDU6SXNzdWUzMDUwOTUxODM=","number":79,"title":"Implémentation du moteur de recherche front","user":{"login":"naholyr","id":214067,"node_id":"MDQ6VXNlcjIxNDA2Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/214067?v=4","gravatar_id":"","url":"https://api.github.com/users/naholyr","html_url":"https://github.com/naholyr","followers_url":"https://api.github.com/users/naholyr/followers","following_url":"https://api.github.com/users/naholyr/following{/other_user}","gists_url":"https://api.github.com/users/naholyr/gists{/gist_id}","starred_url":"https://api.github.com/users/naholyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naholyr/subscriptions","organizations_url":"https://api.github.com/users/naholyr/orgs","repos_url":"https://api.github.com/users/naholyr/repos","events_url":"https://api.github.com/users/naholyr/events{/privacy}","received_events_url":"https://api.github.com/users/naholyr/received_events","type":"User","site_admin":false},"labels":[{"id":842723970,"node_id":"MDU6TGFiZWw4NDI3MjM5NzA=","url":"https://api.github.com/repos/AtelierCartographie/eatlas/labels/Priorit%C3%A9%201","name":"Priorité 1","color":"e99695","default":false},{"id":1004539148,"node_id":"MDU6TGFiZWwxMDA0NTM5MTQ4","url":"https://api.github.com/repos/AtelierCartographie/eatlas/labels/done","name":"done","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":{"login":"Delapouite","id":39315,"node_id":"MDQ6VXNlcjM5MzE1","avatar_url":"https://avatars0.githubusercontent.com/u/39315?v=4","gravatar_id":"","url":"https://api.github.com/users/Delapouite","html_url":"https://github.com/Delapouite","followers_url":"https://api.github.com/users/Delapouite/followers","following_url":"https://api.github.com/users/Delapouite/following{/other_user}","gists_url":"https://api.github.com/users/Delapouite/gists{/gist_id}","starred_url":"https://api.github.com/users/Delapouite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Delapouite/subscriptions","organizations_url":"https://api.github.com/users/Delapouite/orgs","repos_url":"https://api.github.com/users/Delapouite/repos","events_url":"https://api.github.com/users/Delapouite/events{/privacy}","received_events_url":"https://api.github.com/users/Delapouite/received_events","type":"User","site_admin":false},"assignees":[{"login":"Delapouite","id":39315,"node_id":"MDQ6VXNlcjM5MzE1","avatar_url":"https://avatars0.githubusercontent.com/u/39315?v=4","gravatar_id":"","url":"https://api.github.com/users/Delapouite","html_url":"https://github.com/Delapouite","followers_url":"https://api.github.com/users/Delapouite/followers","following_url":"https://api.github.com/users/Delapouite/following{/other_user}","gists_url":"https://api.github.com/users/Delapouite/gists{/gist_id}","starred_url":"https://api.github.com/users/Delapouite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Delapouite/subscriptions","organizations_url":"https://api.github.com/users/Delapouite/orgs","repos_url":"https://api.github.com/users/Delapouite/repos","events_url":"https://api.github.com/users/Delapouite/events{/privacy}","received_events_url":"https://api.github.com/users/Delapouite/received_events","type":"User","site_admin":false},{"login":"naholyr","id":214067,"node_id":"MDQ6VXNlcjIxNDA2Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/214067?v=4","gravatar_id":"","url":"https://api.github.com/users/naholyr","html_url":"https://github.com/naholyr","followers_url":"https://api.github.com/users/naholyr/followers","following_url":"https://api.github.com/users/naholyr/following{/other_user}","gists_url":"https://api.github.com/users/naholyr/gists{/gist_id}","starred_url":"https://api.github.com/users/naholyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naholyr/subscriptions","organizations_url":"https://api.github.com/users/naholyr/orgs","repos_url":"https://api.github.com/users/naholyr/repos","events_url":"https://api.github.com/users/naholyr/events{/privacy}","received_events_url":"https://api.github.com/users/naholyr/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/AtelierCartographie/eatlas/milestones/4","html_url":"https://github.com/AtelierCartographie/eatlas/milestone/4","labels_url":"https://api.github.com/repos/AtelierCartographie/eatlas/milestones/4/labels","id":3174310,"node_id":"MDk6TWlsZXN0b25lMzE3NDMxMA==","number":4,"title":"Sprint 4","description":"Last sprint","creator":{"login":"annelhote","id":1478919,"node_id":"MDQ6VXNlcjE0Nzg5MTk=","avatar_url":"https://avatars2.githubusercontent.com/u/1478919?v=4","gravatar_id":"","url":"https://api.github.com/users/annelhote","html_url":"https://github.com/annelhote","followers_url":"https://api.github.com/users/annelhote/followers","following_url":"https://api.github.com/users/annelhote/following{/other_user}","gists_url":"https://api.github.com/users/annelhote/gists{/gist_id}","starred_url":"https://api.github.com/users/annelhote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annelhote/subscriptions","organizations_url":"https://api.github.com/users/annelhote/orgs","repos_url":"https://api.github.com/users/annelhote/repos","events_url":"https://api.github.com/users/annelhote/events{/privacy}","received_events_url":"https://api.github.com/users/annelhote/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2018-03-09T14:31:07Z","updated_at":"2018-09-11T13:35:02Z","due_on":"2018-03-16T07:00:00Z","closed_at":null},"comments":27,"created_at":"2018-03-14T10:11:17Z","updated_at":"2018-09-11T13:35:02Z","closed_at":"2018-09-11T13:35:02Z","author_association":"CONTRIBUTOR","body":"## Côté backend\r\n\r\nCréation d'une nouvelle route `POST /search` dédiée à la recherche de ressources\r\n\r\n### Entrée : JSON\r\n\r\n* `query` (`string`) : la chaîne de recherche full text\r\n* `count` (`number`) : le nombre d'items retournés par page\r\n* `page?` (`number`) : le numéro de page demandé (par défaut 1)\r\n* `topics?` (`number[]`) : les IDs des rubriques\r\n* `keywords?` (`string[]`) : les mots-clés (cf. méta des articles)\r\n* `date?` (couple `[string?, string?]`) : les dates min/max de publication\r\n* `languages?` (`string[]`) : les langages supportés\r\n\r\n### Sortie : JSON\r\n\r\n* `total` (`number`) : le nombre total d'éléments retournés par la requête\r\n* `page` (`number`) : la page actuelle\r\n* `pages` (`number`) : le nombre total de pages\r\n* `results` (`ResultItem[]`) : les items de résultats\r\n\r\n#### Format `ResultItem`\r\n\r\nÀ définir (conversion côté back d'une liste de `Resource` en liste de `ResultItem`) pour coller au mieux au besoin du front\r\n\r\n## Côté frontend\r\n\r\n* Appel Ajax à l'API (donc injection de l'URL du serveur d'API dans le JS du front)\r\n* Génération des résultats\r\n\r\nChallenge : JS old-school :fearful: "},"comment":{"url":"https://api.github.com/repos/AtelierCartographie/eatlas/issues/comments/420276589","html_url":"https://github.com/AtelierCartographie/eatlas/issues/79#issuecomment-420276589","issue_url":"https://api.github.com/repos/AtelierCartographie/eatlas/issues/79","id":420276589,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDI3NjU4OQ==","user":{"login":"TomBor","id":8322713,"node_id":"MDQ6VXNlcjgzMjI3MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/8322713?v=4","gravatar_id":"","url":"https://api.github.com/users/TomBor","html_url":"https://github.com/TomBor","followers_url":"https://api.github.com/users/TomBor/followers","following_url":"https://api.github.com/users/TomBor/following{/other_user}","gists_url":"https://api.github.com/users/TomBor/gists{/gist_id}","starred_url":"https://api.github.com/users/TomBor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomBor/subscriptions","organizations_url":"https://api.github.com/users/TomBor/orgs","repos_url":"https://api.github.com/users/TomBor/repos","events_url":"https://api.github.com/users/TomBor/events{/privacy}","received_events_url":"https://api.github.com/users/TomBor/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T13:35:02Z","updated_at":"2018-09-11T13:35:02Z","author_association":"COLLABORATOR","body":"Merci, l'usage du moteur est maintenant grandement amélioré !"}}
{"actor":{"display_login":"TomBor"}}