Class ProductImagesApiV2Controller

Class ProductImagesApiV2Controller

Provides an API interface for managing product images through the ProductWriteService.

Notice: This controller IS NOT a sub-resource of the ProductsApiV2Controller.

This controller can be reached by using one of the following URIs:

  • http://shop.de/api.php/v2/product_images

or

  • http://shop.de/api.php/v2/ProductImages

Using "productimages" as a resource name will not resolve to this controller.

AbstractApiV2Controller
HttpApiV2Controller
AbstractImagesApiV2Controller
ProductImagesApiV2Controller

Methods summary

protected __initialize( void )

Initializes API Controller

protected _getImageFolderName( void ) : string

Returns the absolute path where the image files are located.

public post( void )
public put( void )
public delete( void )
public get( void )

Methods inherited from HttpApiV2Controller

_linkResponse(), _locateResource(), _mapResponse(), _minimizeResponse(), _paginateResponse(), _searchResponse(), _setJsonValue(), _sortResponse(), _writeResponse()

Methods inherited from AbstractApiV2Controller

__construct(), _prepareResponse(), _setRateLimitHeader(), _validateRequest()

Constants summary

Constants inherited from AbstractApiV2Controller

DEFAULT_CONTROLLER_NAME, DEFAULT_PAGE_ITEMS, DEFAULT_RATE_LIMIT, DEFAULT_RATE_RESET_PERIOD

Properties summary

Properties inherited from AbstractImagesApiV2Controller

$writeService

Properties inherited from AbstractApiV2Controller

$api, $uri