You are here

protected function AcquiaDAM_Assets_Asset::getEndpointBase in Media: Acquia DAM 7

Return the API endpoint base.

Return value

string The base slug to use in API requests.

Overrides AcquiaDAM_Assets_AbstractAsset::getEndpointBase

2 calls to AcquiaDAM_Assets_Asset::getEndpointBase()
AcquiaDAM_Assets_Asset::getDownload in src/AcquiaDAM/AcquiaDAM_Assets_Asset.inc
Get the asset download URL.
AcquiaDAM_Assets_Asset::getMetadata in src/AcquiaDAM/AcquiaDAM_Assets_Asset.inc
Get metadata for the asset.

File

src/AcquiaDAM/AcquiaDAM_Assets_Asset.inc, line 18

Class

AcquiaDAM_Assets_Asset
Generic Acquia DAM assets.

Code

protected function getEndpointBase() {
  return 'assets';
}