{"id":38493,"date":"2020-02-17T11:31:21","date_gmt":"2020-02-17T18:31:21","guid":{"rendered":"http:\/\/devblogs.microsoft.com\/premier-developer\/?p=38493"},"modified":"2020-02-20T10:46:47","modified_gmt":"2020-02-20T17:46:47","slug":"get-webpart-information-using-rest","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/premier-developer\/get-webpart-information-using-rest\/","title":{"rendered":"Get WebPart Information using REST"},"content":{"rendered":"<p>Premier Field Engineer <a href=\"https:\/\/www.linkedin.com\/in\/gunjandatta\/\" target=\"_blank\" rel=\"noopener noreferrer\">Gunjan Datta<\/a> demonstrates how to retrieve WebPart information for a SharePoint page using the REST API.<\/p>\n<hr \/>\n<p>This post will give an example of getting WebPart information for a page, using the REST API. The <a href=\"https:\/\/github.com\/gunjandatta\/sprest\">gd-sprest<\/a> library will be used for this example.<\/p>\n<p><a class=\"x-hidden-focus\" href=\"https:\/\/dattabase.com\/blog\/get-webparts-using-rest\" target=\"_blank\" rel=\"noopener noreferrer\">Explore the REST sample on Gunjan\u2019s blog.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post will give an example of getting WebPart information for a page, using the REST API. The gd-sprest library will be used for this example.<\/p>\n","protected":false},"author":582,"featured_media":38494,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[8745],"tags":[324,335,3,8911],"class_list":["post-38493","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sharepoint","tag-rest","tag-sharepoint","tag-team","tag-webpart"],"acf":[],"blog_post_summary":"<p>This post will give an example of getting WebPart information for a page, using the REST API. The gd-sprest library will be used for this example.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/38493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/users\/582"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/comments?post=38493"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/38493\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media\/38494"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media?parent=38493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/categories?post=38493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/tags?post=38493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}