{"action":"created","issue":{"url":"https://api.github.com/repos/indieweb/micropub-extensions/issues/4","repository_url":"https://api.github.com/repos/indieweb/micropub-extensions","labels_url":"https://api.github.com/repos/indieweb/micropub-extensions/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/indieweb/micropub-extensions/issues/4/comments","events_url":"https://api.github.com/repos/indieweb/micropub-extensions/issues/4/events","html_url":"https://github.com/indieweb/micropub-extensions/issues/4","id":349254130,"node_id":"MDU6SXNzdWUzNDkyNTQxMzA=","number":4,"title":"Query for Post List","user":{"login":"EdwardHinkle","id":786014,"node_id":"MDQ6VXNlcjc4NjAxNA==","avatar_url":"https://avatars0.githubusercontent.com/u/786014?v=4","gravatar_id":"","url":"https://api.github.com/users/EdwardHinkle","html_url":"https://github.com/EdwardHinkle","followers_url":"https://api.github.com/users/EdwardHinkle/followers","following_url":"https://api.github.com/users/EdwardHinkle/following{/other_user}","gists_url":"https://api.github.com/users/EdwardHinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/EdwardHinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EdwardHinkle/subscriptions","organizations_url":"https://api.github.com/users/EdwardHinkle/orgs","repos_url":"https://api.github.com/users/EdwardHinkle/repos","events_url":"https://api.github.com/users/EdwardHinkle/events{/privacy}","received_events_url":"https://api.github.com/users/EdwardHinkle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-08-09T19:11:56Z","updated_at":"2018-10-15T10:06:20Z","closed_at":null,"author_association":"NONE","body":"Discussion for adding a way to query a list of posts from the Micropub endpoint (https://indieweb.org/Micropub-extensions#Query_for_Post_List)\r\n\r\nBelow are some thoughts from the brainstorming page.\r\n\r\n## Use Cases\r\n\r\n* [[headless_CMS|headless cms]] / Separation of data storage and data display\r\n* Private note taking / journaling\r\n* Find and update existing posts eg. change a \"want to read\" to \"read\" after complete\r\n* Full content management UIs\r\n* Find and edit draft / hidden posts\r\n* Synchronizing various documents eg. bookmarks\r\n* Discover if a user has liked / replied to a specific page\r\n\r\n## Query Parameters\r\n\r\nIn order to achieve the above use cases there would need to be a robust query system in place. It would need to be able to query for:\r\n\r\n* url (this filters and returns the single post with that url. This is how q=source currently functions)\r\n* posts based on post type (similar to https://github.com/indieweb/micropub-extensions/issues/1)\r\n* pages of posts with defined limits\r\n* posts with specific properties\r\n* posts with combinations of properties\r\n* posts without certain properties\r\n* posts with properties that match a certain value (eg, all posts that have `in-reply-to` == 'example.com')\r\n\r\n## Other Considerations\r\n\r\n* Any returned item in a list would need to include a url property so that micropub clients could use the url for update and delete requests etc.\r\n* Would require one or more scopes"},"comment":{"url":"https://api.github.com/repos/indieweb/micropub-extensions/issues/comments/429785771","html_url":"https://github.com/indieweb/micropub-extensions/issues/4#issuecomment-429785771","issue_url":"https://api.github.com/repos/indieweb/micropub-extensions/issues/4","id":429785771,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTc4NTc3MQ==","user":{"login":"EdwardHinkle","id":786014,"node_id":"MDQ6VXNlcjc4NjAxNA==","avatar_url":"https://avatars0.githubusercontent.com/u/786014?v=4","gravatar_id":"","url":"https://api.github.com/users/EdwardHinkle","html_url":"https://github.com/EdwardHinkle","followers_url":"https://api.github.com/users/EdwardHinkle/followers","following_url":"https://api.github.com/users/EdwardHinkle/following{/other_user}","gists_url":"https://api.github.com/users/EdwardHinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/EdwardHinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EdwardHinkle/subscriptions","organizations_url":"https://api.github.com/users/EdwardHinkle/orgs","repos_url":"https://api.github.com/users/EdwardHinkle/repos","events_url":"https://api.github.com/users/EdwardHinkle/events{/privacy}","received_events_url":"https://api.github.com/users/EdwardHinkle/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T10:06:20Z","updated_at":"2018-10-15T10:06:20Z","author_association":"NONE","body":"Hmmm interesting @swentel. I can’t tell how I feel about that. Good or bad lol. A part of me thinks it’s good and the other part cringes a little.\n\n@aaronpk With your API experience what do you think about the properties as far as being defined or flexible like @swentel suggested?"}}
{"actor":{"display_login":"EdwardHinkle"}}