{"id":17780118,"date":"2024-05-25T06:27:41","date_gmt":"2024-05-25T06:27:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/query-patterns\/"},"modified":"2024-05-25T06:27:41","modified_gmt":"2024-05-25T06:27:41","slug":"query-patterns","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/query-patterns\/","title":{"rendered":"Query patterns"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi WP GraphQL. I was wondering if it&#8217;s possible to query for custom patterns created in the backend of WordPress. What I mean by this is I made a block on my homepage, then used &#8220;Create Pattern&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The pattern I&#8217;m trying to get ahold of contains the following information in the URL:<br \/>postType=wp_block<br \/>postId=81<br \/>categoryId=my-patterns<br \/>categoryType=pattern<\/p>\n","protected":false},"template":"","class_list":["post-17780118","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17780118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17780118\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17780118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}