{"action":"closed","issue":{"url":"https://api.github.com/repos/Hagbuck/project-designer/issues/4","repository_url":"https://api.github.com/repos/Hagbuck/project-designer","labels_url":"https://api.github.com/repos/Hagbuck/project-designer/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Hagbuck/project-designer/issues/4/comments","events_url":"https://api.github.com/repos/Hagbuck/project-designer/issues/4/events","html_url":"https://github.com/Hagbuck/project-designer/issues/4","id":323722786,"node_id":"MDU6SXNzdWUzMjM3MjI3ODY=","number":4,"title":"[PHP] - Fonctions retournant les infos sur les projets et diagram","user":{"login":"Drainman","id":24383961,"node_id":"MDQ6VXNlcjI0MzgzOTYx","avatar_url":"https://avatars3.githubusercontent.com/u/24383961?v=4","gravatar_id":"","url":"https://api.github.com/users/Drainman","html_url":"https://github.com/Drainman","followers_url":"https://api.github.com/users/Drainman/followers","following_url":"https://api.github.com/users/Drainman/following{/other_user}","gists_url":"https://api.github.com/users/Drainman/gists{/gist_id}","starred_url":"https://api.github.com/users/Drainman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drainman/subscriptions","organizations_url":"https://api.github.com/users/Drainman/orgs","repos_url":"https://api.github.com/users/Drainman/repos","events_url":"https://api.github.com/users/Drainman/events{/privacy}","received_events_url":"https://api.github.com/users/Drainman/received_events","type":"User","site_admin":false},"labels":[{"id":935323857,"node_id":"MDU6TGFiZWw5MzUzMjM4NTc=","url":"https://api.github.com/repos/Hagbuck/project-designer/labels/TO%20DO","name":"TO DO","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":{"login":"Drainman","id":24383961,"node_id":"MDQ6VXNlcjI0MzgzOTYx","avatar_url":"https://avatars3.githubusercontent.com/u/24383961?v=4","gravatar_id":"","url":"https://api.github.com/users/Drainman","html_url":"https://github.com/Drainman","followers_url":"https://api.github.com/users/Drainman/followers","following_url":"https://api.github.com/users/Drainman/following{/other_user}","gists_url":"https://api.github.com/users/Drainman/gists{/gist_id}","starred_url":"https://api.github.com/users/Drainman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drainman/subscriptions","organizations_url":"https://api.github.com/users/Drainman/orgs","repos_url":"https://api.github.com/users/Drainman/repos","events_url":"https://api.github.com/users/Drainman/events{/privacy}","received_events_url":"https://api.github.com/users/Drainman/received_events","type":"User","site_admin":false},"assignees":[{"login":"Drainman","id":24383961,"node_id":"MDQ6VXNlcjI0MzgzOTYx","avatar_url":"https://avatars3.githubusercontent.com/u/24383961?v=4","gravatar_id":"","url":"https://api.github.com/users/Drainman","html_url":"https://github.com/Drainman","followers_url":"https://api.github.com/users/Drainman/followers","following_url":"https://api.github.com/users/Drainman/following{/other_user}","gists_url":"https://api.github.com/users/Drainman/gists{/gist_id}","starred_url":"https://api.github.com/users/Drainman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drainman/subscriptions","organizations_url":"https://api.github.com/users/Drainman/orgs","repos_url":"https://api.github.com/users/Drainman/repos","events_url":"https://api.github.com/users/Drainman/events{/privacy}","received_events_url":"https://api.github.com/users/Drainman/received_events","type":"User","site_admin":false},{"login":"SireConflexe","id":24473686,"node_id":"MDQ6VXNlcjI0NDczNjg2","avatar_url":"https://avatars2.githubusercontent.com/u/24473686?v=4","gravatar_id":"","url":"https://api.github.com/users/SireConflexe","html_url":"https://github.com/SireConflexe","followers_url":"https://api.github.com/users/SireConflexe/followers","following_url":"https://api.github.com/users/SireConflexe/following{/other_user}","gists_url":"https://api.github.com/users/SireConflexe/gists{/gist_id}","starred_url":"https://api.github.com/users/SireConflexe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SireConflexe/subscriptions","organizations_url":"https://api.github.com/users/SireConflexe/orgs","repos_url":"https://api.github.com/users/SireConflexe/repos","events_url":"https://api.github.com/users/SireConflexe/events{/privacy}","received_events_url":"https://api.github.com/users/SireConflexe/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-16T17:49:14Z","updated_at":"2018-07-03T09:12:44Z","closed_at":"2018-07-03T09:12:44Z","author_association":"COLLABORATOR","body":"J'ai besoin de fonction PHP retournant une chaîne de caractère JSON avec les infos suivantes : \r\n\r\nPour projet : \r\n- id\r\n- Nom\r\n- Date de création\r\n- Description\r\n- Admin du projet\r\n\r\n\r\nPour diagrams : \r\n- id\r\n- Nom\r\n- Description\r\n- Les grands axes (branches)\r\n- Collaborateurs\r\n\r\nEnsuite je sollicite votre avis sur un point.\r\nFait-on un seul appel AJAX pour récupérer tout les diagrammes indépendamment des projets sur lequel l'utilisateur à accès, on fait-on un appel AJAX à chaque fois qu'il clique sur un de ces projets pour ainsi récupérer seulement les diagrammes du projet qu'il vient de sélectionner ?\r\nJe penche pour la première car OSEF et qu'il va pas en avoir 30.000 des projets utilisateurs.\r\n\r\n**En tout cas c'est sur qu'il faut faire une fonction qui permet de récupérer les projets dans lequel l'utilisateur est ainsi que les diagrammes associés à ces projets.**\r\n\r\nJe ne connais pas vraiment la bd donc si Val peut m'aider ce serait super :) \r\nJe peux m'occuper de la partie affichage coté client sans problème ! \r\n\r\nFormat JSON à venir ! Merci ! "}}
{"actor":{"display_login":"Drainman"}}