{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/SDIS62/toolbox/pulls/1","id":63767360,"html_url":"https://github.com/SDIS62/toolbox/pull/1","diff_url":"https://github.com/SDIS62/toolbox/pull/1.diff","patch_url":"https://github.com/SDIS62/toolbox/pull/1.patch","issue_url":"https://api.github.com/repos/SDIS62/toolbox/issues/1","number":1,"state":"open","locked":false,"title":"Modification de la classe SDIS62_Rest_Server","user":{"login":"A564406","id":7629137,"avatar_url":"https://avatars.githubusercontent.com/u/7629137?v=3","gravatar_id":"","url":"https://api.github.com/users/A564406","html_url":"https://github.com/A564406","followers_url":"https://api.github.com/users/A564406/followers","following_url":"https://api.github.com/users/A564406/following{/other_user}","gists_url":"https://api.github.com/users/A564406/gists{/gist_id}","starred_url":"https://api.github.com/users/A564406/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/A564406/subscriptions","organizations_url":"https://api.github.com/users/A564406/orgs","repos_url":"https://api.github.com/users/A564406/repos","events_url":"https://api.github.com/users/A564406/events{/privacy}","received_events_url":"https://api.github.com/users/A564406/received_events","type":"User","site_admin":false},"body":"La classe SDIS62_Rest_Server permet de passer en paramètre de la fonction handle, des headers différents, avec un format de résultat de requête qui peut être différent de JSON.\r\n\r\nLes valeurs définies auparavant sont celles par défaut pour garder une rétrocompatibilité avec le code utilisant cette classe.\r\n\r\nElle est nécessaire pour éviter une erreur dans Prévarisc sur la synchronisation des calendriers demandée par le SDIS27.","created_at":"2016-03-22T18:14:00Z","updated_at":"2016-03-22T18:14:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SDIS62/toolbox/pulls/1/commits","review_comments_url":"https://api.github.com/repos/SDIS62/toolbox/pulls/1/comments","review_comment_url":"https://api.github.com/repos/SDIS62/toolbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SDIS62/toolbox/issues/1/comments","statuses_url":"https://api.github.com/repos/SDIS62/toolbox/statuses/f22a67c3dd9938f6ab539a52e1dbbeaed2c74d18","head":{"label":"A564406:handle-server","ref":"handle-server","sha":"f22a67c3dd9938f6ab539a52e1dbbeaed2c74d18","user":{"login":"A564406","id":7629137,"avatar_url":"https://avatars.githubusercontent.com/u/7629137?v=3","gravatar_id":"","url":"https://api.github.com/users/A564406","html_url":"https://github.com/A564406","followers_url":"https://api.github.com/users/A564406/followers","following_url":"https://api.github.com/users/A564406/following{/other_user}","gists_url":"https://api.github.com/users/A564406/gists{/gist_id}","starred_url":"https://api.github.com/users/A564406/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/A564406/subscriptions","organizations_url":"https://api.github.com/users/A564406/orgs","repos_url":"https://api.github.com/users/A564406/repos","events_url":"https://api.github.com/users/A564406/events{/privacy}","received_events_url":"https://api.github.com/users/A564406/received_events","type":"User","site_admin":false},"repo":{"id":54497682,"name":"toolbox","full_name":"A564406/toolbox","owner":{"login":"A564406","id":7629137,"avatar_url":"https://avatars.githubusercontent.com/u/7629137?v=3","gravatar_id":"","url":"https://api.github.com/users/A564406","html_url":"https://github.com/A564406","followers_url":"https://api.github.com/users/A564406/followers","following_url":"https://api.github.com/users/A564406/following{/other_user}","gists_url":"https://api.github.com/users/A564406/gists{/gist_id}","starred_url":"https://api.github.com/users/A564406/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/A564406/subscriptions","organizations_url":"https://api.github.com/users/A564406/orgs","repos_url":"https://api.github.com/users/A564406/repos","events_url":"https://api.github.com/users/A564406/events{/privacy}","received_events_url":"https://api.github.com/users/A564406/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/A564406/toolbox","description":"SDIS62 Toolbox.","fork":true,"url":"https://api.github.com/repos/A564406/toolbox","forks_url":"https://api.github.com/repos/A564406/toolbox/forks","keys_url":"https://api.github.com/repos/A564406/toolbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/A564406/toolbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/A564406/toolbox/teams","hooks_url":"https://api.github.com/repos/A564406/toolbox/hooks","issue_events_url":"https://api.github.com/repos/A564406/toolbox/issues/events{/number}","events_url":"https://api.github.com/repos/A564406/toolbox/events","assignees_url":"https://api.github.com/repos/A564406/toolbox/assignees{/user}","branches_url":"https://api.github.com/repos/A564406/toolbox/branches{/branch}","tags_url":"https://api.github.com/repos/A564406/toolbox/tags","blobs_url":"https://api.github.com/repos/A564406/toolbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/A564406/toolbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/A564406/toolbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/A564406/toolbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/A564406/toolbox/statuses/{sha}","languages_url":"https://api.github.com/repos/A564406/toolbox/languages","stargazers_url":"https://api.github.com/repos/A564406/toolbox/stargazers","contributors_url":"https://api.github.com/repos/A564406/toolbox/contributors","subscribers_url":"https://api.github.com/repos/A564406/toolbox/subscribers","subscription_url":"https://api.github.com/repos/A564406/toolbox/subscription","commits_url":"https://api.github.com/repos/A564406/toolbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/A564406/toolbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/A564406/toolbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/A564406/toolbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/A564406/toolbox/contents/{+path}","compare_url":"https://api.github.com/repos/A564406/toolbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/A564406/toolbox/merges","archive_url":"https://api.github.com/repos/A564406/toolbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/A564406/toolbox/downloads","issues_url":"https://api.github.com/repos/A564406/toolbox/issues{/number}","pulls_url":"https://api.github.com/repos/A564406/toolbox/pulls{/number}","milestones_url":"https://api.github.com/repos/A564406/toolbox/milestones{/number}","notifications_url":"https://api.github.com/repos/A564406/toolbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/A564406/toolbox/labels{/name}","releases_url":"https://api.github.com/repos/A564406/toolbox/releases{/id}","deployments_url":"https://api.github.com/repos/A564406/toolbox/deployments","created_at":"2016-03-22T18:05:21Z","updated_at":"2016-03-22T18:05:22Z","pushed_at":"2016-03-22T18:10:07Z","git_url":"git://github.com/A564406/toolbox.git","ssh_url":"git@github.com:A564406/toolbox.git","clone_url":"https://github.com/A564406/toolbox.git","svn_url":"https://github.com/A564406/toolbox","homepage":"www.sdis62.fr","size":103,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"master"}},"base":{"label":"SDIS62:master","ref":"master","sha":"3e41676a67a3eee1efcfcbf612e964d9fb4a4274","user":{"login":"SDIS62","id":3135477,"avatar_url":"https://avatars.githubusercontent.com/u/3135477?v=3","gravatar_id":"","url":"https://api.github.com/users/SDIS62","html_url":"https://github.com/SDIS62","followers_url":"https://api.github.com/users/SDIS62/followers","following_url":"https://api.github.com/users/SDIS62/following{/other_user}","gists_url":"https://api.github.com/users/SDIS62/gists{/gist_id}","starred_url":"https://api.github.com/users/SDIS62/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDIS62/subscriptions","organizations_url":"https://api.github.com/users/SDIS62/orgs","repos_url":"https://api.github.com/users/SDIS62/repos","events_url":"https://api.github.com/users/SDIS62/events{/privacy}","received_events_url":"https://api.github.com/users/SDIS62/received_events","type":"Organization","site_admin":false},"repo":{"id":8477361,"name":"toolbox","full_name":"SDIS62/toolbox","owner":{"login":"SDIS62","id":3135477,"avatar_url":"https://avatars.githubusercontent.com/u/3135477?v=3","gravatar_id":"","url":"https://api.github.com/users/SDIS62","html_url":"https://github.com/SDIS62","followers_url":"https://api.github.com/users/SDIS62/followers","following_url":"https://api.github.com/users/SDIS62/following{/other_user}","gists_url":"https://api.github.com/users/SDIS62/gists{/gist_id}","starred_url":"https://api.github.com/users/SDIS62/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDIS62/subscriptions","organizations_url":"https://api.github.com/users/SDIS62/orgs","repos_url":"https://api.github.com/users/SDIS62/repos","events_url":"https://api.github.com/users/SDIS62/events{/privacy}","received_events_url":"https://api.github.com/users/SDIS62/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SDIS62/toolbox","description":"SDIS62 Toolbox.","fork":false,"url":"https://api.github.com/repos/SDIS62/toolbox","forks_url":"https://api.github.com/repos/SDIS62/toolbox/forks","keys_url":"https://api.github.com/repos/SDIS62/toolbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SDIS62/toolbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SDIS62/toolbox/teams","hooks_url":"https://api.github.com/repos/SDIS62/toolbox/hooks","issue_events_url":"https://api.github.com/repos/SDIS62/toolbox/issues/events{/number}","events_url":"https://api.github.com/repos/SDIS62/toolbox/events","assignees_url":"https://api.github.com/repos/SDIS62/toolbox/assignees{/user}","branches_url":"https://api.github.com/repos/SDIS62/toolbox/branches{/branch}","tags_url":"https://api.github.com/repos/SDIS62/toolbox/tags","blobs_url":"https://api.github.com/repos/SDIS62/toolbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SDIS62/toolbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SDIS62/toolbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/SDIS62/toolbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SDIS62/toolbox/statuses/{sha}","languages_url":"https://api.github.com/repos/SDIS62/toolbox/languages","stargazers_url":"https://api.github.com/repos/SDIS62/toolbox/stargazers","contributors_url":"https://api.github.com/repos/SDIS62/toolbox/contributors","subscribers_url":"https://api.github.com/repos/SDIS62/toolbox/subscribers","subscription_url":"https://api.github.com/repos/SDIS62/toolbox/subscription","commits_url":"https://api.github.com/repos/SDIS62/toolbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/SDIS62/toolbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/SDIS62/toolbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/SDIS62/toolbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/SDIS62/toolbox/contents/{+path}","compare_url":"https://api.github.com/repos/SDIS62/toolbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SDIS62/toolbox/merges","archive_url":"https://api.github.com/repos/SDIS62/toolbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SDIS62/toolbox/downloads","issues_url":"https://api.github.com/repos/SDIS62/toolbox/issues{/number}","pulls_url":"https://api.github.com/repos/SDIS62/toolbox/pulls{/number}","milestones_url":"https://api.github.com/repos/SDIS62/toolbox/milestones{/number}","notifications_url":"https://api.github.com/repos/SDIS62/toolbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SDIS62/toolbox/labels{/name}","releases_url":"https://api.github.com/repos/SDIS62/toolbox/releases{/id}","deployments_url":"https://api.github.com/repos/SDIS62/toolbox/deployments","created_at":"2013-02-28T11:00:06Z","updated_at":"2014-06-30T14:48:21Z","pushed_at":"2016-03-22T18:14:00Z","git_url":"git://github.com/SDIS62/toolbox.git","ssh_url":"git@github.com:SDIS62/toolbox.git","clone_url":"https://github.com/SDIS62/toolbox.git","svn_url":"https://github.com/SDIS62/toolbox","homepage":"www.sdis62.fr","size":512,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SDIS62/toolbox/pulls/1"},"html":{"href":"https://github.com/SDIS62/toolbox/pull/1"},"issue":{"href":"https://api.github.com/repos/SDIS62/toolbox/issues/1"},"comments":{"href":"https://api.github.com/repos/SDIS62/toolbox/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/SDIS62/toolbox/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/SDIS62/toolbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SDIS62/toolbox/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/SDIS62/toolbox/statuses/f22a67c3dd9938f6ab539a52e1dbbeaed2c74d18"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":22,"deletions":8,"changed_files":1}}