{"action":"created","comment":{"url":"https://api.github.com/repos/LexicForLXD/Backend/pulls/comments/175289334","pull_request_review_id":104797406,"id":175289334,"diff_hunk":"@@ -0,0 +1,444 @@\n+<?php\n+\n+namespace AppBundle\\Controller;\n+\n+use Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller;\n+use Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route;\n+use Symfony\\Component\\HttpFoundation\\Request;\n+use Doctrine\\ORM\\EntityManagerInterface;\n+use Symfony\\Component\\HttpFoundation\\Response;\n+use Symfony\\Component\\HttpFoundation\\JsonResponse;\n+use Swagger\\Annotations as OAS;\n+\n+use AppBundle\\Exception\\WrongInputException;\n+use AppBundle\\Exception\\WrongInputExceptionArray;\n+use AppBundle\\Exception\\ElementNotFoundException;\n+\n+use AppBundle\\Entity\\BackupDestination;\n+use AppBundle\\Entity\\Backup;\n+\n+\n+class BackupDestinationController extends Controller\n+{\n+    /**\n+     * List all backup destinations\n+     *\n+     * @Route(\"/backupdestinations\", name=\"backup_dest_index\", methods={\"GET\"})\n+     *\n+     * @OAS\\Get(path=\"/backupdestinations\",\n+     *      tags={\"backupdestinations\"},\n+     *      @OAS\\Response(\n+     *          response=200,\n+     *          description=\"Zeigt eine Liste aller backup destinations an\",\n+     *          @OAS\\JsonContent(ref=\"#/components/schemas/backupdest\"),\n+     *          @OAS\\Schema(\n+     *              type=\"array\"\n+     *          ),\n+     *      ),\n+     *     @OAS\\Response(\n+     *          response=404,\n+     *          description=\"No backup destinations found\",\n+     *      ),\n+     * )\n+     *\n+     * @return Response\n+     * @throws ElementNotFoundException\n+     */\n+    public function indexBackupDestinationAction()\n+    {\n+        $dests = $this->getDoctrine()->getRepository(BackupDestination::class)->findAll();\n+\n+        if (!$dests) {\n+            throw new ElementNotFoundException(\n+                'No backup destinations found'\n+            );\n+        }\n+\n+        $serializer = $this->get('jms_serializer');\n+        $response = $serializer->serialize($dests, 'json');\n+        return new Response($response);\n+    }\n+\n+\n+    /**\n+     * Show one backup destination\n+     *\n+     * @Route(\"/backupdestinations/{destId}\", name=\"backup_dest_show\", methods={\"GET\"})\n+     *\n+     * @OAS\\Get(path=\"/backupdestinations/{destId}\",\n+     *  tags={\"backupdestinations\"},\n+     *  @OAS\\Parameter(\n+     *     description=\"ID von anzuzeigender backup destination\",\n+     *     in=\"path\",\n+     *     name=\"destId\",\n+     *     required=true,\n+     *     @OAS\\Schema(\n+     *         type=\"integer\"\n+     *     ),\n+     *  ),\n+     *\n+     *  @OAS\\Response(\n+     *      response=200,\n+     *      description=\"gibt eine backup destination zurück\",\n+     *      @OAS\\JsonContent(ref=\"#/components/schemas/backupdest\"),\n+     *      @OAS\\Schema(\n+     *          type=\"array\"\n+     *      ),\n+     *  ),\n+     *  @OAS\\Response(\n+     *      response=404,\n+     *      description=\"No backup destination found\",\n+     *  ),\n+     * )\n+     *\n+     * @param integer $destId\n+     * @return Response\n+     * @throws ElementNotFoundException\n+     */\n+    public function showBackupDestinationAction(int $destId)\n+    {\n+        $dest = $this->getDoctrine()->getRepository(BackupDestination::class)->find($destId);\n+\n+        if (!$dest) {\n+            throw new ElementNotFoundException(\n+                'No backup destination found for id ' . $destId\n+            );\n+        }\n+\n+        $serializer = $this->get('jms_serializer');\n+        $response = $serializer->serialize($dest, 'json');\n+        return new Response($response);\n+    }\n+\n+\n+    /**\n+     * Creates a new backup destination\n+     *\n+     * @Route(\"/backupdestinations\", name=\"backup_dest_create\", methods={\"POST\"})\n+     *\n+     * @OAS\\Post(path=\"/backupdestinations\",\n+     *  tags={\"backupdestinations\"},\n+     *  @OAS\\Response(\n+     *     response=201,\n+     *     description=\"gibt die neu gespeicherte backup destination zurück\",\n+     *     @OAS\\JsonContent(ref=\"#/components/schemas/backupdest\"),\n+     *     @OAS\\Schema(\n+     *         type=\"array\"\n+     *     ),\n+     *  ),\n+     *\n+     *  @OAS\\Response(\n+     *     response=400,\n+     *     description=\"wrong input data with array what was wrong\",\n+     *  ),\n+     *\n+     *  @OAS\\Parameter(\n+     *      description=\"Parameters for new backup dest without username and password\",\n+     *      name=\"body\",\n+     *      in=\"body\",\n+     *      required=true,\n+     *      @OAS\\Schema(\n+     *          @OAS\\Property(\n+     *              property=\"name\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"description\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"hostname\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"protocol\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"path\",\n+     *              type=\"string\"\n+     *          ),\n+     *      ),\n+     *  ),\n+     *\n+     *  @OAS\\Parameter(\n+     *      description=\"Parameters for new backup dest with username and password\",\n+     *      name=\"body\",\n+     *      in=\"body\",\n+     *      required=true,\n+     *      @OAS\\Schema(\n+     *          @OAS\\Property(\n+     *              property=\"name\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"description\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"hostname\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"protocol\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"path\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"username\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"password\",\n+     *              type=\"string\"\n+     *          ),\n+     *      ),\n+     *  ),\n+     * )\n+     *\n+     * @param Request $request\n+     * @param EntityManagerInterface $em\n+     * @return Response\n+     * @throws WrongInputException\n+     */\n+    public function createBackupDestinationAction(Request $request, EntityManagerInterface $em)\n+    {\n+        $dest = new BackupDestination();\n+        $dest->setName($request->get('name'));\n+        $dest->setDescription($request->get('description'));\n+        $dest->setHostname($request->get('hostname'));\n+        $dest->setProtocol($request->get('protocol'));\n+        $dest->setPath($request->get('path'));\n+\n+        if ($request->request->has(\"username\")) {\n+            $dest->setUsername($request->get('username'));\n+        }\n+        if ($request->request->has(\"password\")) {\n+            $dest->setPassword($request->get('password'));\n+        }\n+\n+        $this->validation($dest);\n+\n+        $em->persist($dest);\n+        $em->flush();\n+\n+        $serializer = $this->get('jms_serializer');\n+        $response = $serializer->serialize($dest, 'json');\n+        return new Response($response, Response::HTTP_CREATED);\n+\n+    }\n+\n+\n+    /**\n+     * Update a single backup destination\n+     *\n+     * @Route(\"/backupdestinations/{destId}\", name=\"backup_dest_update\", methods={\"PUT\"})\n+     *\n+     * @OAS\\Put(path=\"/backupdestinations/{destId}\",\n+     *  tags={\"backupdestinations\"},\n+     *  @OAS\\Response(\n+     *     response=200,\n+     *     description=\"gibt die bearbeitete backup destination zurück\",\n+     *     @OAS\\JsonContent(ref=\"#/components/schemas/backupdest\"),\n+     *     @OAS\\Schema(\n+     *         type=\"array\"\n+     *     ),\n+     *  ),\n+     *\n+     *  @OAS\\Response(\n+     *     response=400,\n+     *     description=\"wrong input data with array what was wrong\",\n+     *  ),\n+     *\n+     *  @OAS\\Response(\n+     *      response=404,\n+     *      description=\"No backup destination found\",\n+     *  ),\n+     *\n+     *  @OAS\\Parameter(\n+     *      description=\"Parameters for update backup dest without username and password\",\n+     *      name=\"bodyWithoutUser\",\n+     *      in=\"body\",\n+     *      required=true,\n+     *      @OAS\\Schema(\n+     *          @OAS\\Property(\n+     *              property=\"name\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"description\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"hostname\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"protocol\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"path\",\n+     *              type=\"string\"\n+     *          ),\n+     *      ),\n+     *  ),\n+     *\n+     *  @OAS\\Parameter(\n+     *      description=\"Parameters for update backup dest with username and password\",\n+     *      name=\"body\",\n+     *      in=\"body\",\n+     *      required=true,\n+     *      @OAS\\Schema(\n+     *          @OAS\\Property(\n+     *              property=\"name\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"description\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"hostname\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"protocol\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"path\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"username\",\n+     *              type=\"string\"\n+     *          ),\n+     *          @OAS\\Property(\n+     *              property=\"password\",\n+     *              type=\"string\"\n+     *          ),\n+     *      ),\n+     *  ),\n+     * )\n+     *\n+     * @param Request $request\n+     * @param integer $destId\n+     * @param EntityManagerInterface $em\n+     * @return Response\n+     * @throws ElementNotFoundException\n+     * @throws WrongInputException\n+     */\n+    public function updateBackupDestinationAction(Request $request, int $destId, EntityManagerInterface $em)\n+    {\n+        $dest = $this->getDoctrine()->getRepository(BackupDestination::class)->find($destId);\n+\n+        if (!$dest) {\n+            throw new ElementNotFoundException(\n+                'No backup destination found for id ' . $destId\n+            );\n+        }\n+\n+        $dest->setName($request->get('name'));\n+        $dest->setDescription($request->get('description'));\n+        $dest->setHostname($request->get('hostname'));\n+        $dest->setProtocol($request->get('protocol'));\n+        $dest->setPath($request->get('path'));\n+\n+        if ($request->request->has(\"username\")) {\n+            $dest->setUsername($request->get('username'));\n+        }\n+        if ($request->request->has(\"password\")) {\n+            $dest->setPassword($request->get('password'));\n+        }\n+\n+        $this->validation($dest);\n+\n+        $em->flush();\n+\n+        $serializer = $this->get('jms_serializer');\n+        $response = $serializer->serialize($dest, 'json');\n+        return new Response($response);\n+    }\n+\n+\n+    /**\n+     * Delete one backup destination\n+     *\n+     * @Route(\"/backupdestinations/{destId}\", name=\"backup_dest_delete\", methods=\"DELETE\")\n+     *\n+     * @OAS\\Delete(path=\"/backupdestinations/{destId}\",\n+     *  tags={\"backupdestinations\"},\n+     *  @OAS\\Parameter(\n+     *     description=\"ID der zu löschenden backup destination\",\n+     *     in=\"path\",\n+     *     name=\"destId\",\n+     *     required=true,\n+     *     @OAS\\Schema(\n+     *         type=\"integer\"\n+     *     ),\n+     *  ),\n+     *\n+     *  @OAS\\Response(\n+     *     response=204,\n+     *     description=\"success message\"\n+     *  ),\n+     *\n+     *  @OAS\\Response(\n+     *      response=404,\n+     *      description=\"No backup destination found\",\n+     *  ),\n+     * )\n+     *\n+     * @param integer $destId\n+     * @param EntityManagerInterface $em\n+     * @return JsonResponse\n+     * @throws ElementNotFoundException\n+     */\n+    public function deleteBackupDestinationAction(int $destId, EntityManagerInterface $em)\n+    {\n+        $dest = $this->getDoctrine()->getRepository(BackupDestination::class)->find($destId);\n+\n+        if (!$dest) {\n+            throw new ElementNotFoundException(\n+                'No backup destination found for id ' . $destId\n+            );\n+        }\n+\n+        $em->remove($dest);\n+        $em->flush();\n+\n+        return new JsonResponse(['message' => 'successful deleted'], 204);","path":"src/AppBundle/Controller/BackupDestinationController.php","position":414,"original_position":414,"commit_id":"3a8090a50abe98d1035374ac39c87605ec5ffeb5","original_commit_id":"3a8090a50abe98d1035374ac39c87605ec5ffeb5","user":{"login":"ChibangLW","id":22293464,"avatar_url":"https://avatars1.githubusercontent.com/u/22293464?v=4","gravatar_id":"","url":"https://api.github.com/users/ChibangLW","html_url":"https://github.com/ChibangLW","followers_url":"https://api.github.com/users/ChibangLW/followers","following_url":"https://api.github.com/users/ChibangLW/following{/other_user}","gists_url":"https://api.github.com/users/ChibangLW/gists{/gist_id}","starred_url":"https://api.github.com/users/ChibangLW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChibangLW/subscriptions","organizations_url":"https://api.github.com/users/ChibangLW/orgs","repos_url":"https://api.github.com/users/ChibangLW/repos","events_url":"https://api.github.com/users/ChibangLW/events{/privacy}","received_events_url":"https://api.github.com/users/ChibangLW/received_events","type":"User","site_admin":false},"body":"Okay dann gebe ich auch leer zurück.\r\n","created_at":"2018-03-18T13:30:45Z","updated_at":"2018-03-18T13:30:45Z","html_url":"https://github.com/LexicForLXD/Backend/pull/43#discussion_r175289334","pull_request_url":"https://api.github.com/repos/LexicForLXD/Backend/pulls/43","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/LexicForLXD/Backend/pulls/comments/175289334"},"html":{"href":"https://github.com/LexicForLXD/Backend/pull/43#discussion_r175289334"},"pull_request":{"href":"https://api.github.com/repos/LexicForLXD/Backend/pulls/43"}},"in_reply_to_id":175283961},"pull_request":{"url":"https://api.github.com/repos/LexicForLXD/Backend/pulls/43","id":175726222,"html_url":"https://github.com/LexicForLXD/Backend/pull/43","diff_url":"https://github.com/LexicForLXD/Backend/pull/43.diff","patch_url":"https://github.com/LexicForLXD/Backend/pull/43.patch","issue_url":"https://api.github.com/repos/LexicForLXD/Backend/issues/43","number":43,"state":"open","locked":false,"title":"Feature/backup destination","user":{"login":"ChibangLW","id":22293464,"avatar_url":"https://avatars1.githubusercontent.com/u/22293464?v=4","gravatar_id":"","url":"https://api.github.com/users/ChibangLW","html_url":"https://github.com/ChibangLW","followers_url":"https://api.github.com/users/ChibangLW/followers","following_url":"https://api.github.com/users/ChibangLW/following{/other_user}","gists_url":"https://api.github.com/users/ChibangLW/gists{/gist_id}","starred_url":"https://api.github.com/users/ChibangLW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChibangLW/subscriptions","organizations_url":"https://api.github.com/users/ChibangLW/orgs","repos_url":"https://api.github.com/users/ChibangLW/repos","events_url":"https://api.github.com/users/ChibangLW/events{/privacy}","received_events_url":"https://api.github.com/users/ChibangLW/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-17T23:14:03Z","updated_at":"2018-03-18T13:30:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab97b264fdffcc2f7df4549de8cac619c80c114d","assignee":{"login":"ChibangLW","id":22293464,"avatar_url":"https://avatars1.githubusercontent.com/u/22293464?v=4","gravatar_id":"","url":"https://api.github.com/users/ChibangLW","html_url":"https://github.com/ChibangLW","followers_url":"https://api.github.com/users/ChibangLW/followers","following_url":"https://api.github.com/users/ChibangLW/following{/other_user}","gists_url":"https://api.github.com/users/ChibangLW/gists{/gist_id}","starred_url":"https://api.github.com/users/ChibangLW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChibangLW/subscriptions","organizations_url":"https://api.github.com/users/ChibangLW/orgs","repos_url":"https://api.github.com/users/ChibangLW/repos","events_url":"https://api.github.com/users/ChibangLW/events{/privacy}","received_events_url":"https://api.github.com/users/ChibangLW/received_events","type":"User","site_admin":false},"assignees":[{"login":"ChibangLW","id":22293464,"avatar_url":"https://avatars1.githubusercontent.com/u/22293464?v=4","gravatar_id":"","url":"https://api.github.com/users/ChibangLW","html_url":"https://github.com/ChibangLW","followers_url":"https://api.github.com/users/ChibangLW/followers","following_url":"https://api.github.com/users/ChibangLW/following{/other_user}","gists_url":"https://api.github.com/users/ChibangLW/gists{/gist_id}","starred_url":"https://api.github.com/users/ChibangLW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChibangLW/subscriptions","organizations_url":"https://api.github.com/users/ChibangLW/orgs","repos_url":"https://api.github.com/users/ChibangLW/repos","events_url":"https://api.github.com/users/ChibangLW/events{/privacy}","received_events_url":"https://api.github.com/users/ChibangLW/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":842548746,"url":"https://api.github.com/repos/LexicForLXD/Backend/labels/feature","name":"feature","color":"0e8a16","default":false}],"milestone":{"url":"https://api.github.com/repos/LexicForLXD/Backend/milestones/1","html_url":"https://github.com/LexicForLXD/Backend/milestone/1","labels_url":"https://api.github.com/repos/LexicForLXD/Backend/milestones/1/labels","id":3098386,"number":1,"title":"MS6","description":"","creator":{"login":"ChibangLW","id":22293464,"avatar_url":"https://avatars1.githubusercontent.com/u/22293464?v=4","gravatar_id":"","url":"https://api.github.com/users/ChibangLW","html_url":"https://github.com/ChibangLW","followers_url":"https://api.github.com/users/ChibangLW/followers","following_url":"https://api.github.com/users/ChibangLW/following{/other_user}","gists_url":"https://api.github.com/users/ChibangLW/gists{/gist_id}","starred_url":"https://api.github.com/users/ChibangLW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChibangLW/subscriptions","organizations_url":"https://api.github.com/users/ChibangLW/orgs","repos_url":"https://api.github.com/users/ChibangLW/repos","events_url":"https://api.github.com/users/ChibangLW/events{/privacy}","received_events_url":"https://api.github.com/users/ChibangLW/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":15,"state":"open","created_at":"2018-02-07T23:28:21Z","updated_at":"2018-03-17T23:14:03Z","due_on":"2018-03-18T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/LexicForLXD/Backend/pulls/43/commits","review_comments_url":"https://api.github.com/repos/LexicForLXD/Backend/pulls/43/comments","review_comment_url":"https://api.github.com/repos/LexicForLXD/Backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LexicForLXD/Backend/issues/43/comments","statuses_url":"https://api.github.com/repos/LexicForLXD/Backend/statuses/3a8090a50abe98d1035374ac39c87605ec5ffeb5","head":{"label":"LexicForLXD:feature/backup-destination","ref":"feature/backup-destination","sha":"3a8090a50abe98d1035374ac39c87605ec5ffeb5","user":{"login":"LexicForLXD","id":36203725,"avatar_url":"https://avatars0.githubusercontent.com/u/36203725?v=4","gravatar_id":"","url":"https://api.github.com/users/LexicForLXD","html_url":"https://github.com/LexicForLXD","followers_url":"https://api.github.com/users/LexicForLXD/followers","following_url":"https://api.github.com/users/LexicForLXD/following{/other_user}","gists_url":"https://api.github.com/users/LexicForLXD/gists{/gist_id}","starred_url":"https://api.github.com/users/LexicForLXD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LexicForLXD/subscriptions","organizations_url":"https://api.github.com/users/LexicForLXD/orgs","repos_url":"https://api.github.com/users/LexicForLXD/repos","events_url":"https://api.github.com/users/LexicForLXD/events{/privacy}","received_events_url":"https://api.github.com/users/LexicForLXD/received_events","type":"Organization","site_admin":false},"repo":{"id":120627083,"name":"Backend","full_name":"LexicForLXD/Backend","owner":{"login":"LexicForLXD","id":36203725,"avatar_url":"https://avatars0.githubusercontent.com/u/36203725?v=4","gravatar_id":"","url":"https://api.github.com/users/LexicForLXD","html_url":"https://github.com/LexicForLXD","followers_url":"https://api.github.com/users/LexicForLXD/followers","following_url":"https://api.github.com/users/LexicForLXD/following{/other_user}","gists_url":"https://api.github.com/users/LexicForLXD/gists{/gist_id}","starred_url":"https://api.github.com/users/LexicForLXD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LexicForLXD/subscriptions","organizations_url":"https://api.github.com/users/LexicForLXD/orgs","repos_url":"https://api.github.com/users/LexicForLXD/repos","events_url":"https://api.github.com/users/LexicForLXD/events{/privacy}","received_events_url":"https://api.github.com/users/LexicForLXD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LexicForLXD/Backend","description":"Central set of REST Api endpoints to manage multi LXD Host environments ","fork":false,"url":"https://api.github.com/repos/LexicForLXD/Backend","forks_url":"https://api.github.com/repos/LexicForLXD/Backend/forks","keys_url":"https://api.github.com/repos/LexicForLXD/Backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LexicForLXD/Backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LexicForLXD/Backend/teams","hooks_url":"https://api.github.com/repos/LexicForLXD/Backend/hooks","issue_events_url":"https://api.github.com/repos/LexicForLXD/Backend/issues/events{/number}","events_url":"https://api.github.com/repos/LexicForLXD/Backend/events","assignees_url":"https://api.github.com/repos/LexicForLXD/Backend/assignees{/user}","branches_url":"https://api.github.com/repos/LexicForLXD/Backend/branches{/branch}","tags_url":"https://api.github.com/repos/LexicForLXD/Backend/tags","blobs_url":"https://api.github.com/repos/LexicForLXD/Backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LexicForLXD/Backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LexicForLXD/Backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/LexicForLXD/Backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LexicForLXD/Backend/statuses/{sha}","languages_url":"https://api.github.com/repos/LexicForLXD/Backend/languages","stargazers_url":"https://api.github.com/repos/LexicForLXD/Backend/stargazers","contributors_url":"https://api.github.com/repos/LexicForLXD/Backend/contributors","subscribers_url":"https://api.github.com/repos/LexicForLXD/Backend/subscribers","subscription_url":"https://api.github.com/repos/LexicForLXD/Backend/subscription","commits_url":"https://api.github.com/repos/LexicForLXD/Backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/LexicForLXD/Backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/LexicForLXD/Backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/LexicForLXD/Backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/LexicForLXD/Backend/contents/{+path}","compare_url":"https://api.github.com/repos/LexicForLXD/Backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LexicForLXD/Backend/merges","archive_url":"https://api.github.com/repos/LexicForLXD/Backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LexicForLXD/Backend/downloads","issues_url":"https://api.github.com/repos/LexicForLXD/Backend/issues{/number}","pulls_url":"https://api.github.com/repos/LexicForLXD/Backend/pulls{/number}","milestones_url":"https://api.github.com/repos/LexicForLXD/Backend/milestones{/number}","notifications_url":"https://api.github.com/repos/LexicForLXD/Backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LexicForLXD/Backend/labels{/name}","releases_url":"https://api.github.com/repos/LexicForLXD/Backend/releases{/id}","deployments_url":"https://api.github.com/repos/LexicForLXD/Backend/deployments","created_at":"2018-02-07T14:41:04Z","updated_at":"2018-03-17T17:45:31Z","pushed_at":"2018-03-17T23:20:52Z","git_url":"git://github.com/LexicForLXD/Backend.git","ssh_url":"git@github.com:LexicForLXD/Backend.git","clone_url":"https://github.com/LexicForLXD/Backend.git","svn_url":"https://github.com/LexicForLXD/Backend","homepage":null,"size":5898,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"LexicForLXD:master","ref":"master","sha":"d690126682bfc1bfb44070419354915c17e83bd1","user":{"login":"LexicForLXD","id":36203725,"avatar_url":"https://avatars0.githubusercontent.com/u/36203725?v=4","gravatar_id":"","url":"https://api.github.com/users/LexicForLXD","html_url":"https://github.com/LexicForLXD","followers_url":"https://api.github.com/users/LexicForLXD/followers","following_url":"https://api.github.com/users/LexicForLXD/following{/other_user}","gists_url":"https://api.github.com/users/LexicForLXD/gists{/gist_id}","starred_url":"https://api.github.com/users/LexicForLXD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LexicForLXD/subscriptions","organizations_url":"https://api.github.com/users/LexicForLXD/orgs","repos_url":"https://api.github.com/users/LexicForLXD/repos","events_url":"https://api.github.com/users/LexicForLXD/events{/privacy}","received_events_url":"https://api.github.com/users/LexicForLXD/received_events","type":"Organization","site_admin":false},"repo":{"id":120627083,"name":"Backend","full_name":"LexicForLXD/Backend","owner":{"login":"LexicForLXD","id":36203725,"avatar_url":"https://avatars0.githubusercontent.com/u/36203725?v=4","gravatar_id":"","url":"https://api.github.com/users/LexicForLXD","html_url":"https://github.com/LexicForLXD","followers_url":"https://api.github.com/users/LexicForLXD/followers","following_url":"https://api.github.com/users/LexicForLXD/following{/other_user}","gists_url":"https://api.github.com/users/LexicForLXD/gists{/gist_id}","starred_url":"https://api.github.com/users/LexicForLXD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LexicForLXD/subscriptions","organizations_url":"https://api.github.com/users/LexicForLXD/orgs","repos_url":"https://api.github.com/users/LexicForLXD/repos","events_url":"https://api.github.com/users/LexicForLXD/events{/privacy}","received_events_url":"https://api.github.com/users/LexicForLXD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LexicForLXD/Backend","description":"Central set of REST Api endpoints to manage multi LXD Host environments ","fork":false,"url":"https://api.github.com/repos/LexicForLXD/Backend","forks_url":"https://api.github.com/repos/LexicForLXD/Backend/forks","keys_url":"https://api.github.com/repos/LexicForLXD/Backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LexicForLXD/Backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LexicForLXD/Backend/teams","hooks_url":"https://api.github.com/repos/LexicForLXD/Backend/hooks","issue_events_url":"https://api.github.com/repos/LexicForLXD/Backend/issues/events{/number}","events_url":"https://api.github.com/repos/LexicForLXD/Backend/events","assignees_url":"https://api.github.com/repos/LexicForLXD/Backend/assignees{/user}","branches_url":"https://api.github.com/repos/LexicForLXD/Backend/branches{/branch}","tags_url":"https://api.github.com/repos/LexicForLXD/Backend/tags","blobs_url":"https://api.github.com/repos/LexicForLXD/Backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LexicForLXD/Backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LexicForLXD/Backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/LexicForLXD/Backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LexicForLXD/Backend/statuses/{sha}","languages_url":"https://api.github.com/repos/LexicForLXD/Backend/languages","stargazers_url":"https://api.github.com/repos/LexicForLXD/Backend/stargazers","contributors_url":"https://api.github.com/repos/LexicForLXD/Backend/contributors","subscribers_url":"https://api.github.com/repos/LexicForLXD/Backend/subscribers","subscription_url":"https://api.github.com/repos/LexicForLXD/Backend/subscription","commits_url":"https://api.github.com/repos/LexicForLXD/Backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/LexicForLXD/Backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/LexicForLXD/Backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/LexicForLXD/Backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/LexicForLXD/Backend/contents/{+path}","compare_url":"https://api.github.com/repos/LexicForLXD/Backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LexicForLXD/Backend/merges","archive_url":"https://api.github.com/repos/LexicForLXD/Backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LexicForLXD/Backend/downloads","issues_url":"https://api.github.com/repos/LexicForLXD/Backend/issues{/number}","pulls_url":"https://api.github.com/repos/LexicForLXD/Backend/pulls{/number}","milestones_url":"https://api.github.com/repos/LexicForLXD/Backend/milestones{/number}","notifications_url":"https://api.github.com/repos/LexicForLXD/Backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LexicForLXD/Backend/labels{/name}","releases_url":"https://api.github.com/repos/LexicForLXD/Backend/releases{/id}","deployments_url":"https://api.github.com/repos/LexicForLXD/Backend/deployments","created_at":"2018-02-07T14:41:04Z","updated_at":"2018-03-17T17:45:31Z","pushed_at":"2018-03-17T23:20:52Z","git_url":"git://github.com/LexicForLXD/Backend.git","ssh_url":"git@github.com:LexicForLXD/Backend.git","clone_url":"https://github.com/LexicForLXD/Backend.git","svn_url":"https://github.com/LexicForLXD/Backend","homepage":null,"size":5898,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LexicForLXD/Backend/pulls/43"},"html":{"href":"https://github.com/LexicForLXD/Backend/pull/43"},"issue":{"href":"https://api.github.com/repos/LexicForLXD/Backend/issues/43"},"comments":{"href":"https://api.github.com/repos/LexicForLXD/Backend/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/LexicForLXD/Backend/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/LexicForLXD/Backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LexicForLXD/Backend/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/LexicForLXD/Backend/statuses/3a8090a50abe98d1035374ac39c87605ec5ffeb5"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ChibangLW"}}