Class AttachmentsApiV2Controller

Class AttachmentsApiV2Controller

This controller enables the API consumers to handle email attachments which can be later used in emails. The most common scenario is that if an email has attachments, they must be already uploaded before the email is sent.

AbstractApiV2Controller
HttpApiV2Controller
AttachmentsApiV2Controller

Methods summary

public __initialize( void )

Initialize API Controller

public post( 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

protected $attachmentsHandler : AttachmentsHandler

AttachmentsHandler


		

Properties inherited from AbstractApiV2Controller

$api, $uri