Interface DesignServiceAsync
-
- All Implemented Interfaces:
public interface DesignServiceAsyncProgram Editor Design tab (
CampaignDesign) configuration operations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceDesignServiceAsync.WithRawResponseA view of DesignServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract DesignServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract DesignServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
CompletableFuture<CampaignDesign> retrieve(String id)
Retrieves a program's design configuration — the same surface as the dashboard Program Editor's Design tab: the GrowSurf window layout, header, share channels + invite, signup form, portal/landing pages, theme styling, and the referral/affiliate summary + status sections. This is a large object whose available fields depend on the program type; the response includes every field and its current value, which is the same shape you send back on
PATCH.
-
retrieve
CompletableFuture<CampaignDesign> retrieve(String id, DesignRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<CampaignDesign> retrieve(String id, DesignRetrieveParams params)
-
retrieve
abstract CompletableFuture<CampaignDesign> retrieve(DesignRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<CampaignDesign> retrieve(DesignRetrieveParams params)
-
retrieve
CompletableFuture<CampaignDesign> retrieve(String id, RequestOptions requestOptions)
-
update
CompletableFuture<CampaignDesign> update(String id, DesignUpdateParams params)
Updates a program's design configuration. Only the fields you send are changed; anything you leave out is untouched (arrays such as
signup.fieldsreplace wholesale). Unknown fields, fields not available for the program type, and invalid values return a400. Landing-page custom code and JavaScript are not editable via the API.
-
update
CompletableFuture<CampaignDesign> update(String id, DesignUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<CampaignDesign> update(String id)
-
update
CompletableFuture<CampaignDesign> update(DesignUpdateParams params)
-
update
abstract CompletableFuture<CampaignDesign> update(DesignUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<CampaignDesign> update(String id, RequestOptions requestOptions)
-
-
-
-