0byt3m1n1
Path:
/
data
/
applications
/
aps
/
magento
/
1.1.3-2
/
standard
/
htdocs
/
app
/
code
/
core
/
Mage
/
Catalog
/
etc
/
[
Home
]
File: api.xml
<?xml version="1.0"?> <!-- /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@magentocommerce.com so we can send you a copy immediately. * * @category Mage * @package Mage_Catalog * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ --> <config> <api> <resources> <catalog_category translate="title" module="catalog"> <model>catalog/category_api</model> <title>Category API</title> <acl>catalog/category</acl> <methods> <currentStore> <title>Set/Get current store view</title> </currentStore> <tree translate="title" module="catalog"> <title>Retrieve hierarchical tree</title> </tree> <level translate="title" module="catalog"> <title>Retrieve one level of categories by website/store view/parent category</title> </level> <info translate="title" module="catalog"> <title>Retrieve category data</title> </info> <create translate="title" module="catalog"> <title>Create new category</title> <acl>catalog/category/create</acl> </create> <update translate="title" module="catalog"> <title>Update category</title> <acl>catalog/category/update</acl> </update> <move translate="title" module="catalog"> <title>Move category in tree</title> <acl>catalog/category/move</acl> </move> <delete translate="title" module="catalog"> <title>Delete category</title> <acl>catalog/category/delete</acl> </delete> <assignedProducts translate="title" module="catalog"> <title>Retrieve list of assigned products</title> <acl>catalog/category/product</acl> </assignedProducts> <assignProduct translate="title" module="catalog"> <title>Assign product to category</title> <acl>catalog/category/product/assign</acl> </assignProduct> <updateProduct translate="title" module="catalog"> <title>Update assigned product</title> <acl>catalog/category/product/update</acl> </updateProduct> <removeProduct translate="title" module="catalog"> <title>Remove product assignment</title> <acl>catalog/category/product/remove</acl> </removeProduct> </methods> <faults module="catalog"> <store_not_exists> <code>100</code> <message>Requested store view not found.</message> </store_not_exists> <website_not_exists> <code>101</code> <message>Requested website not found.</message> </website_not_exists> <not_exists> <code>102</code> <message>Category not exists.</message> </not_exists> <data_invalid> <code>103</code> <message>Invalid data given. Details in error message.</message> </data_invalid> <not_moved> <code>104</code> <message>Category not moved. Details in error message.</message> </not_moved> <not_deleted> <code>105</code> <message>Category not deleted. Details in error message.</message> </not_deleted> <product_not_assigned> <code>106</code> <message>Requested product is not assigned to category.</message> </product_not_assigned> </faults> </catalog_category> <catalog_category_attribute translate="title" module="catalog"> <title>Category attributes API</title> <model>catalog/category_attribute_api</model> <acl>catalog/category</acl> <methods> <currentStore translate="title" module="catalog"> <title>Set/Get current store view</title> </currentStore> <list translate="title" module="catalog"> <title>Retrieve category attributes</title> <method>items</method> </list> <options translate="title" module="catalog"> <title>Retrieve attribute options</title> </options> </methods> <faults module="catalog"> <store_not_exists> <code>100</code> <message>Requested store view not found.</message> </store_not_exists> <not_exists> <code>101</code> <message>Requested attribute not found.</message> </not_exists> </faults> </catalog_category_attribute> <catalog_product translate="title" module="catalog"> <title>Product API</title> <model>catalog/product_api</model> <acl>catalog/product</acl> <methods> <currentStore translate="title" module="catalog"> <title>Set/Get current store view</title> </currentStore> <list translate="title" module="catalog"> <title>Retrieve products list by filters</title> <method>items</method> </list> <info translate="title" module="catalog"> <title>Retrieve product</title> </info> <create translate="title" module="catalog"> <title>Create new product</title> <acl>catalog/product/create</acl> </create> <update translate="title" module="catalog"> <title>Update product</title> <acl>catalog/product/update</acl> </update> <delete translate="title" module="catalog"> <title>Delete product</title> <acl>catalog/product/delete</acl> </delete> <getSpecialPrice translate="title" module="catalog"> <title>Get special price</title> </getSpecialPrice> <setSpecialPrice translate="title" module="catalog"> <title>Set special price</title> </setSpecialPrice> </methods> <faults module="catalog"> <store_not_exists> <code>100</code> <message>Requested store view not found.</message> </store_not_exists> <not_exists> <code>101</code> <message>Product not exists.</message> </not_exists> <data_invalid> <code>102</code> <message>Invalid data given. Details in error message.</message> </data_invalid> <not_deleted> <code>103</code> <message>Product not deleted. Details in error message.</message> </not_deleted> </faults> </catalog_product> <catalog_product_attribute translate="title" module="catalog"> <title>Product attributes API</title> <model>catalog/product_attribute_api</model> <acl>catalog/product</acl> <methods> <currentStore translate="title" module="catalog"> <title>Set/Get current store view</title> </currentStore> <list translate="title" module="catalog"> <title>Retrieve attribute list</title> <method>items</method> </list> <options translate="title" module="catalog"> <title>Retrieve attribute options</title> </options> </methods> <faults module="catalog"> <store_not_exists> <code>100</code> <message>Requested store view not found.</message> </store_not_exists> <not_exists> <code>101</code> <message>Requested attribute not found.</message> </not_exists> </faults> </catalog_product_attribute> <catalog_product_attribute_set translate="title" module="catalog"> <title>Product attribute sets API</title> <model>catalog/product_attribute_set_api</model> <acl>catalog/product</acl> <methods> <list translate="title" module="catalog"> <title>Retrieve product attribute sets</title> <method>items</method> </list> </methods> <faults module="catalog"> </faults> </catalog_product_attribute_set> <catalog_product_type translate="title" module="catalog"> <title>Product types API</title> <model>catalog/product_type_api</model> <acl>catalog/product</acl> <methods> <list translate="title" module="catalog"> <title>Retrieve product types</title> <method>items</method> </list> </methods> <faults module="catalog"> </faults> </catalog_product_type> <catalog_product_attribute_media translate="title" module="catalog"> <title>Product Images API</title> <model>catalog/product_attribute_media_api</model> <acl>catalog/product/media</acl> <methods> <currentStore translate="title" module="catalog"> <title>Set/Get current store view</title> </currentStore> <list translate="title" module="catalog"> <title>Retrieve product image list</title> <method>items</method> </list> <info translate="title" module="catalog"> <title>Retrieve product image</title> </info> <types translate="title" module="catalog"> <title>Retrieve product image types</title> </types> <create translate="title" module="catalog"> <title>Upload new product image </title> <acl>catalog/product/media/create</acl> </create> <update translate="title" module="catalog"> <title>Update product image</title> <acl>catalog/product/media/update</acl> </update> <remove translate="title" module="catalog"> <title>Remove product image</title> <acl>catalog/product/media/remove</acl> </remove> </methods> <faults module="catalog"> <store_not_exists> <code>100</code> <message>Requested store view not found.</message> </store_not_exists> <product_not_exists> <code>101</code> <message>Product not exists.</message> </product_not_exists> <data_invalid> <code>102</code> <message>Invalid data given. Details in error message.</message> </data_invalid> <not_exists> <code>103</code> <message>Requested image not exists in product images' gallery.</message> </not_exists> <not_created> <code>104</code> <message>Image creation failed. Details in error message.</message> </not_created> <not_updated> <code>105</code> <message>Image not updated. Details in error message.</message> </not_updated> <not_removed> <code>106</code> <message>Image not removed. Details in error message.</message> </not_removed> <not_media> <code>107</code> <message>Requested product doesn't support images</message> </not_media> </faults> </catalog_product_attribute_media> <catalog_product_attribute_tier_price translate="title" module="catalog"> <title>Product Tier Price API</title> <model>catalog/product_attribute_tierprice_api</model> <acl>catalog/product</acl> <methods> <info translate="title" module="catalog"> <title>Retrieve product tier prices</title> </info> <update translate="title" module="catalog"> <title>Update product tier prices</title> <acl>catalog/product/update</acl> </update> </methods> <faults module="catalog"> <product_not_exists> <code>100</code> <message>Product not exists.</message> </product_not_exists> <data_invalid> <code>101</code> <message>Invalid data given. Details in error message.</message> </data_invalid> <not_updated> <code>102</code> <message>Tier prices not updated. Details in error message.</message> </not_updated> </faults> </catalog_product_attribute_tier_price> <catalog_product_link translate="title" module="catalog"> <title>Product links API (related, cross sells, up sells)</title> <model>catalog/product_link_api</model> <acl>catalog/product/link</acl> <methods> <list translate="title" module="catalog"> <title>Retrieve linked products</title> <method>items</method> </list> <assign translate="title" module="catalog"> <title>Assign product link</title> <acl>catalog/product/link/assign</acl> </assign> <update translate="title" module="catalog"> <title>Update product link</title> <acl>catalog/product/link/update</acl> </update> <remove translate="title" module="catalog"> <title>Remove product link</title> <acl>catalog/product/link/remove</acl> </remove> <types translate="title" module="catalog"> <title>Retrieve product link types</title> </types> <attributes translate="title" module="catalog"> <title>Retrieve product link type attributes</title> </attributes> </methods> <faults module="catalog"> <type_not_exists> <code>100</code> <message>Given invalid link type.</message> </type_not_exists> <product_not_exists> <code>101</code> <message>Product not exists.</message> </product_not_exists> <data_invalid> <code>102</code> <message>Invalid data given. Details in error message.</message> </data_invalid> <not_removed> <code>104</code> <message>Product link not removed.</message> </not_removed> </faults> </catalog_product_link> </resources> <resources_alias> <category>catalog_category</category> <category_attribute>catalog_category_attribute</category_attribute> <product>catalog_product</product> <product_attribute>catalog_product_attribute</product_attribute> <product_attribute_set>catalog_product_attribute_set</product_attribute_set> <product_type>catalog_product_type</product_type> <product_link>catalog_product_link</product_link> <product_attribute_media>catalog_product_attribute_media</product_attribute_media> <product_media>catalog_product_attribute_media</product_media> <product_attribute_tier_price>catalog_product_attribute_tier_price</product_attribute_tier_price> <product_tier_price>catalog_product_attribute_tier_price</product_tier_price> </resources_alias> <acl> <resources> <all> <catalog translate="title" module="catalog"> <title>Catalog</title> <category translate="title" module="catalog"> <title>Category</title> <create translate="title" module="catalog"> <title>Create</title> </create> <update translate="title" module="catalog"> <title>Update</title> </update> <move translate="title" module="catalog"> <title>Move</title> </move> <delete translate="title" module="catalog"> <title>Delete</title> </delete> <product translate="title" module="catalog"> <title>Assigned Products</title> <assign translate="title" module="catalog"> <title>Assign</title> </assign> <update translate="title" module="catalog"> <title>Update</title> </update> <remove translate="title" module="catalog"> <title>Remove</title> </remove> </product> </category> <product translate="title" module="catalog"> <title>Product</title> <create translate="title" module="catalog"> <title>Create</title> </create> <update translate="title" module="catalog"> <title>Update</title> </update> <delete translate="title" module="catalog"> <title>Delete</title> </delete> <link translate="title" module="catalog"> <title>Link (Related, Up sell, Cross sell)</title> <assign translate="title" module="catalog"> <title>Assign</title> </assign> <update translate="title" module="catalog"> <title>Update</title> </update> <remove translate="title" module="catalog"> <title>Remove</title> </remove> </link> <media translate="title" module="catalog"> <title>Product Images</title> <create translate="title" module="catalog"> <title>Create (Upload)</title> </create> <update translate="title" module="catalog"> <title>Update</title> </update> <remove translate="title" module="catalog"> <title>Remove</title> </remove> </media> </product> </catalog> </all> </resources> </acl> </api> </config>