{"action":"closed","number":329,"pull_request":{"url":"https://api.github.com/repos/jekyll/jekyll-admin/pulls/329","id":111461479,"html_url":"https://github.com/jekyll/jekyll-admin/pull/329","diff_url":"https://github.com/jekyll/jekyll-admin/pull/329.diff","patch_url":"https://github.com/jekyll/jekyll-admin/pull/329.patch","issue_url":"https://api.github.com/repos/jekyll/jekyll-admin/issues/329","number":329,"state":"closed","locked":false,"title":"API for Dashboard","user":{"login":"ashmaroli","id":12479464,"avatar_url":"https://avatars3.githubusercontent.com/u/12479464?v=3","gravatar_id":"","url":"https://api.github.com/users/ashmaroli","html_url":"https://github.com/ashmaroli","followers_url":"https://api.github.com/users/ashmaroli/followers","following_url":"https://api.github.com/users/ashmaroli/following{/other_user}","gists_url":"https://api.github.com/users/ashmaroli/gists{/gist_id}","starred_url":"https://api.github.com/users/ashmaroli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashmaroli/subscriptions","organizations_url":"https://api.github.com/users/ashmaroli/orgs","repos_url":"https://api.github.com/users/ashmaroli/repos","events_url":"https://api.github.com/users/ashmaroli/events{/privacy}","received_events_url":"https://api.github.com/users/ashmaroli/received_events","type":"User","site_admin":false},"body":"Proposing an API for the dashboard.\r\nThe API outputs a modified version the current site's site-wide payload:\r\n\r\n  - remove file contents from data files, posts, pages, collections.\r\n  - sort the pages by recent edits\r\n\r\n```json\r\n{\r\n  \"content\": null,\r\n  \"jekyll\": {\r\n    \"version\": \"3.4.2\",\r\n    \"environment\": \"development\"\r\n  },\r\n  \"highlighter_prefix\": null,\r\n  \"highlighter_suffix\": null,\r\n  \"site\": {\r\n    \"time\": \"2017-03-19 14:18:53 -0400\",\r\n    \"tags\": {},\r\n    \"pages\": [\r\n      \"page.md\",\r\n      \"page-dir/test/page2.md\",\r\n      \"page-dir/page1.md\",\r\n      \"assets/style.scss\",\r\n      \"assets/app.coffee\"\r\n    ],\r\n    \"posts\": [\r\n      \"2016-01-01-test-post.md\",\r\n      \"test/2016-01-02-test2.md\",\r\n      \"2016-02-01-test-post-2.md\",\r\n      \"2016-03-01-test-post-3.md\",\r\n      \"more posts/2016-04-01-post-within-subdirectory.md\",\r\n      \"more posts/some more posts/2016-05-01-a-test-post-within-subdirectory.md\",\r\n      \"more posts/some more posts/2016-05-02-another-test-post-within-subdirectory.md\"\r\n    ],\r\n    \"static_files\": [\r\n      \"#<Jekyll::StaticFile:0x3cf4860>\",\r\n      \"#<Jekyll::StaticFile:0x3cf47d0>\",\r\n      \"#<Jekyll::StaticFile:0x3cf46e0>\",\r\n      \"#<Jekyll::StaticFile:0x3cf4638>\"\r\n    ],\r\n    \"categories\": {},\r\n    \"collections\": [\r\n      \"posts\",\r\n      \"puppies\"\r\n    ],\r\n    \"html_pages\": [\r\n      \"page.md\",\r\n      \"page1.md\",\r\n      \"page2.md\"\r\n    ],\r\n    \"source\": \"[--redacted--]/spec/fixtures/site\",\r\n    \"destination\": \"[--redacted--]/spec/fixtures/site/_site\",\r\n    \"plugins_dir\": \"_plugins\",\r\n    \"layouts_dir\": \"_layouts\",\r\n    \"data_dir\": \"_data\",\r\n    \"includes_dir\": \"_includes\",\r\n    \"safe\": false,\r\n    \"include\": [\r\n      \".htaccess\"\r\n    ],\r\n    \"exclude\": [\r\n      \"Gemfile\",\r\n      \"Gemfile.lock\",\r\n      \"README.md\"\r\n    ],\r\n    \"keep_files\": [\r\n      \".git\",\r\n      \".svn\"\r\n    ],\r\n    \"encoding\": \"utf-8\",\r\n    \"markdown_ext\": \"markdown,mkdown,mkdn,mkd,md\",\r\n    \"show_drafts\": null,\r\n    \"limit_posts\": 0,\r\n    \"future\": false,\r\n    \"unpublished\": false,\r\n    \"whitelist\": [],\r\n    \"gems\": [\r\n      \"jekyll-admin\"\r\n    ],\r\n    \"markdown\": \"kramdown\",\r\n    \"highlighter\": \"rouge\",\r\n    \"lsi\": false,\r\n    \"excerpt_separator\": \"\\n\\n\",\r\n    \"incremental\": false,\r\n    \"detach\": false,\r\n    \"port\": \"4000\",\r\n    \"host\": \"127.0.0.1\",\r\n    \"baseurl\": \"\",\r\n    \"show_dir_listing\": false,\r\n    \"permalink\": \"date\",\r\n    \"paginate_path\": \"/page:num\",\r\n    \"timezone\": null,\r\n    \"quiet\": false,\r\n    \"verbose\": true,\r\n    \"defaults\": [\r\n      {\r\n        \"scope\": {\r\n          \"path\": \"\"\r\n        },\r\n        \"values\": {\r\n          \"some_front_matter\": \"default\"\r\n        }\r\n      }\r\n    ],\r\n    \"liquid\": {\r\n      \"error_mode\": \"warn\"\r\n    },\r\n    \"rdiscount\": {\r\n      \"extensions\": []\r\n    },\r\n    \"redcarpet\": {\r\n      \"extensions\": []\r\n    },\r\n    \"kramdown\": {\r\n      \"auto_ids\": true,\r\n      \"toc_levels\": \"1..6\",\r\n      \"entity_output\": \"as_char\",\r\n      \"smart_quotes\": \"lsquo,rsquo,ldquo,rdquo\",\r\n      \"input\": \"GFM\",\r\n      \"hard_wrap\": false,\r\n      \"footnote_nr\": 1,\r\n      \"syntax_highlighter\": \"rouge\",\r\n      \"syntax_highlighter_opts\": {},\r\n      \"coderay\": {}\r\n    },\r\n    \"title\": \"Your awesome title\",\r\n    \"foo\": \"bar\",\r\n    \"watch\": true,\r\n    \"serving\": true,\r\n    \"url\": \"http://localhost:4000\",\r\n    \"related_posts\": null,\r\n    \"data_files\": [\r\n      \"data_file.yml\",\r\n      \"template-config.yml\"\r\n    ]\r\n  },\r\n  \"layout\": null,\r\n  \"page\": null,\r\n  \"paginator\": null\r\n}\r\n```","created_at":"2017-03-19T18:25:48Z","updated_at":"2017-04-10T17:21:27Z","closed_at":"2017-04-10T17:21:27Z","merged_at":null,"merge_commit_sha":"0849c4235f3799396d9fa03361a30cef06b331ea","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jekyll/jekyll-admin/pulls/329/commits","review_comments_url":"https://api.github.com/repos/jekyll/jekyll-admin/pulls/329/comments","review_comment_url":"https://api.github.com/repos/jekyll/jekyll-admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jekyll/jekyll-admin/issues/329/comments","statuses_url":"https://api.github.com/repos/jekyll/jekyll-admin/statuses/99f5cbbd59874d6e65e7aef2c356c74fdcd1c3c9","head":{"label":"ashmaroli:dashboard-api","ref":"dashboard-api","sha":"99f5cbbd59874d6e65e7aef2c356c74fdcd1c3c9","user":{"login":"ashmaroli","id":12479464,"avatar_url":"https://avatars3.githubusercontent.com/u/12479464?v=3","gravatar_id":"","url":"https://api.github.com/users/ashmaroli","html_url":"https://github.com/ashmaroli","followers_url":"https://api.github.com/users/ashmaroli/followers","following_url":"https://api.github.com/users/ashmaroli/following{/other_user}","gists_url":"https://api.github.com/users/ashmaroli/gists{/gist_id}","starred_url":"https://api.github.com/users/ashmaroli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashmaroli/subscriptions","organizations_url":"https://api.github.com/users/ashmaroli/orgs","repos_url":"https://api.github.com/users/ashmaroli/repos","events_url":"https://api.github.com/users/ashmaroli/events{/privacy}","received_events_url":"https://api.github.com/users/ashmaroli/received_events","type":"User","site_admin":false},"repo":{"id":66535635,"name":"jekyll-admin","full_name":"ashmaroli/jekyll-admin","owner":{"login":"ashmaroli","id":12479464,"avatar_url":"https://avatars3.githubusercontent.com/u/12479464?v=3","gravatar_id":"","url":"https://api.github.com/users/ashmaroli","html_url":"https://github.com/ashmaroli","followers_url":"https://api.github.com/users/ashmaroli/followers","following_url":"https://api.github.com/users/ashmaroli/following{/other_user}","gists_url":"https://api.github.com/users/ashmaroli/gists{/gist_id}","starred_url":"https://api.github.com/users/ashmaroli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashmaroli/subscriptions","organizations_url":"https://api.github.com/users/ashmaroli/orgs","repos_url":"https://api.github.com/users/ashmaroli/repos","events_url":"https://api.github.com/users/ashmaroli/events{/privacy}","received_events_url":"https://api.github.com/users/ashmaroli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ashmaroli/jekyll-admin","description":"A Jekyll plugin that provides users with a traditional CMS-style graphical interface to author content and administer Jekyll sites. ","fork":true,"url":"https://api.github.com/repos/ashmaroli/jekyll-admin","forks_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/forks","keys_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/teams","hooks_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/hooks","issue_events_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/issues/events{/number}","events_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/events","assignees_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/assignees{/user}","branches_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/branches{/branch}","tags_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/tags","blobs_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/languages","stargazers_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/stargazers","contributors_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/contributors","subscribers_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/subscribers","subscription_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/subscription","commits_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/contents/{+path}","compare_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/merges","archive_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/downloads","issues_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/issues{/number}","pulls_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/labels{/name}","releases_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/releases{/id}","deployments_url":"https://api.github.com/repos/ashmaroli/jekyll-admin/deployments","created_at":"2016-08-25T07:30:56Z","updated_at":"2016-08-25T07:30:57Z","pushed_at":"2017-04-08T03:13:59Z","git_url":"git://github.com/ashmaroli/jekyll-admin.git","ssh_url":"git@github.com:ashmaroli/jekyll-admin.git","clone_url":"https://github.com/ashmaroli/jekyll-admin.git","svn_url":"https://github.com/ashmaroli/jekyll-admin","homepage":"https://jekyll.github.io/jekyll-admin/","size":7885,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"jekyll:master","ref":"master","sha":"66ee9679364ab28c6efa765dd870a76392972564","user":{"login":"jekyll","id":3083652,"avatar_url":"https://avatars3.githubusercontent.com/u/3083652?v=3","gravatar_id":"","url":"https://api.github.com/users/jekyll","html_url":"https://github.com/jekyll","followers_url":"https://api.github.com/users/jekyll/followers","following_url":"https://api.github.com/users/jekyll/following{/other_user}","gists_url":"https://api.github.com/users/jekyll/gists{/gist_id}","starred_url":"https://api.github.com/users/jekyll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekyll/subscriptions","organizations_url":"https://api.github.com/users/jekyll/orgs","repos_url":"https://api.github.com/users/jekyll/repos","events_url":"https://api.github.com/users/jekyll/events{/privacy}","received_events_url":"https://api.github.com/users/jekyll/received_events","type":"Organization","site_admin":false},"repo":{"id":59227528,"name":"jekyll-admin","full_name":"jekyll/jekyll-admin","owner":{"login":"jekyll","id":3083652,"avatar_url":"https://avatars3.githubusercontent.com/u/3083652?v=3","gravatar_id":"","url":"https://api.github.com/users/jekyll","html_url":"https://github.com/jekyll","followers_url":"https://api.github.com/users/jekyll/followers","following_url":"https://api.github.com/users/jekyll/following{/other_user}","gists_url":"https://api.github.com/users/jekyll/gists{/gist_id}","starred_url":"https://api.github.com/users/jekyll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekyll/subscriptions","organizations_url":"https://api.github.com/users/jekyll/orgs","repos_url":"https://api.github.com/users/jekyll/repos","events_url":"https://api.github.com/users/jekyll/events{/privacy}","received_events_url":"https://api.github.com/users/jekyll/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jekyll/jekyll-admin","description":"A Jekyll plugin that provides users with a traditional CMS-style graphical interface to author content and administer Jekyll sites. ","fork":false,"url":"https://api.github.com/repos/jekyll/jekyll-admin","forks_url":"https://api.github.com/repos/jekyll/jekyll-admin/forks","keys_url":"https://api.github.com/repos/jekyll/jekyll-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jekyll/jekyll-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jekyll/jekyll-admin/teams","hooks_url":"https://api.github.com/repos/jekyll/jekyll-admin/hooks","issue_events_url":"https://api.github.com/repos/jekyll/jekyll-admin/issues/events{/number}","events_url":"https://api.github.com/repos/jekyll/jekyll-admin/events","assignees_url":"https://api.github.com/repos/jekyll/jekyll-admin/assignees{/user}","branches_url":"https://api.github.com/repos/jekyll/jekyll-admin/branches{/branch}","tags_url":"https://api.github.com/repos/jekyll/jekyll-admin/tags","blobs_url":"https://api.github.com/repos/jekyll/jekyll-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jekyll/jekyll-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jekyll/jekyll-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jekyll/jekyll-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jekyll/jekyll-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/jekyll/jekyll-admin/languages","stargazers_url":"https://api.github.com/repos/jekyll/jekyll-admin/stargazers","contributors_url":"https://api.github.com/repos/jekyll/jekyll-admin/contributors","subscribers_url":"https://api.github.com/repos/jekyll/jekyll-admin/subscribers","subscription_url":"https://api.github.com/repos/jekyll/jekyll-admin/subscription","commits_url":"https://api.github.com/repos/jekyll/jekyll-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jekyll/jekyll-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jekyll/jekyll-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jekyll/jekyll-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jekyll/jekyll-admin/contents/{+path}","compare_url":"https://api.github.com/repos/jekyll/jekyll-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jekyll/jekyll-admin/merges","archive_url":"https://api.github.com/repos/jekyll/jekyll-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jekyll/jekyll-admin/downloads","issues_url":"https://api.github.com/repos/jekyll/jekyll-admin/issues{/number}","pulls_url":"https://api.github.com/repos/jekyll/jekyll-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/jekyll/jekyll-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/jekyll/jekyll-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jekyll/jekyll-admin/labels{/name}","releases_url":"https://api.github.com/repos/jekyll/jekyll-admin/releases{/id}","deployments_url":"https://api.github.com/repos/jekyll/jekyll-admin/deployments","created_at":"2016-05-19T17:23:27Z","updated_at":"2017-04-09T21:23:03Z","pushed_at":"2017-04-10T09:46:16Z","git_url":"git://github.com/jekyll/jekyll-admin.git","ssh_url":"git@github.com:jekyll/jekyll-admin.git","clone_url":"https://github.com/jekyll/jekyll-admin.git","svn_url":"https://github.com/jekyll/jekyll-admin","homepage":"https://jekyll.github.io/jekyll-admin/","size":5025,"stargazers_count":1067,"watchers_count":1067,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":84,"mirror_url":null,"open_issues_count":31,"forks":84,"open_issues":31,"watchers":1067,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jekyll/jekyll-admin/pulls/329"},"html":{"href":"https://github.com/jekyll/jekyll-admin/pull/329"},"issue":{"href":"https://api.github.com/repos/jekyll/jekyll-admin/issues/329"},"comments":{"href":"https://api.github.com/repos/jekyll/jekyll-admin/issues/329/comments"},"review_comments":{"href":"https://api.github.com/repos/jekyll/jekyll-admin/pulls/329/comments"},"review_comment":{"href":"https://api.github.com/repos/jekyll/jekyll-admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jekyll/jekyll-admin/pulls/329/commits"},"statuses":{"href":"https://api.github.com/repos/jekyll/jekyll-admin/statuses/99f5cbbd59874d6e65e7aef2c356c74fdcd1c3c9"}},"merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":12,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":81,"deletions":1,"changed_files":4}}
{"actor":{"display_login":"ashmaroli"}}