public class FXAssetManagementClient extends Object
| Constructor and Description |
|---|
FXAssetManagementClient(FXAssetManagementAPI api) |
| Modifier and Type | Method and Description |
|---|---|
static FXAssetManagementClientBuilder |
builder() |
CreateProjectResponse |
createProject(String name) |
FXServiceResult |
deleteAsset(String prjuid,
String name) |
FXServiceResult |
deleteProject(String prjuid) |
InputStream |
getAppData(String prjuid,
String name) |
InputStream |
getAsset(String prjuid,
String name) |
S3ImportStatus |
getS3ImportResult(S3ImportContext ctx)
Check the status of an ongoing or completed S3Import
|
InputStream |
listAppData(String prjuid) |
ListAssetResponse |
listAssets(ListAssetRequest request) |
ListAssetResponse |
listAssets(String projectID) |
ListProjectResponse |
listProjects(ListProjectRequest request) |
S3ImportContext |
prepareS3Import(String prjuid,
String filename)
Inititate a S3 to S3 Asset import.
|
UploadResponse |
putAppData(String prjuid,
String name,
byte[] data) |
String |
S3Import(S3ImportContext ctx)
Start a S3 Import.
|
UploadResponse |
uploadAsset(String prjuid,
String name,
byte[] input) |
public FXAssetManagementClient(FXAssetManagementAPI api)
public static FXAssetManagementClientBuilder builder()
public CreateProjectResponse createProject(String name) throws FXClientException
FXClientExceptionpublic ListProjectResponse listProjects(ListProjectRequest request)
public FXServiceResult deleteProject(String prjuid) throws FXClientException, FXServiceException
FXClientExceptionFXServiceExceptionpublic InputStream getAsset(String prjuid, String name) throws FXServiceException, FXClientException
FXServiceExceptionFXClientExceptionpublic UploadResponse uploadAsset(String prjuid, String name, byte[] input) throws FXClientException, FXServiceException
FXClientExceptionFXServiceExceptionpublic FXServiceResult deleteAsset(String prjuid, String name) throws FXServiceException
FXServiceExceptionpublic ListAssetResponse listAssets(String projectID) throws FXServiceException
FXServiceExceptionpublic ListAssetResponse listAssets(ListAssetRequest request) throws FXServiceException
FXServiceExceptionpublic InputStream listAppData(String prjuid)
public InputStream getAppData(String prjuid, String name)
public UploadResponse putAppData(String prjuid, String name, byte[] data)
public S3ImportContext prepareS3Import(String prjuid, String filename) throws FXServiceException
prjuid - ID of project to transfer the asset to.filename - name for the final asset.FXServiceExceptionpublic String S3Import(S3ImportContext ctx) throws FXServiceException
ctx - FXServiceExceptionpublic S3ImportStatus getS3ImportResult(S3ImportContext ctx)
ctx -