Appends multiple required fields to the redirector.
When rendering a redirector with required fields, all specified fields must be provided in the parameters. If the fields array is empty, the redirector is 'loose' and accepts any parameters.
The ID of the campaign containing the redirector.
The redirector ID to append field to.
The field names to append to the fields list.
The campaign lock secret obtained from CampaignRepository.lock.
Creates a new redirector.
The redirector is created with an empty fields array,
meaning it is initially 'loose' (accepts any parameters).
Use appendFields or removeFields to manage required fields.
The ID of the campaign to create the redirector in.
The new redirector ID to create.
The page template.
The campaign lock secret obtained from CampaignRepository.lock.
Deletes the redirector by its ID.
A redirector cannot be deleted if it has any lures pointing to it.
The ID of the campaign containing the redirector.
The redirector ID to delete.
The campaign lock secret obtained from CampaignRepository.lock.
Lists all redirectors for the campaign.
Redirectors are ordered by creation time (oldest first).
The ID of the campaign to list redirectors for.
The array of redirector models, or null if the campaign does not exist.
Lists all full redirectors for the campaign.
Redirectors are ordered by creation time (oldest first).
The ID of the campaign to list redirectors for.
The array of full redirector models, or null if the campaign does not exist.
Reads the redirector by its ID.
The ID of the campaign containing the redirector.
The redirector ID to read.
The redirector model, or null if the redirector is not found.
Reads the full redirector by its ID.
The ID of the campaign containing the redirector.
The redirector ID to read.
The full redirector model, or null if the redirector is not found.
Removes all fields from the redirector.
The ID of the campaign containing the redirector.
The redirector ID to remove fields from.
The campaign lock secret obtained from CampaignRepository.lock.
Updates the redirector specific fields.
All update parameters are optional. Only provided fields will be updated.
The ID of the campaign containing the redirector.
The redirector ID to update.
The page template.
The campaign lock secret obtained from CampaignRepository.lock.
Defines the public contract for a redirector repository.
A redirector contains a landing page template and a list of required field names.