public class PublicApi extends Object
Constructor and Description |
---|
PublicApi()
Creates a ConfigurationFetcher with the default
OkHttpClient |
PublicApi(okhttp3.OkHttpClient client) |
Modifier and Type | Method and Description |
---|---|
List<AuditLog> |
getAuditLogs(String accessToken,
String applicationId,
String environmentName,
Date startDate) |
List<Flag> |
getFlags(String accessToken,
String applicationId,
String environmentName) |
static PublicApi |
getInstance() |
List<TargetGroup> |
getTargetGroups(String accessToken,
String applicationId) |
List<Application> |
listApplications(String accessToken) |
List<Environment> |
listEnvironments(String accessToken,
String applicationId) |
public PublicApi()
OkHttpClient
public PublicApi(okhttp3.OkHttpClient client)
public static PublicApi getInstance()
public List<Application> listApplications(String accessToken) throws IOException
IOException
public List<Environment> listEnvironments(String accessToken, String applicationId) throws IOException
IOException
public List<Flag> getFlags(String accessToken, String applicationId, String environmentName) throws IOException
IOException
public List<TargetGroup> getTargetGroups(String accessToken, String applicationId) throws IOException
IOException
public List<AuditLog> getAuditLogs(String accessToken, String applicationId, String environmentName, Date startDate) throws IOException
IOException
Copyright © 2016–2023. All rights reserved.