File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -817,6 +817,26 @@ public function getBulkRequest($methods = [], $optional = [])
817
817
return $ this ->_request ('API.getBulkRequest ' , $ urls , $ optional );
818
818
}
819
819
820
+ /**
821
+ * Get a list of available widgets.
822
+ *
823
+ * @return array
824
+ */
825
+ public function getWidgetMetadata ()
826
+ {
827
+ return $ this ->_request ('API.getWidgetMetadata ' );
828
+ }
829
+
830
+ /**
831
+ * Get a list of all available pages that exist including the widgets they include.
832
+ *
833
+ * @return array
834
+ */
835
+ public function getReportPagesMetadata ()
836
+ {
837
+ return $ this ->_request ('API.getReportPagesMetadata ' );
838
+ }
839
+
820
840
/**
821
841
* Get suggested values for segments
822
842
*
@@ -3679,6 +3699,16 @@ public function getSitesIdFromSiteUrl($url, $optional = [])
3679
3699
], $ optional );
3680
3700
}
3681
3701
3702
+ /**
3703
+ * Get a list of all available settings for a specific site.
3704
+ *
3705
+ * @return array
3706
+ */
3707
+ public function getSitesIdFromSiteUrl ()
3708
+ {
3709
+ return $ this ->_request ('SitesManager.getSiteSettings ' );
3710
+ }
3711
+
3682
3712
/**
3683
3713
* Add a website.
3684
3714
* Requires Super User access.
You can’t perform that action at this time.
0 commit comments