Changeset 46190
- Timestamp:
- 09/19/2019 03:46:02 PM (5 years ago)
- Location:
- trunk/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/functions.php
r46189 r46190 294 294 remove_action( 'init', 'register_block_core_search' ); 295 295 remove_action( 'init', 'register_block_core_shortcode' ); 296 remove_action( 'init', 'register_block_core_social_link' ); 296 297 remove_action( 'init', 'register_block_core_tag_cloud' ); 297 298 } -
trunk/tests/phpunit/tests/rest-api/rest-schema-setup.php
r46189 r46190 129 129 '/wp/v2/block-renderer/(?P<name>core/search)', 130 130 '/wp/v2/block-renderer/(?P<name>core/shortcode)', 131 '/wp/v2/block-renderer/(?P<name>core/social-link-amazon)', 132 '/wp/v2/block-renderer/(?P<name>core/social-link-bandcamp)', 133 '/wp/v2/block-renderer/(?P<name>core/social-link-behance)', 134 '/wp/v2/block-renderer/(?P<name>core/social-link-chain)', 135 '/wp/v2/block-renderer/(?P<name>core/social-link-codepen)', 136 '/wp/v2/block-renderer/(?P<name>core/social-link-deviantart)', 137 '/wp/v2/block-renderer/(?P<name>core/social-link-dribbble)', 138 '/wp/v2/block-renderer/(?P<name>core/social-link-dropbox)', 139 '/wp/v2/block-renderer/(?P<name>core/social-link-etsy)', 140 '/wp/v2/block-renderer/(?P<name>core/social-link-facebook)', 141 '/wp/v2/block-renderer/(?P<name>core/social-link-feed)', 142 '/wp/v2/block-renderer/(?P<name>core/social-link-fivehundredpx)', 143 '/wp/v2/block-renderer/(?P<name>core/social-link-flickr)', 144 '/wp/v2/block-renderer/(?P<name>core/social-link-foursquare)', 145 '/wp/v2/block-renderer/(?P<name>core/social-link-goodreads)', 146 '/wp/v2/block-renderer/(?P<name>core/social-link-google)', 147 '/wp/v2/block-renderer/(?P<name>core/social-link-github)', 148 '/wp/v2/block-renderer/(?P<name>core/social-link-instagram)', 149 '/wp/v2/block-renderer/(?P<name>core/social-link-lastfm)', 150 '/wp/v2/block-renderer/(?P<name>core/social-link-linkedin)', 151 '/wp/v2/block-renderer/(?P<name>core/social-link-mail)', 152 '/wp/v2/block-renderer/(?P<name>core/social-link-mastodon)', 153 '/wp/v2/block-renderer/(?P<name>core/social-link-meetup)', 154 '/wp/v2/block-renderer/(?P<name>core/social-link-medium)', 155 '/wp/v2/block-renderer/(?P<name>core/social-link-pinterest)', 156 '/wp/v2/block-renderer/(?P<name>core/social-link-pocket)', 157 '/wp/v2/block-renderer/(?P<name>core/social-link-reddit)', 158 '/wp/v2/block-renderer/(?P<name>core/social-link-skype)', 159 '/wp/v2/block-renderer/(?P<name>core/social-link-snapchat)', 160 '/wp/v2/block-renderer/(?P<name>core/social-link-soundcloud)', 161 '/wp/v2/block-renderer/(?P<name>core/social-link-spotify)', 162 '/wp/v2/block-renderer/(?P<name>core/social-link-tumblr)', 163 '/wp/v2/block-renderer/(?P<name>core/social-link-twitch)', 164 '/wp/v2/block-renderer/(?P<name>core/social-link-twitter)', 165 '/wp/v2/block-renderer/(?P<name>core/social-link-vimeo)', 166 '/wp/v2/block-renderer/(?P<name>core/social-link-vk)', 167 '/wp/v2/block-renderer/(?P<name>core/social-link-wordpress)', 168 '/wp/v2/block-renderer/(?P<name>core/social-link-yelp)', 169 '/wp/v2/block-renderer/(?P<name>core/social-link-youtube)', 131 170 '/wp/v2/block-renderer/(?P<name>core/tag-cloud)', 132 171 '/wp/v2/settings', -
trunk/tests/qunit/fixtures/wp-api-generated.js
r46189 r46190 4640 4640 "default": [], 4641 4641 "description": "Attributes for core/shortcode block", 4642 "type": "object" 4643 }, 4644 "post_id": { 4645 "required": false, 4646 "description": "ID of the post context.", 4647 "type": "integer" 4648 } 4649 } 4650 } 4651 ] 4652 }, 4653 "/wp/v2/block-renderer/(?P<name>core/social-link-amazon)": { 4654 "namespace": "wp/v2", 4655 "methods": [ 4656 "GET" 4657 ], 4658 "endpoints": [ 4659 { 4660 "methods": [ 4661 "GET" 4662 ], 4663 "args": { 4664 "name": { 4665 "required": false, 4666 "description": "Unique registered name for the block.", 4667 "type": "string" 4668 }, 4669 "context": { 4670 "required": false, 4671 "default": "view", 4672 "enum": [ 4673 "edit" 4674 ], 4675 "description": "Scope under which the request is made; determines fields present in response.", 4676 "type": "string" 4677 }, 4678 "attributes": { 4679 "required": false, 4680 "default": [], 4681 "description": "Attributes for core/social-link-amazon block", 4682 "type": "object" 4683 }, 4684 "post_id": { 4685 "required": false, 4686 "description": "ID of the post context.", 4687 "type": "integer" 4688 } 4689 } 4690 } 4691 ] 4692 }, 4693 "/wp/v2/block-renderer/(?P<name>core/social-link-bandcamp)": { 4694 "namespace": "wp/v2", 4695 "methods": [ 4696 "GET" 4697 ], 4698 "endpoints": [ 4699 { 4700 "methods": [ 4701 "GET" 4702 ], 4703 "args": { 4704 "name": { 4705 "required": false, 4706 "description": "Unique registered name for the block.", 4707 "type": "string" 4708 }, 4709 "context": { 4710 "required": false, 4711 "default": "view", 4712 "enum": [ 4713 "edit" 4714 ], 4715 "description": "Scope under which the request is made; determines fields present in response.", 4716 "type": "string" 4717 }, 4718 "attributes": { 4719 "required": false, 4720 "default": [], 4721 "description": "Attributes for core/social-link-bandcamp block", 4722 "type": "object" 4723 }, 4724 "post_id": { 4725 "required": false, 4726 "description": "ID of the post context.", 4727 "type": "integer" 4728 } 4729 } 4730 } 4731 ] 4732 }, 4733 "/wp/v2/block-renderer/(?P<name>core/social-link-behance)": { 4734 "namespace": "wp/v2", 4735 "methods": [ 4736 "GET" 4737 ], 4738 "endpoints": [ 4739 { 4740 "methods": [ 4741 "GET" 4742 ], 4743 "args": { 4744 "name": { 4745 "required": false, 4746 "description": "Unique registered name for the block.", 4747 "type": "string" 4748 }, 4749 "context": { 4750 "required": false, 4751 "default": "view", 4752 "enum": [ 4753 "edit" 4754 ], 4755 "description": "Scope under which the request is made; determines fields present in response.", 4756 "type": "string" 4757 }, 4758 "attributes": { 4759 "required": false, 4760 "default": [], 4761 "description": "Attributes for core/social-link-behance block", 4762 "type": "object" 4763 }, 4764 "post_id": { 4765 "required": false, 4766 "description": "ID of the post context.", 4767 "type": "integer" 4768 } 4769 } 4770 } 4771 ] 4772 }, 4773 "/wp/v2/block-renderer/(?P<name>core/social-link-chain)": { 4774 "namespace": "wp/v2", 4775 "methods": [ 4776 "GET" 4777 ], 4778 "endpoints": [ 4779 { 4780 "methods": [ 4781 "GET" 4782 ], 4783 "args": { 4784 "name": { 4785 "required": false, 4786 "description": "Unique registered name for the block.", 4787 "type": "string" 4788 }, 4789 "context": { 4790 "required": false, 4791 "default": "view", 4792 "enum": [ 4793 "edit" 4794 ], 4795 "description": "Scope under which the request is made; determines fields present in response.", 4796 "type": "string" 4797 }, 4798 "attributes": { 4799 "required": false, 4800 "default": [], 4801 "description": "Attributes for core/social-link-chain block", 4802 "type": "object" 4803 }, 4804 "post_id": { 4805 "required": false, 4806 "description": "ID of the post context.", 4807 "type": "integer" 4808 } 4809 } 4810 } 4811 ] 4812 }, 4813 "/wp/v2/block-renderer/(?P<name>core/social-link-codepen)": { 4814 "namespace": "wp/v2", 4815 "methods": [ 4816 "GET" 4817 ], 4818 "endpoints": [ 4819 { 4820 "methods": [ 4821 "GET" 4822 ], 4823 "args": { 4824 "name": { 4825 "required": false, 4826 "description": "Unique registered name for the block.", 4827 "type": "string" 4828 }, 4829 "context": { 4830 "required": false, 4831 "default": "view", 4832 "enum": [ 4833 "edit" 4834 ], 4835 "description": "Scope under which the request is made; determines fields present in response.", 4836 "type": "string" 4837 }, 4838 "attributes": { 4839 "required": false, 4840 "default": [], 4841 "description": "Attributes for core/social-link-codepen block", 4842 "type": "object" 4843 }, 4844 "post_id": { 4845 "required": false, 4846 "description": "ID of the post context.", 4847 "type": "integer" 4848 } 4849 } 4850 } 4851 ] 4852 }, 4853 "/wp/v2/block-renderer/(?P<name>core/social-link-deviantart)": { 4854 "namespace": "wp/v2", 4855 "methods": [ 4856 "GET" 4857 ], 4858 "endpoints": [ 4859 { 4860 "methods": [ 4861 "GET" 4862 ], 4863 "args": { 4864 "name": { 4865 "required": false, 4866 "description": "Unique registered name for the block.", 4867 "type": "string" 4868 }, 4869 "context": { 4870 "required": false, 4871 "default": "view", 4872 "enum": [ 4873 "edit" 4874 ], 4875 "description": "Scope under which the request is made; determines fields present in response.", 4876 "type": "string" 4877 }, 4878 "attributes": { 4879 "required": false, 4880 "default": [], 4881 "description": "Attributes for core/social-link-deviantart block", 4882 "type": "object" 4883 }, 4884 "post_id": { 4885 "required": false, 4886 "description": "ID of the post context.", 4887 "type": "integer" 4888 } 4889 } 4890 } 4891 ] 4892 }, 4893 "/wp/v2/block-renderer/(?P<name>core/social-link-dribbble)": { 4894 "namespace": "wp/v2", 4895 "methods": [ 4896 "GET" 4897 ], 4898 "endpoints": [ 4899 { 4900 "methods": [ 4901 "GET" 4902 ], 4903 "args": { 4904 "name": { 4905 "required": false, 4906 "description": "Unique registered name for the block.", 4907 "type": "string" 4908 }, 4909 "context": { 4910 "required": false, 4911 "default": "view", 4912 "enum": [ 4913 "edit" 4914 ], 4915 "description": "Scope under which the request is made; determines fields present in response.", 4916 "type": "string" 4917 }, 4918 "attributes": { 4919 "required": false, 4920 "default": [], 4921 "description": "Attributes for core/social-link-dribbble block", 4922 "type": "object" 4923 }, 4924 "post_id": { 4925 "required": false, 4926 "description": "ID of the post context.", 4927 "type": "integer" 4928 } 4929 } 4930 } 4931 ] 4932 }, 4933 "/wp/v2/block-renderer/(?P<name>core/social-link-dropbox)": { 4934 "namespace": "wp/v2", 4935 "methods": [ 4936 "GET" 4937 ], 4938 "endpoints": [ 4939 { 4940 "methods": [ 4941 "GET" 4942 ], 4943 "args": { 4944 "name": { 4945 "required": false, 4946 "description": "Unique registered name for the block.", 4947 "type": "string" 4948 }, 4949 "context": { 4950 "required": false, 4951 "default": "view", 4952 "enum": [ 4953 "edit" 4954 ], 4955 "description": "Scope under which the request is made; determines fields present in response.", 4956 "type": "string" 4957 }, 4958 "attributes": { 4959 "required": false, 4960 "default": [], 4961 "description": "Attributes for core/social-link-dropbox block", 4962 "type": "object" 4963 }, 4964 "post_id": { 4965 "required": false, 4966 "description": "ID of the post context.", 4967 "type": "integer" 4968 } 4969 } 4970 } 4971 ] 4972 }, 4973 "/wp/v2/block-renderer/(?P<name>core/social-link-etsy)": { 4974 "namespace": "wp/v2", 4975 "methods": [ 4976 "GET" 4977 ], 4978 "endpoints": [ 4979 { 4980 "methods": [ 4981 "GET" 4982 ], 4983 "args": { 4984 "name": { 4985 "required": false, 4986 "description": "Unique registered name for the block.", 4987 "type": "string" 4988 }, 4989 "context": { 4990 "required": false, 4991 "default": "view", 4992 "enum": [ 4993 "edit" 4994 ], 4995 "description": "Scope under which the request is made; determines fields present in response.", 4996 "type": "string" 4997 }, 4998 "attributes": { 4999 "required": false, 5000 "default": [], 5001 "description": "Attributes for core/social-link-etsy block", 5002 "type": "object" 5003 }, 5004 "post_id": { 5005 "required": false, 5006 "description": "ID of the post context.", 5007 "type": "integer" 5008 } 5009 } 5010 } 5011 ] 5012 }, 5013 "/wp/v2/block-renderer/(?P<name>core/social-link-facebook)": { 5014 "namespace": "wp/v2", 5015 "methods": [ 5016 "GET" 5017 ], 5018 "endpoints": [ 5019 { 5020 "methods": [ 5021 "GET" 5022 ], 5023 "args": { 5024 "name": { 5025 "required": false, 5026 "description": "Unique registered name for the block.", 5027 "type": "string" 5028 }, 5029 "context": { 5030 "required": false, 5031 "default": "view", 5032 "enum": [ 5033 "edit" 5034 ], 5035 "description": "Scope under which the request is made; determines fields present in response.", 5036 "type": "string" 5037 }, 5038 "attributes": { 5039 "required": false, 5040 "default": [], 5041 "description": "Attributes for core/social-link-facebook block", 5042 "type": "object" 5043 }, 5044 "post_id": { 5045 "required": false, 5046 "description": "ID of the post context.", 5047 "type": "integer" 5048 } 5049 } 5050 } 5051 ] 5052 }, 5053 "/wp/v2/block-renderer/(?P<name>core/social-link-feed)": { 5054 "namespace": "wp/v2", 5055 "methods": [ 5056 "GET" 5057 ], 5058 "endpoints": [ 5059 { 5060 "methods": [ 5061 "GET" 5062 ], 5063 "args": { 5064 "name": { 5065 "required": false, 5066 "description": "Unique registered name for the block.", 5067 "type": "string" 5068 }, 5069 "context": { 5070 "required": false, 5071 "default": "view", 5072 "enum": [ 5073 "edit" 5074 ], 5075 "description": "Scope under which the request is made; determines fields present in response.", 5076 "type": "string" 5077 }, 5078 "attributes": { 5079 "required": false, 5080 "default": [], 5081 "description": "Attributes for core/social-link-feed block", 5082 "type": "object" 5083 }, 5084 "post_id": { 5085 "required": false, 5086 "description": "ID of the post context.", 5087 "type": "integer" 5088 } 5089 } 5090 } 5091 ] 5092 }, 5093 "/wp/v2/block-renderer/(?P<name>core/social-link-fivehundredpx)": { 5094 "namespace": "wp/v2", 5095 "methods": [ 5096 "GET" 5097 ], 5098 "endpoints": [ 5099 { 5100 "methods": [ 5101 "GET" 5102 ], 5103 "args": { 5104 "name": { 5105 "required": false, 5106 "description": "Unique registered name for the block.", 5107 "type": "string" 5108 }, 5109 "context": { 5110 "required": false, 5111 "default": "view", 5112 "enum": [ 5113 "edit" 5114 ], 5115 "description": "Scope under which the request is made; determines fields present in response.", 5116 "type": "string" 5117 }, 5118 "attributes": { 5119 "required": false, 5120 "default": [], 5121 "description": "Attributes for core/social-link-fivehundredpx block", 5122 "type": "object" 5123 }, 5124 "post_id": { 5125 "required": false, 5126 "description": "ID of the post context.", 5127 "type": "integer" 5128 } 5129 } 5130 } 5131 ] 5132 }, 5133 "/wp/v2/block-renderer/(?P<name>core/social-link-flickr)": { 5134 "namespace": "wp/v2", 5135 "methods": [ 5136 "GET" 5137 ], 5138 "endpoints": [ 5139 { 5140 "methods": [ 5141 "GET" 5142 ], 5143 "args": { 5144 "name": { 5145 "required": false, 5146 "description": "Unique registered name for the block.", 5147 "type": "string" 5148 }, 5149 "context": { 5150 "required": false, 5151 "default": "view", 5152 "enum": [ 5153 "edit" 5154 ], 5155 "description": "Scope under which the request is made; determines fields present in response.", 5156 "type": "string" 5157 }, 5158 "attributes": { 5159 "required": false, 5160 "default": [], 5161 "description": "Attributes for core/social-link-flickr block", 5162 "type": "object" 5163 }, 5164 "post_id": { 5165 "required": false, 5166 "description": "ID of the post context.", 5167 "type": "integer" 5168 } 5169 } 5170 } 5171 ] 5172 }, 5173 "/wp/v2/block-renderer/(?P<name>core/social-link-foursquare)": { 5174 "namespace": "wp/v2", 5175 "methods": [ 5176 "GET" 5177 ], 5178 "endpoints": [ 5179 { 5180 "methods": [ 5181 "GET" 5182 ], 5183 "args": { 5184 "name": { 5185 "required": false, 5186 "description": "Unique registered name for the block.", 5187 "type": "string" 5188 }, 5189 "context": { 5190 "required": false, 5191 "default": "view", 5192 "enum": [ 5193 "edit" 5194 ], 5195 "description": "Scope under which the request is made; determines fields present in response.", 5196 "type": "string" 5197 }, 5198 "attributes": { 5199 "required": false, 5200 "default": [], 5201 "description": "Attributes for core/social-link-foursquare block", 5202 "type": "object" 5203 }, 5204 "post_id": { 5205 "required": false, 5206 "description": "ID of the post context.", 5207 "type": "integer" 5208 } 5209 } 5210 } 5211 ] 5212 }, 5213 "/wp/v2/block-renderer/(?P<name>core/social-link-goodreads)": { 5214 "namespace": "wp/v2", 5215 "methods": [ 5216 "GET" 5217 ], 5218 "endpoints": [ 5219 { 5220 "methods": [ 5221 "GET" 5222 ], 5223 "args": { 5224 "name": { 5225 "required": false, 5226 "description": "Unique registered name for the block.", 5227 "type": "string" 5228 }, 5229 "context": { 5230 "required": false, 5231 "default": "view", 5232 "enum": [ 5233 "edit" 5234 ], 5235 "description": "Scope under which the request is made; determines fields present in response.", 5236 "type": "string" 5237 }, 5238 "attributes": { 5239 "required": false, 5240 "default": [], 5241 "description": "Attributes for core/social-link-goodreads block", 5242 "type": "object" 5243 }, 5244 "post_id": { 5245 "required": false, 5246 "description": "ID of the post context.", 5247 "type": "integer" 5248 } 5249 } 5250 } 5251 ] 5252 }, 5253 "/wp/v2/block-renderer/(?P<name>core/social-link-google)": { 5254 "namespace": "wp/v2", 5255 "methods": [ 5256 "GET" 5257 ], 5258 "endpoints": [ 5259 { 5260 "methods": [ 5261 "GET" 5262 ], 5263 "args": { 5264 "name": { 5265 "required": false, 5266 "description": "Unique registered name for the block.", 5267 "type": "string" 5268 }, 5269 "context": { 5270 "required": false, 5271 "default": "view", 5272 "enum": [ 5273 "edit" 5274 ], 5275 "description": "Scope under which the request is made; determines fields present in response.", 5276 "type": "string" 5277 }, 5278 "attributes": { 5279 "required": false, 5280 "default": [], 5281 "description": "Attributes for core/social-link-google block", 5282 "type": "object" 5283 }, 5284 "post_id": { 5285 "required": false, 5286 "description": "ID of the post context.", 5287 "type": "integer" 5288 } 5289 } 5290 } 5291 ] 5292 }, 5293 "/wp/v2/block-renderer/(?P<name>core/social-link-github)": { 5294 "namespace": "wp/v2", 5295 "methods": [ 5296 "GET" 5297 ], 5298 "endpoints": [ 5299 { 5300 "methods": [ 5301 "GET" 5302 ], 5303 "args": { 5304 "name": { 5305 "required": false, 5306 "description": "Unique registered name for the block.", 5307 "type": "string" 5308 }, 5309 "context": { 5310 "required": false, 5311 "default": "view", 5312 "enum": [ 5313 "edit" 5314 ], 5315 "description": "Scope under which the request is made; determines fields present in response.", 5316 "type": "string" 5317 }, 5318 "attributes": { 5319 "required": false, 5320 "default": [], 5321 "description": "Attributes for core/social-link-github block", 5322 "type": "object" 5323 }, 5324 "post_id": { 5325 "required": false, 5326 "description": "ID of the post context.", 5327 "type": "integer" 5328 } 5329 } 5330 } 5331 ] 5332 }, 5333 "/wp/v2/block-renderer/(?P<name>core/social-link-instagram)": { 5334 "namespace": "wp/v2", 5335 "methods": [ 5336 "GET" 5337 ], 5338 "endpoints": [ 5339 { 5340 "methods": [ 5341 "GET" 5342 ], 5343 "args": { 5344 "name": { 5345 "required": false, 5346 "description": "Unique registered name for the block.", 5347 "type": "string" 5348 }, 5349 "context": { 5350 "required": false, 5351 "default": "view", 5352 "enum": [ 5353 "edit" 5354 ], 5355 "description": "Scope under which the request is made; determines fields present in response.", 5356 "type": "string" 5357 }, 5358 "attributes": { 5359 "required": false, 5360 "default": [], 5361 "description": "Attributes for core/social-link-instagram block", 5362 "type": "object" 5363 }, 5364 "post_id": { 5365 "required": false, 5366 "description": "ID of the post context.", 5367 "type": "integer" 5368 } 5369 } 5370 } 5371 ] 5372 }, 5373 "/wp/v2/block-renderer/(?P<name>core/social-link-lastfm)": { 5374 "namespace": "wp/v2", 5375 "methods": [ 5376 "GET" 5377 ], 5378 "endpoints": [ 5379 { 5380 "methods": [ 5381 "GET" 5382 ], 5383 "args": { 5384 "name": { 5385 "required": false, 5386 "description": "Unique registered name for the block.", 5387 "type": "string" 5388 }, 5389 "context": { 5390 "required": false, 5391 "default": "view", 5392 "enum": [ 5393 "edit" 5394 ], 5395 "description": "Scope under which the request is made; determines fields present in response.", 5396 "type": "string" 5397 }, 5398 "attributes": { 5399 "required": false, 5400 "default": [], 5401 "description": "Attributes for core/social-link-lastfm block", 5402 "type": "object" 5403 }, 5404 "post_id": { 5405 "required": false, 5406 "description": "ID of the post context.", 5407 "type": "integer" 5408 } 5409 } 5410 } 5411 ] 5412 }, 5413 "/wp/v2/block-renderer/(?P<name>core/social-link-linkedin)": { 5414 "namespace": "wp/v2", 5415 "methods": [ 5416 "GET" 5417 ], 5418 "endpoints": [ 5419 { 5420 "methods": [ 5421 "GET" 5422 ], 5423 "args": { 5424 "name": { 5425 "required": false, 5426 "description": "Unique registered name for the block.", 5427 "type": "string" 5428 }, 5429 "context": { 5430 "required": false, 5431 "default": "view", 5432 "enum": [ 5433 "edit" 5434 ], 5435 "description": "Scope under which the request is made; determines fields present in response.", 5436 "type": "string" 5437 }, 5438 "attributes": { 5439 "required": false, 5440 "default": [], 5441 "description": "Attributes for core/social-link-linkedin block", 5442 "type": "object" 5443 }, 5444 "post_id": { 5445 "required": false, 5446 "description": "ID of the post context.", 5447 "type": "integer" 5448 } 5449 } 5450 } 5451 ] 5452 }, 5453 "/wp/v2/block-renderer/(?P<name>core/social-link-mail)": { 5454 "namespace": "wp/v2", 5455 "methods": [ 5456 "GET" 5457 ], 5458 "endpoints": [ 5459 { 5460 "methods": [ 5461 "GET" 5462 ], 5463 "args": { 5464 "name": { 5465 "required": false, 5466 "description": "Unique registered name for the block.", 5467 "type": "string" 5468 }, 5469 "context": { 5470 "required": false, 5471 "default": "view", 5472 "enum": [ 5473 "edit" 5474 ], 5475 "description": "Scope under which the request is made; determines fields present in response.", 5476 "type": "string" 5477 }, 5478 "attributes": { 5479 "required": false, 5480 "default": [], 5481 "description": "Attributes for core/social-link-mail block", 5482 "type": "object" 5483 }, 5484 "post_id": { 5485 "required": false, 5486 "description": "ID of the post context.", 5487 "type": "integer" 5488 } 5489 } 5490 } 5491 ] 5492 }, 5493 "/wp/v2/block-renderer/(?P<name>core/social-link-mastodon)": { 5494 "namespace": "wp/v2", 5495 "methods": [ 5496 "GET" 5497 ], 5498 "endpoints": [ 5499 { 5500 "methods": [ 5501 "GET" 5502 ], 5503 "args": { 5504 "name": { 5505 "required": false, 5506 "description": "Unique registered name for the block.", 5507 "type": "string" 5508 }, 5509 "context": { 5510 "required": false, 5511 "default": "view", 5512 "enum": [ 5513 "edit" 5514 ], 5515 "description": "Scope under which the request is made; determines fields present in response.", 5516 "type": "string" 5517 }, 5518 "attributes": { 5519 "required": false, 5520 "default": [], 5521 "description": "Attributes for core/social-link-mastodon block", 5522 "type": "object" 5523 }, 5524 "post_id": { 5525 "required": false, 5526 "description": "ID of the post context.", 5527 "type": "integer" 5528 } 5529 } 5530 } 5531 ] 5532 }, 5533 "/wp/v2/block-renderer/(?P<name>core/social-link-meetup)": { 5534 "namespace": "wp/v2", 5535 "methods": [ 5536 "GET" 5537 ], 5538 "endpoints": [ 5539 { 5540 "methods": [ 5541 "GET" 5542 ], 5543 "args": { 5544 "name": { 5545 "required": false, 5546 "description": "Unique registered name for the block.", 5547 "type": "string" 5548 }, 5549 "context": { 5550 "required": false, 5551 "default": "view", 5552 "enum": [ 5553 "edit" 5554 ], 5555 "description": "Scope under which the request is made; determines fields present in response.", 5556 "type": "string" 5557 }, 5558 "attributes": { 5559 "required": false, 5560 "default": [], 5561 "description": "Attributes for core/social-link-meetup block", 5562 "type": "object" 5563 }, 5564 "post_id": { 5565 "required": false, 5566 "description": "ID of the post context.", 5567 "type": "integer" 5568 } 5569 } 5570 } 5571 ] 5572 }, 5573 "/wp/v2/block-renderer/(?P<name>core/social-link-medium)": { 5574 "namespace": "wp/v2", 5575 "methods": [ 5576 "GET" 5577 ], 5578 "endpoints": [ 5579 { 5580 "methods": [ 5581 "GET" 5582 ], 5583 "args": { 5584 "name": { 5585 "required": false, 5586 "description": "Unique registered name for the block.", 5587 "type": "string" 5588 }, 5589 "context": { 5590 "required": false, 5591 "default": "view", 5592 "enum": [ 5593 "edit" 5594 ], 5595 "description": "Scope under which the request is made; determines fields present in response.", 5596 "type": "string" 5597 }, 5598 "attributes": { 5599 "required": false, 5600 "default": [], 5601 "description": "Attributes for core/social-link-medium block", 5602 "type": "object" 5603 }, 5604 "post_id": { 5605 "required": false, 5606 "description": "ID of the post context.", 5607 "type": "integer" 5608 } 5609 } 5610 } 5611 ] 5612 }, 5613 "/wp/v2/block-renderer/(?P<name>core/social-link-pinterest)": { 5614 "namespace": "wp/v2", 5615 "methods": [ 5616 "GET" 5617 ], 5618 "endpoints": [ 5619 { 5620 "methods": [ 5621 "GET" 5622 ], 5623 "args": { 5624 "name": { 5625 "required": false, 5626 "description": "Unique registered name for the block.", 5627 "type": "string" 5628 }, 5629 "context": { 5630 "required": false, 5631 "default": "view", 5632 "enum": [ 5633 "edit" 5634 ], 5635 "description": "Scope under which the request is made; determines fields present in response.", 5636 "type": "string" 5637 }, 5638 "attributes": { 5639 "required": false, 5640 "default": [], 5641 "description": "Attributes for core/social-link-pinterest block", 5642 "type": "object" 5643 }, 5644 "post_id": { 5645 "required": false, 5646 "description": "ID of the post context.", 5647 "type": "integer" 5648 } 5649 } 5650 } 5651 ] 5652 }, 5653 "/wp/v2/block-renderer/(?P<name>core/social-link-pocket)": { 5654 "namespace": "wp/v2", 5655 "methods": [ 5656 "GET" 5657 ], 5658 "endpoints": [ 5659 { 5660 "methods": [ 5661 "GET" 5662 ], 5663 "args": { 5664 "name": { 5665 "required": false, 5666 "description": "Unique registered name for the block.", 5667 "type": "string" 5668 }, 5669 "context": { 5670 "required": false, 5671 "default": "view", 5672 "enum": [ 5673 "edit" 5674 ], 5675 "description": "Scope under which the request is made; determines fields present in response.", 5676 "type": "string" 5677 }, 5678 "attributes": { 5679 "required": false, 5680 "default": [], 5681 "description": "Attributes for core/social-link-pocket block", 5682 "type": "object" 5683 }, 5684 "post_id": { 5685 "required": false, 5686 "description": "ID of the post context.", 5687 "type": "integer" 5688 } 5689 } 5690 } 5691 ] 5692 }, 5693 "/wp/v2/block-renderer/(?P<name>core/social-link-reddit)": { 5694 "namespace": "wp/v2", 5695 "methods": [ 5696 "GET" 5697 ], 5698 "endpoints": [ 5699 { 5700 "methods": [ 5701 "GET" 5702 ], 5703 "args": { 5704 "name": { 5705 "required": false, 5706 "description": "Unique registered name for the block.", 5707 "type": "string" 5708 }, 5709 "context": { 5710 "required": false, 5711 "default": "view", 5712 "enum": [ 5713 "edit" 5714 ], 5715 "description": "Scope under which the request is made; determines fields present in response.", 5716 "type": "string" 5717 }, 5718 "attributes": { 5719 "required": false, 5720 "default": [], 5721 "description": "Attributes for core/social-link-reddit block", 5722 "type": "object" 5723 }, 5724 "post_id": { 5725 "required": false, 5726 "description": "ID of the post context.", 5727 "type": "integer" 5728 } 5729 } 5730 } 5731 ] 5732 }, 5733 "/wp/v2/block-renderer/(?P<name>core/social-link-skype)": { 5734 "namespace": "wp/v2", 5735 "methods": [ 5736 "GET" 5737 ], 5738 "endpoints": [ 5739 { 5740 "methods": [ 5741 "GET" 5742 ], 5743 "args": { 5744 "name": { 5745 "required": false, 5746 "description": "Unique registered name for the block.", 5747 "type": "string" 5748 }, 5749 "context": { 5750 "required": false, 5751 "default": "view", 5752 "enum": [ 5753 "edit" 5754 ], 5755 "description": "Scope under which the request is made; determines fields present in response.", 5756 "type": "string" 5757 }, 5758 "attributes": { 5759 "required": false, 5760 "default": [], 5761 "description": "Attributes for core/social-link-skype block", 5762 "type": "object" 5763 }, 5764 "post_id": { 5765 "required": false, 5766 "description": "ID of the post context.", 5767 "type": "integer" 5768 } 5769 } 5770 } 5771 ] 5772 }, 5773 "/wp/v2/block-renderer/(?P<name>core/social-link-snapchat)": { 5774 "namespace": "wp/v2", 5775 "methods": [ 5776 "GET" 5777 ], 5778 "endpoints": [ 5779 { 5780 "methods": [ 5781 "GET" 5782 ], 5783 "args": { 5784 "name": { 5785 "required": false, 5786 "description": "Unique registered name for the block.", 5787 "type": "string" 5788 }, 5789 "context": { 5790 "required": false, 5791 "default": "view", 5792 "enum": [ 5793 "edit" 5794 ], 5795 "description": "Scope under which the request is made; determines fields present in response.", 5796 "type": "string" 5797 }, 5798 "attributes": { 5799 "required": false, 5800 "default": [], 5801 "description": "Attributes for core/social-link-snapchat block", 5802 "type": "object" 5803 }, 5804 "post_id": { 5805 "required": false, 5806 "description": "ID of the post context.", 5807 "type": "integer" 5808 } 5809 } 5810 } 5811 ] 5812 }, 5813 "/wp/v2/block-renderer/(?P<name>core/social-link-soundcloud)": { 5814 "namespace": "wp/v2", 5815 "methods": [ 5816 "GET" 5817 ], 5818 "endpoints": [ 5819 { 5820 "methods": [ 5821 "GET" 5822 ], 5823 "args": { 5824 "name": { 5825 "required": false, 5826 "description": "Unique registered name for the block.", 5827 "type": "string" 5828 }, 5829 "context": { 5830 "required": false, 5831 "default": "view", 5832 "enum": [ 5833 "edit" 5834 ], 5835 "description": "Scope under which the request is made; determines fields present in response.", 5836 "type": "string" 5837 }, 5838 "attributes": { 5839 "required": false, 5840 "default": [], 5841 "description": "Attributes for core/social-link-soundcloud block", 5842 "type": "object" 5843 }, 5844 "post_id": { 5845 "required": false, 5846 "description": "ID of the post context.", 5847 "type": "integer" 5848 } 5849 } 5850 } 5851 ] 5852 }, 5853 "/wp/v2/block-renderer/(?P<name>core/social-link-spotify)": { 5854 "namespace": "wp/v2", 5855 "methods": [ 5856 "GET" 5857 ], 5858 "endpoints": [ 5859 { 5860 "methods": [ 5861 "GET" 5862 ], 5863 "args": { 5864 "name": { 5865 "required": false, 5866 "description": "Unique registered name for the block.", 5867 "type": "string" 5868 }, 5869 "context": { 5870 "required": false, 5871 "default": "view", 5872 "enum": [ 5873 "edit" 5874 ], 5875 "description": "Scope under which the request is made; determines fields present in response.", 5876 "type": "string" 5877 }, 5878 "attributes": { 5879 "required": false, 5880 "default": [], 5881 "description": "Attributes for core/social-link-spotify block", 5882 "type": "object" 5883 }, 5884 "post_id": { 5885 "required": false, 5886 "description": "ID of the post context.", 5887 "type": "integer" 5888 } 5889 } 5890 } 5891 ] 5892 }, 5893 "/wp/v2/block-renderer/(?P<name>core/social-link-tumblr)": { 5894 "namespace": "wp/v2", 5895 "methods": [ 5896 "GET" 5897 ], 5898 "endpoints": [ 5899 { 5900 "methods": [ 5901 "GET" 5902 ], 5903 "args": { 5904 "name": { 5905 "required": false, 5906 "description": "Unique registered name for the block.", 5907 "type": "string" 5908 }, 5909 "context": { 5910 "required": false, 5911 "default": "view", 5912 "enum": [ 5913 "edit" 5914 ], 5915 "description": "Scope under which the request is made; determines fields present in response.", 5916 "type": "string" 5917 }, 5918 "attributes": { 5919 "required": false, 5920 "default": [], 5921 "description": "Attributes for core/social-link-tumblr block", 5922 "type": "object" 5923 }, 5924 "post_id": { 5925 "required": false, 5926 "description": "ID of the post context.", 5927 "type": "integer" 5928 } 5929 } 5930 } 5931 ] 5932 }, 5933 "/wp/v2/block-renderer/(?P<name>core/social-link-twitch)": { 5934 "namespace": "wp/v2", 5935 "methods": [ 5936 "GET" 5937 ], 5938 "endpoints": [ 5939 { 5940 "methods": [ 5941 "GET" 5942 ], 5943 "args": { 5944 "name": { 5945 "required": false, 5946 "description": "Unique registered name for the block.", 5947 "type": "string" 5948 }, 5949 "context": { 5950 "required": false, 5951 "default": "view", 5952 "enum": [ 5953 "edit" 5954 ], 5955 "description": "Scope under which the request is made; determines fields present in response.", 5956 "type": "string" 5957 }, 5958 "attributes": { 5959 "required": false, 5960 "default": [], 5961 "description": "Attributes for core/social-link-twitch block", 5962 "type": "object" 5963 }, 5964 "post_id": { 5965 "required": false, 5966 "description": "ID of the post context.", 5967 "type": "integer" 5968 } 5969 } 5970 } 5971 ] 5972 }, 5973 "/wp/v2/block-renderer/(?P<name>core/social-link-twitter)": { 5974 "namespace": "wp/v2", 5975 "methods": [ 5976 "GET" 5977 ], 5978 "endpoints": [ 5979 { 5980 "methods": [ 5981 "GET" 5982 ], 5983 "args": { 5984 "name": { 5985 "required": false, 5986 "description": "Unique registered name for the block.", 5987 "type": "string" 5988 }, 5989 "context": { 5990 "required": false, 5991 "default": "view", 5992 "enum": [ 5993 "edit" 5994 ], 5995 "description": "Scope under which the request is made; determines fields present in response.", 5996 "type": "string" 5997 }, 5998 "attributes": { 5999 "required": false, 6000 "default": [], 6001 "description": "Attributes for core/social-link-twitter block", 6002 "type": "object" 6003 }, 6004 "post_id": { 6005 "required": false, 6006 "description": "ID of the post context.", 6007 "type": "integer" 6008 } 6009 } 6010 } 6011 ] 6012 }, 6013 "/wp/v2/block-renderer/(?P<name>core/social-link-vimeo)": { 6014 "namespace": "wp/v2", 6015 "methods": [ 6016 "GET" 6017 ], 6018 "endpoints": [ 6019 { 6020 "methods": [ 6021 "GET" 6022 ], 6023 "args": { 6024 "name": { 6025 "required": false, 6026 "description": "Unique registered name for the block.", 6027 "type": "string" 6028 }, 6029 "context": { 6030 "required": false, 6031 "default": "view", 6032 "enum": [ 6033 "edit" 6034 ], 6035 "description": "Scope under which the request is made; determines fields present in response.", 6036 "type": "string" 6037 }, 6038 "attributes": { 6039 "required": false, 6040 "default": [], 6041 "description": "Attributes for core/social-link-vimeo block", 6042 "type": "object" 6043 }, 6044 "post_id": { 6045 "required": false, 6046 "description": "ID of the post context.", 6047 "type": "integer" 6048 } 6049 } 6050 } 6051 ] 6052 }, 6053 "/wp/v2/block-renderer/(?P<name>core/social-link-vk)": { 6054 "namespace": "wp/v2", 6055 "methods": [ 6056 "GET" 6057 ], 6058 "endpoints": [ 6059 { 6060 "methods": [ 6061 "GET" 6062 ], 6063 "args": { 6064 "name": { 6065 "required": false, 6066 "description": "Unique registered name for the block.", 6067 "type": "string" 6068 }, 6069 "context": { 6070 "required": false, 6071 "default": "view", 6072 "enum": [ 6073 "edit" 6074 ], 6075 "description": "Scope under which the request is made; determines fields present in response.", 6076 "type": "string" 6077 }, 6078 "attributes": { 6079 "required": false, 6080 "default": [], 6081 "description": "Attributes for core/social-link-vk block", 6082 "type": "object" 6083 }, 6084 "post_id": { 6085 "required": false, 6086 "description": "ID of the post context.", 6087 "type": "integer" 6088 } 6089 } 6090 } 6091 ] 6092 }, 6093 "/wp/v2/block-renderer/(?P<name>core/social-link-wordpress)": { 6094 "namespace": "wp/v2", 6095 "methods": [ 6096 "GET" 6097 ], 6098 "endpoints": [ 6099 { 6100 "methods": [ 6101 "GET" 6102 ], 6103 "args": { 6104 "name": { 6105 "required": false, 6106 "description": "Unique registered name for the block.", 6107 "type": "string" 6108 }, 6109 "context": { 6110 "required": false, 6111 "default": "view", 6112 "enum": [ 6113 "edit" 6114 ], 6115 "description": "Scope under which the request is made; determines fields present in response.", 6116 "type": "string" 6117 }, 6118 "attributes": { 6119 "required": false, 6120 "default": [], 6121 "description": "Attributes for core/social-link-wordpress block", 6122 "type": "object" 6123 }, 6124 "post_id": { 6125 "required": false, 6126 "description": "ID of the post context.", 6127 "type": "integer" 6128 } 6129 } 6130 } 6131 ] 6132 }, 6133 "/wp/v2/block-renderer/(?P<name>core/social-link-yelp)": { 6134 "namespace": "wp/v2", 6135 "methods": [ 6136 "GET" 6137 ], 6138 "endpoints": [ 6139 { 6140 "methods": [ 6141 "GET" 6142 ], 6143 "args": { 6144 "name": { 6145 "required": false, 6146 "description": "Unique registered name for the block.", 6147 "type": "string" 6148 }, 6149 "context": { 6150 "required": false, 6151 "default": "view", 6152 "enum": [ 6153 "edit" 6154 ], 6155 "description": "Scope under which the request is made; determines fields present in response.", 6156 "type": "string" 6157 }, 6158 "attributes": { 6159 "required": false, 6160 "default": [], 6161 "description": "Attributes for core/social-link-yelp block", 6162 "type": "object" 6163 }, 6164 "post_id": { 6165 "required": false, 6166 "description": "ID of the post context.", 6167 "type": "integer" 6168 } 6169 } 6170 } 6171 ] 6172 }, 6173 "/wp/v2/block-renderer/(?P<name>core/social-link-youtube)": { 6174 "namespace": "wp/v2", 6175 "methods": [ 6176 "GET" 6177 ], 6178 "endpoints": [ 6179 { 6180 "methods": [ 6181 "GET" 6182 ], 6183 "args": { 6184 "name": { 6185 "required": false, 6186 "description": "Unique registered name for the block.", 6187 "type": "string" 6188 }, 6189 "context": { 6190 "required": false, 6191 "default": "view", 6192 "enum": [ 6193 "edit" 6194 ], 6195 "description": "Scope under which the request is made; determines fields present in response.", 6196 "type": "string" 6197 }, 6198 "attributes": { 6199 "required": false, 6200 "default": [], 6201 "description": "Attributes for core/social-link-youtube block", 4642 6202 "type": "object" 4643 6203 },
Note: See TracChangeset
for help on using the changeset viewer.