protected function ALProfilesAPI::generateEndpoint in Acquia Lift Connector 7
Same name and namespace in other branches
- 7.2 acquia_lift_profiles/includes/acquia_lift_profiles.classes.inc \ALProfilesAPI::generateEndpoint()
Generates an endpoint for a particular section of the Acquia Lift Profiles API.
Parameters
string $path: The endpoint path, e.g. 'segments' or 'events/my-event'
Return value
string The endpoint to make calls to.
3 calls to ALProfilesAPI::generateEndpoint()
- ALProfilesAPI::deleteEvent in acquia_lift_profiles/
includes/ acquia_lift_profiles.classes.inc - Deletes an event from Acquia Lift Profiles
- ALProfilesAPI::getSegments in acquia_lift_profiles/
includes/ acquia_lift_profiles.classes.inc - Fetches the available Segment IDs from Acquia Lift Profiles
- ALProfilesAPI::saveEvent in acquia_lift_profiles/
includes/ acquia_lift_profiles.classes.inc - Saves an event to Acquia Lift Profiles
File
- acquia_lift_profiles/
includes/ acquia_lift_profiles.classes.inc, line 216 - Provides an agent type for Acquia Lift Profiles
Class
- ALProfilesAPI
- @file Provides an agent type for Acquia Lift Profiles
Code
protected function generateEndpoint($path) {
return $this->apiUrl . '/dashboard/rest/' . $this->accountName . '/' . $path;
}