{"id":15576,"date":"2021-10-23T12:40:39","date_gmt":"2021-10-23T11:40:39","guid":{"rendered":"https:\/\/johnjohnston.info\/blog\/?p=15576"},"modified":"2021-10-23T12:40:39","modified_gmt":"2021-10-23T11:40:39","slug":"post-kinds-the-rest-api","status":"publish","type":"post","link":"https:\/\/johnjohnston.info\/blog\/post-kinds-the-rest-api\/","title":{"rendered":"Post Kinds &#038; the Rest API"},"content":{"rendered":"<p><a class=\"u-in-reply-to\"  href=\"https:\/\/diggingthedigital.com\/17413-2\/\">Frank<\/a> &amp; <a class=\"u-in-reply-to\" href=\"https:\/\/collect.readwriterespond.com\/drummer-to-wordpress\/\/\" target=\"_blank\" rel=\"noopener\">Aaron<\/a> I did a little more digging. I could not see any kind info in the Rest API representation for a post. Then I saw:<\/p>\n<blockquote><p>Posting capability via custom REST API endpoint has been removed due improved Micropub support<\/p><\/blockquote>\n<p>from: <a href=\"https:\/\/github.com\/dshanske\/indieweb-post-kinds\">dshanske\/indieweb-post-kinds<\/a><\/p>\n<p>At the moment I&#8217;d be more than happy to post as a draft and set the kind myself. I suspect that I&#8217;d reply using the WordPress editor, like now, rather than Drummer anyway.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Frank &amp; Aaron I did a little more digging. I could not see any kind info in the Rest API representation for a post. Then I saw: Posting capability via custom REST API endpoint has been removed due improved Micropub support from: dshanske\/indieweb-post-kinds At the moment I&#8217;d be more than happy to post as a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"mf2_syndication":[],"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"webmentions_disabled_pings":false,"webmentions_disabled":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[817],"tags":[648,1402,1420,804,1421],"post_format":[],"class_list":{"0":"post-15576","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-reactions","7":"tag-aaron-davis","8":"tag-drummer","9":"tag-frank-meeuwsen","10":"tag-post-kinds","11":"tag-rest-api","12":"kind-reply","14":"h-entry","15":"hentry","16":"post-kind"},"better_featured_image":null,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p57zFQ-43e","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"kind":false,"_links":{"self":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/15576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/comments?post=15576"}],"version-history":[{"count":2,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/15576\/revisions"}],"predecessor-version":[{"id":15578,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/15576\/revisions\/15578"}],"wp:attachment":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/media?parent=15576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/categories?post=15576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/tags?post=15576"},{"taxonomy":"post_format","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/post_format?post=15576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}