|
30 | 30 | <route url="/V1/products" method="GET">
|
31 | 31 | <service class="Magento\Catalog\Api\ProductRepositoryInterface" method="getList"/>
|
32 | 32 | <resources>
|
33 |
| - <resource ref="anonymous" /> |
| 33 | + <resource ref="Magento_Catalog::products" /> |
34 | 34 | </resources>
|
35 | 35 | </route>
|
36 | 36 | <route url="/V1/products/:sku" method="GET">
|
37 | 37 | <service class="Magento\Catalog\Api\ProductRepositoryInterface" method="get"/>
|
38 | 38 | <resources>
|
39 |
| - <resource ref="anonymous" /> |
| 39 | + <resource ref="Magento_Catalog::products" /> |
40 | 40 | </resources>
|
41 | 41 | </route>
|
42 | 42 |
|
|
49 | 49 | <route url="/V1/products/attributes/:attributeCode" method="GET">
|
50 | 50 | <service class="Magento\Catalog\Api\ProductAttributeRepositoryInterface" method="get"/>
|
51 | 51 | <resources>
|
52 |
| - <resource ref="anonymous" /> |
| 52 | + <resource ref="Magento_Catalog::attributes_attributes" /> |
53 | 53 | </resources>
|
54 | 54 | </route>
|
55 | 55 | <route url="/V1/products/attributes" method="GET">
|
|
97 | 97 | <route url="/V1/products/types" method="GET">
|
98 | 98 | <service class="Magento\Catalog\Api\ProductTypeListInterface" method="getProductTypes"/>
|
99 | 99 | <resources>
|
100 |
| - <resource ref="anonymous"/> |
| 100 | + <resource ref="Magento_Catalog::attributes_attributes"/> |
101 | 101 | </resources>
|
102 | 102 | </route>
|
103 | 103 | <route url="/V1/products/attribute-sets/sets/list" method="GET">
|
104 | 104 | <service class="Magento\Catalog\Api\AttributeSetRepositoryInterface" method="getList"/>
|
105 | 105 | <resources>
|
106 |
| - <resource ref="anonymous"/> |
| 106 | + <resource ref="Magento_Catalog::attributes_attributes"/> |
107 | 107 | </resources>
|
108 | 108 | </route>
|
109 | 109 | <route url="/V1/products/attribute-sets/:attributeSetId" method="GET">
|
110 | 110 | <service class="Magento\Catalog\Api\AttributeSetRepositoryInterface" method="get"/>
|
111 | 111 | <resources>
|
112 |
| - <resource ref="anonymous"/> |
| 112 | + <resource ref="Magento_Catalog::attributes_attributes"/> |
113 | 113 | </resources>
|
114 | 114 | </route>
|
115 | 115 | <route url="/V1/products/attribute-sets/:attributeSetId" method="DELETE">
|
|
133 | 133 | <route url="/V1/products/attribute-sets/:attributeSetId/attributes" method="GET">
|
134 | 134 | <service class="Magento\Catalog\Api\ProductAttributeManagementInterface" method="getAttributes"/>
|
135 | 135 | <resources>
|
136 |
| - <resource ref="anonymous"/> |
| 136 | + <resource ref="Magento_Catalog::sets"/> |
137 | 137 | </resources>
|
138 | 138 | </route>
|
139 | 139 | <route url="/V1/products/attribute-sets/attributes" method="POST">
|
|
151 | 151 | <route url="/V1/products/attribute-sets/groups/list" method="GET">
|
152 | 152 | <service class="Magento\Catalog\Api\ProductAttributeGroupRepositoryInterface" method="getList"/>
|
153 | 153 | <resources>
|
154 |
| - <resource ref="anonymous"/> |
| 154 | + <resource ref="Magento_Catalog::sets"/> |
155 | 155 | </resources>
|
156 | 156 | </route>
|
157 | 157 | <route url="/V1/products/attribute-sets/groups" method="POST">
|
|
175 | 175 | <route url="/V1/products/attributes/:attributeCode/options" method="GET">
|
176 | 176 | <service class="Magento\Catalog\Api\ProductAttributeOptionManagementInterface" method="getItems"/>
|
177 | 177 | <resources>
|
178 |
| - <resource ref="anonymous" /> |
| 178 | + <resource ref="Magento_Catalog::sets" /> |
179 | 179 | </resources>
|
180 | 180 | </route>
|
181 | 181 | <route url="/V1/products/attributes/:attributeCode/options" method="POST">
|
|
193 | 193 | <route url="/V1/products/media/types/:attributeSetName" method="GET">
|
194 | 194 | <service class="Magento\Catalog\Api\ProductMediaAttributeManagementInterface" method="getList"/>
|
195 | 195 | <resources>
|
196 |
| - <resource ref="anonymous"/> |
| 196 | + <resource ref="Magento_Catalog::attributes_attributes"/> |
197 | 197 | </resources>
|
198 | 198 | </route>
|
199 | 199 | <route url="/V1/products/:sku/media/:entryId" method="GET">
|
200 | 200 | <service class="Magento\Catalog\Api\ProductAttributeMediaGalleryManagementInterface" method="get"/>
|
201 | 201 | <resources>
|
202 |
| - <resource ref="anonymous"/> |
| 202 | + <resource ref="Magento_Catalog::catalog"/> |
203 | 203 | </resources>
|
204 | 204 | </route>
|
205 | 205 | <route url="/V1/products/:sku/media" method="POST">
|
|
223 | 223 | <route url="/V1/products/:sku/media" method="GET">
|
224 | 224 | <service class="Magento\Catalog\Api\ProductAttributeMediaGalleryManagementInterface" method="getList"/>
|
225 | 225 | <resources>
|
226 |
| - <resource ref="anonymous"/> |
| 226 | + <resource ref="Magento_Catalog::catalog"/> |
227 | 227 | </resources>
|
228 | 228 | </route>
|
229 | 229 |
|
230 | 230 | <!-- Tier Price -->
|
231 | 231 | <route url="/V1/products/:sku/group-prices/:customerGroupId/tiers" method="GET">
|
232 | 232 | <service class="Magento\Catalog\Api\ProductTierPriceManagementInterface" method="getList"/>
|
233 | 233 | <resources>
|
234 |
| - <resource ref="anonymous"/> |
| 234 | + <resource ref="Magento_Catalog::catalog"/> |
235 | 235 | </resources>
|
236 | 236 | </route>
|
237 | 237 | <route url="/V1/products/:sku/group-prices/:customerGroupId/tiers/:qty/price/:price" method="POST">
|
|
256 | 256 | <route url="/V1/categories/:categoryId" method="GET">
|
257 | 257 | <service class="Magento\Catalog\Api\CategoryRepositoryInterface" method="get" />
|
258 | 258 | <resources>
|
259 |
| - <resource ref="anonymous" /> |
| 259 | + <resource ref="Magento_Catalog::categories" /> |
260 | 260 | </resources>
|
261 | 261 | </route>
|
262 | 262 | <route url="/V1/categories" method="POST">
|
|
268 | 268 | <route url="/V1/categories" method="GET">
|
269 | 269 | <service class="Magento\Catalog\Api\CategoryManagementInterface" method="getTree" />
|
270 | 270 | <resources>
|
271 |
| - <resource ref="anonymous" /> |
| 271 | + <resource ref="Magento_Catalog::categories" /> |
272 | 272 | </resources>
|
273 | 273 | </route>
|
274 | 274 | <route url="/V1/categories/:id" method="PUT">
|
|
294 | 294 | <route url="/V1/products/:sku/options" method="GET">
|
295 | 295 | <service class="Magento\Catalog\Api\ProductCustomOptionRepositoryInterface" method="getList"/>
|
296 | 296 | <resources>
|
297 |
| - <resource ref="anonymous"/> |
| 297 | + <resource ref="Magento_Catalog::catalog"/> |
298 | 298 | </resources>
|
299 | 299 | </route>
|
300 | 300 | <route url="/V1/products/:sku/options/:optionId" method="GET">
|
301 | 301 | <service class="Magento\Catalog\Api\ProductCustomOptionRepositoryInterface" method="get"/>
|
302 | 302 | <resources>
|
303 |
| - <resource ref="anonymous"/> |
| 303 | + <resource ref="Magento_Catalog::catalog"/> |
304 | 304 | </resources>
|
305 | 305 | </route>
|
306 | 306 | <route url="/V1/products/options" method="POST">
|
|
326 | 326 | <route url="/V1/products/links/types" method="GET">
|
327 | 327 | <service class="Magento\Catalog\Api\ProductLinkTypeListInterface" method="getItems"/>
|
328 | 328 | <resources>
|
329 |
| - <resource ref="anonymous"/> |
| 329 | + <resource ref="Magento_Catalog::catalog"/> |
330 | 330 | </resources>
|
331 | 331 | </route>
|
332 | 332 | <route url="/V1/products/links/:type/attributes" method="GET">
|
333 | 333 | <service class="Magento\Catalog\Api\ProductLinkTypeListInterface" method="getItemAttributes"/>
|
334 | 334 | <resources>
|
335 |
| - <resource ref="anonymous"/> |
| 335 | + <resource ref="Magento_Catalog::catalog"/> |
336 | 336 | </resources>
|
337 | 337 | </route>
|
338 | 338 | <route url="/V1/products/:sku/links/:type" method="GET">
|
339 | 339 | <service class="Magento\Catalog\Api\ProductLinkManagementInterface" method="getLinkedItemsByType"/>
|
340 | 340 | <resources>
|
341 |
| - <resource ref="anonymous"/> |
| 341 | + <resource ref="Magento_Catalog::catalog"/> |
342 | 342 | </resources>
|
343 | 343 | </route>
|
344 | 344 | <route url="/V1/products/:sku/links" method="POST">
|
|
364 | 364 | <route url="/V1/categories/:categoryId/products" method="GET">
|
365 | 365 | <service class="Magento\Catalog\Api\CategoryLinkManagementInterface" method="getAssignedProducts" />
|
366 | 366 | <resources>
|
367 |
| - <resource ref="anonymous" /> |
| 367 | + <resource ref="Magento_Catalog::categories" /> |
368 | 368 | </resources>
|
369 | 369 | </route>
|
370 | 370 | <route url="/V1/categories/:categoryId/products" method="POST">
|
|
0 commit comments