> Magento2中文手册 > 限制匿名Web API的访问

限制匿名Web API的访问

下表列出默认情况下匿名用户无法使用的api:

Product Module API Action
CE Catalog /V1/products GET
CE Catalog /V1/products/:sku GET
CE Catalog /V1/products/attributes/:attributeCode GET
CE Catalog /V1/products/types GET
CE Catalog /V1/products/attribute-sets/sets/list GET
CE Catalog /V1/products/attribute-sets/:attributeSetId GET
CE Catalog /V1/products/attribute-sets/:attributeSetId/attributes GET
CE Catalog /V1/products/attribute-sets/groups/list GET
CE Catalog /V1/products/attributes/:attributeCode/options GET
CE Catalog /V1/products/media/types/:attributeSetName GET
CE Catalog /V1/products/:sku/media/:entryId GET
CE Catalog /V1/products/:sku/media GET
CE Catalog /V1/products/:sku/group-prices/:customerGroupId/tiers GET
CE Catalog /V1/categories/:categoryId GET
CE Catalog /V1/categories GET
CE Catalog /V1/products/:sku/options GET
CE Catalog /V1/products/:sku/options/:optionId GET
CE Catalog /V1/products/links/types GET
CE Catalog /V1/products/links/:type/attributes GET
CE Catalog /V1/products/:sku/links/:type GET
CE Catalog /V1/categories/:categoryId/products GET
CE CatalogInventory /V1/stockStatuses/:productSku GET
CE Cms /V1/cmsPage/:pageId GET
CE Cms /V1/cmsBlock/:blockId GET
CE ConfigurableProduct /V1/configurable-products/:sku/children GET
CE ConfigurableProduct /V1/configurable-products/:sku/options/:id GET
CE ConfigurableProduct /V1/configurable-products/:sku/options/all GET
CE Store /V1/store/storeViews GET
CE Store /V1/store/storeGroups GET
CE Store /V1/store/websites GET
CE Store /V1/store/storeConfigs GET