{"action":"created","comment":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments/24724965","id":24724965,"diff_hunk":"@@ -5,61 +5,290 @@ API\n Informations générales\n ======================\n \n-En-têtes possibles\n-------------------\n+Version courante\n+----------------\n+\n+L'API est toujours en développement et n'est pas encore versionnée. Même si elle le deviendra une fois son développement stabilisé, elle doit être vue comme une bêta avec les changements que cela peut impliquer dans ses paramètres et ses réponses.\n+\n+Schéma\n+------\n+\n+L'API est accessible à partir du domaine ``www.zestedesavoir.com/api/`` (prochainement ``api.zestedesavoir.com``) et en HTTP ou en HTTPS mais dès lors où vous effectuez des requêtes authentifiées, le HTTPS devient obligatoire. De base, toutes les réponses sont renvoyées en JSON.","path":"doc/source/api.rst","position":14,"original_position":14,"commit_id":"c72876ed822533113c48f2dac60c9755f0ada564","original_commit_id":"c72876ed822533113c48f2dac60c9755f0ada564","user":{"login":"Situphen","id":6664636,"avatar_url":"https://avatars.githubusercontent.com/u/6664636?v=3","gravatar_id":"","url":"https://api.github.com/users/Situphen","html_url":"https://github.com/Situphen","followers_url":"https://api.github.com/users/Situphen/followers","following_url":"https://api.github.com/users/Situphen/following{/other_user}","gists_url":"https://api.github.com/users/Situphen/gists{/gist_id}","starred_url":"https://api.github.com/users/Situphen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Situphen/subscriptions","organizations_url":"https://api.github.com/users/Situphen/orgs","repos_url":"https://api.github.com/users/Situphen/repos","events_url":"https://api.github.com/users/Situphen/events{/privacy}","received_events_url":"https://api.github.com/users/Situphen/received_events","type":"User","site_admin":false},"body":"Il faut enlever le `www.` qui n'est plus d'actualité ! ;)","created_at":"2015-02-15T19:05:33Z","updated_at":"2015-02-15T19:05:33Z","html_url":"https://github.com/zestedesavoir/zds-site/pull/2342#discussion_r24724965","pull_request_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2342","_links":{"self":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments/24724965"},"html":{"href":"https://github.com/zestedesavoir/zds-site/pull/2342#discussion_r24724965"},"pull_request":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2342"}}},"pull_request":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2342","id":29335396,"html_url":"https://github.com/zestedesavoir/zds-site/pull/2342","diff_url":"https://github.com/zestedesavoir/zds-site/pull/2342.diff","patch_url":"https://github.com/zestedesavoir/zds-site/pull/2342.patch","issue_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2342","number":2342,"state":"open","locked":false,"title":"Improves documentation of the api","user":{"login":"GerardPaligot","id":1913901,"avatar_url":"https://avatars.githubusercontent.com/u/1913901?v=3","gravatar_id":"","url":"https://api.github.com/users/GerardPaligot","html_url":"https://github.com/GerardPaligot","followers_url":"https://api.github.com/users/GerardPaligot/followers","following_url":"https://api.github.com/users/GerardPaligot/following{/other_user}","gists_url":"https://api.github.com/users/GerardPaligot/gists{/gist_id}","starred_url":"https://api.github.com/users/GerardPaligot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GerardPaligot/subscriptions","organizations_url":"https://api.github.com/users/GerardPaligot/orgs","repos_url":"https://api.github.com/users/GerardPaligot/repos","events_url":"https://api.github.com/users/GerardPaligot/events{/privacy}","received_events_url":"https://api.github.com/users/GerardPaligot/received_events","type":"User","site_admin":false},"body":"| Q                         | R\r\n| ------------------------- | -------------------------------------------\r\n| Correction de bugs ?      | non\r\n| Nouvelle Fonctionnalité ? | non\r\n| Tickets (_issues_) concernés         | ZEP-17\r\n\r\nJ'ai grandement complété la documentation de l'API du projet. Je pense (et j'espère) combler tout le monde avec cette nouvelle version.\r\n\r\nQA :\r\n\r\n- Générez la documentaton : `make html` dans le dossier `doc` du projet.\r\n- Ouvrez le html généré dans `doc` > `build` > `html` > `index.html`.\r\n- Lisez et faites moi des retours si nécessaire.","created_at":"2015-02-15T14:31:46Z","updated_at":"2015-02-15T19:05:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f4b7119ad26288080779280c0ad7088d797e704","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2342/commits","review_comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2342/comments","review_comment_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments/{number}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2342/comments","statuses_url":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/c72876ed822533113c48f2dac60c9755f0ada564","head":{"label":"GerardPaligot:doc_api","ref":"doc_api","sha":"c72876ed822533113c48f2dac60c9755f0ada564","user":{"login":"GerardPaligot","id":1913901,"avatar_url":"https://avatars.githubusercontent.com/u/1913901?v=3","gravatar_id":"","url":"https://api.github.com/users/GerardPaligot","html_url":"https://github.com/GerardPaligot","followers_url":"https://api.github.com/users/GerardPaligot/followers","following_url":"https://api.github.com/users/GerardPaligot/following{/other_user}","gists_url":"https://api.github.com/users/GerardPaligot/gists{/gist_id}","starred_url":"https://api.github.com/users/GerardPaligot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GerardPaligot/subscriptions","organizations_url":"https://api.github.com/users/GerardPaligot/orgs","repos_url":"https://api.github.com/users/GerardPaligot/repos","events_url":"https://api.github.com/users/GerardPaligot/events{/privacy}","received_events_url":"https://api.github.com/users/GerardPaligot/received_events","type":"User","site_admin":false},"repo":{"id":20162464,"name":"zds-site","full_name":"GerardPaligot/zds-site","owner":{"login":"GerardPaligot","id":1913901,"avatar_url":"https://avatars.githubusercontent.com/u/1913901?v=3","gravatar_id":"","url":"https://api.github.com/users/GerardPaligot","html_url":"https://github.com/GerardPaligot","followers_url":"https://api.github.com/users/GerardPaligot/followers","following_url":"https://api.github.com/users/GerardPaligot/following{/other_user}","gists_url":"https://api.github.com/users/GerardPaligot/gists{/gist_id}","starred_url":"https://api.github.com/users/GerardPaligot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GerardPaligot/subscriptions","organizations_url":"https://api.github.com/users/GerardPaligot/orgs","repos_url":"https://api.github.com/users/GerardPaligot/repos","events_url":"https://api.github.com/users/GerardPaligot/events{/privacy}","received_events_url":"https://api.github.com/users/GerardPaligot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GerardPaligot/zds-site","description":"Dépot ZDS","fork":true,"url":"https://api.github.com/repos/GerardPaligot/zds-site","forks_url":"https://api.github.com/repos/GerardPaligot/zds-site/forks","keys_url":"https://api.github.com/repos/GerardPaligot/zds-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GerardPaligot/zds-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GerardPaligot/zds-site/teams","hooks_url":"https://api.github.com/repos/GerardPaligot/zds-site/hooks","issue_events_url":"https://api.github.com/repos/GerardPaligot/zds-site/issues/events{/number}","events_url":"https://api.github.com/repos/GerardPaligot/zds-site/events","assignees_url":"https://api.github.com/repos/GerardPaligot/zds-site/assignees{/user}","branches_url":"https://api.github.com/repos/GerardPaligot/zds-site/branches{/branch}","tags_url":"https://api.github.com/repos/GerardPaligot/zds-site/tags","blobs_url":"https://api.github.com/repos/GerardPaligot/zds-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GerardPaligot/zds-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GerardPaligot/zds-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/GerardPaligot/zds-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GerardPaligot/zds-site/statuses/{sha}","languages_url":"https://api.github.com/repos/GerardPaligot/zds-site/languages","stargazers_url":"https://api.github.com/repos/GerardPaligot/zds-site/stargazers","contributors_url":"https://api.github.com/repos/GerardPaligot/zds-site/contributors","subscribers_url":"https://api.github.com/repos/GerardPaligot/zds-site/subscribers","subscription_url":"https://api.github.com/repos/GerardPaligot/zds-site/subscription","commits_url":"https://api.github.com/repos/GerardPaligot/zds-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/GerardPaligot/zds-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/GerardPaligot/zds-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/GerardPaligot/zds-site/issues/comments/{number}","contents_url":"https://api.github.com/repos/GerardPaligot/zds-site/contents/{+path}","compare_url":"https://api.github.com/repos/GerardPaligot/zds-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GerardPaligot/zds-site/merges","archive_url":"https://api.github.com/repos/GerardPaligot/zds-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GerardPaligot/zds-site/downloads","issues_url":"https://api.github.com/repos/GerardPaligot/zds-site/issues{/number}","pulls_url":"https://api.github.com/repos/GerardPaligot/zds-site/pulls{/number}","milestones_url":"https://api.github.com/repos/GerardPaligot/zds-site/milestones{/number}","notifications_url":"https://api.github.com/repos/GerardPaligot/zds-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GerardPaligot/zds-site/labels{/name}","releases_url":"https://api.github.com/repos/GerardPaligot/zds-site/releases{/id}","created_at":"2014-05-25T18:43:41Z","updated_at":"2015-02-04T21:45:59Z","pushed_at":"2015-02-15T14:28:35Z","git_url":"git://github.com/GerardPaligot/zds-site.git","ssh_url":"git@github.com:GerardPaligot/zds-site.git","clone_url":"https://github.com/GerardPaligot/zds-site.git","svn_url":"https://github.com/GerardPaligot/zds-site","homepage":null,"size":51427,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"refacto_member"}},"base":{"label":"zestedesavoir:dev","ref":"dev","sha":"7ac5d909c9010ac4fc3caaaa88a2f362711fe555","user":{"login":"zestedesavoir","id":7406239,"avatar_url":"https://avatars.githubusercontent.com/u/7406239?v=3","gravatar_id":"","url":"https://api.github.com/users/zestedesavoir","html_url":"https://github.com/zestedesavoir","followers_url":"https://api.github.com/users/zestedesavoir/followers","following_url":"https://api.github.com/users/zestedesavoir/following{/other_user}","gists_url":"https://api.github.com/users/zestedesavoir/gists{/gist_id}","starred_url":"https://api.github.com/users/zestedesavoir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestedesavoir/subscriptions","organizations_url":"https://api.github.com/users/zestedesavoir/orgs","repos_url":"https://api.github.com/users/zestedesavoir/repos","events_url":"https://api.github.com/users/zestedesavoir/events{/privacy}","received_events_url":"https://api.github.com/users/zestedesavoir/received_events","type":"Organization","site_admin":false},"repo":{"id":14778920,"name":"zds-site","full_name":"zestedesavoir/zds-site","owner":{"login":"zestedesavoir","id":7406239,"avatar_url":"https://avatars.githubusercontent.com/u/7406239?v=3","gravatar_id":"","url":"https://api.github.com/users/zestedesavoir","html_url":"https://github.com/zestedesavoir","followers_url":"https://api.github.com/users/zestedesavoir/followers","following_url":"https://api.github.com/users/zestedesavoir/following{/other_user}","gists_url":"https://api.github.com/users/zestedesavoir/gists{/gist_id}","starred_url":"https://api.github.com/users/zestedesavoir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestedesavoir/subscriptions","organizations_url":"https://api.github.com/users/zestedesavoir/orgs","repos_url":"https://api.github.com/users/zestedesavoir/repos","events_url":"https://api.github.com/users/zestedesavoir/events{/privacy}","received_events_url":"https://api.github.com/users/zestedesavoir/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zestedesavoir/zds-site","description":"Dépot ZDS","fork":false,"url":"https://api.github.com/repos/zestedesavoir/zds-site","forks_url":"https://api.github.com/repos/zestedesavoir/zds-site/forks","keys_url":"https://api.github.com/repos/zestedesavoir/zds-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zestedesavoir/zds-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zestedesavoir/zds-site/teams","hooks_url":"https://api.github.com/repos/zestedesavoir/zds-site/hooks","issue_events_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/events{/number}","events_url":"https://api.github.com/repos/zestedesavoir/zds-site/events","assignees_url":"https://api.github.com/repos/zestedesavoir/zds-site/assignees{/user}","branches_url":"https://api.github.com/repos/zestedesavoir/zds-site/branches{/branch}","tags_url":"https://api.github.com/repos/zestedesavoir/zds-site/tags","blobs_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/{sha}","languages_url":"https://api.github.com/repos/zestedesavoir/zds-site/languages","stargazers_url":"https://api.github.com/repos/zestedesavoir/zds-site/stargazers","contributors_url":"https://api.github.com/repos/zestedesavoir/zds-site/contributors","subscribers_url":"https://api.github.com/repos/zestedesavoir/zds-site/subscribers","subscription_url":"https://api.github.com/repos/zestedesavoir/zds-site/subscription","commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/comments/{number}","contents_url":"https://api.github.com/repos/zestedesavoir/zds-site/contents/{+path}","compare_url":"https://api.github.com/repos/zestedesavoir/zds-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zestedesavoir/zds-site/merges","archive_url":"https://api.github.com/repos/zestedesavoir/zds-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zestedesavoir/zds-site/downloads","issues_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues{/number}","pulls_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls{/number}","milestones_url":"https://api.github.com/repos/zestedesavoir/zds-site/milestones{/number}","notifications_url":"https://api.github.com/repos/zestedesavoir/zds-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/labels{/name}","releases_url":"https://api.github.com/repos/zestedesavoir/zds-site/releases{/id}","created_at":"2013-11-28T14:23:48Z","updated_at":"2015-02-14T14:20:21Z","pushed_at":"2015-02-14T14:20:20Z","git_url":"git://github.com/zestedesavoir/zds-site.git","ssh_url":"git@github.com:zestedesavoir/zds-site.git","clone_url":"https://github.com/zestedesavoir/zds-site.git","svn_url":"https://github.com/zestedesavoir/zds-site","homepage":null,"size":131456,"stargazers_count":82,"watchers_count":82,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":78,"mirror_url":null,"open_issues_count":273,"forks":78,"open_issues":273,"watchers":82,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2342"},"html":{"href":"https://github.com/zestedesavoir/zds-site/pull/2342"},"issue":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2342"},"comments":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2342/comments"},"review_comments":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2342/comments"},"review_comment":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2342/commits"},"statuses":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/c72876ed822533113c48f2dac60c9755f0ada564"}}}}