Package com.mypurecloud.sdk.v2.api
Class UploadsApi
java.lang.Object
com.mypurecloud.sdk.v2.api.UploadsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet content upload from URL job statusGet content upload from URL job statusgetKnowledgeKnowledgebaseUploadsUrlsJob(String knowledgeBaseId, String jobId) Get content upload from URL job statusgetKnowledgeKnowledgebaseUploadsUrlsJobWithHttpInfo(String knowledgeBaseId, String jobId) Get content upload from URL job statuspostGamificationContestsUploadsPrizeimages(PostGamificationContestsUploadsPrizeimagesRequest request) Generates pre-signed URL to upload a prize image for gamification contestspostGamificationContestsUploadsPrizeimages(ApiRequest<GamificationContestPrizeImageUploadUrlRequest> request) Generates pre-signed URL to upload a prize image for gamification contestsGenerates pre-signed URL to upload a prize image for gamification contestspostGamificationContestsUploadsPrizeimagesWithHttpInfo(GamificationContestPrizeImageUploadUrlRequest body) Generates pre-signed URL to upload a prize image for gamification contestsGenerate presigned URL for uploading a file content to generate guidepostGuidesUploads(ApiRequest<UploadUrlRequest> request) Generate presigned URL for uploading a file content to generate guideGenerate presigned URL for uploading a file content to generate guideGenerate presigned URL for uploading a file content to generate guideCreate upload presigned URL for draft function package file.Create upload presigned URL for draft function package file.postIntegrationsActionDraftFunctionUpload(String actionId, FunctionUploadRequest body) Create upload presigned URL for draft function package file.Create upload presigned URL for draft function package file.Creates a presigned URL for uploading a knowledge import file with a set of documentsCreates a presigned URL for uploading a knowledge import file with a set of documentsCreates a presigned URL for uploading a knowledge import file with a set of documentsCreates a presigned URL for uploading a knowledge import file with a set of documentsCreate content upload from URL jobCreate content upload from URL jobpostKnowledgeKnowledgebaseUploadsUrlsJobs(String knowledgeBaseId, CreateUploadSourceUrlJobRequest body) Create content upload from URL jobpostKnowledgeKnowledgebaseUploadsUrlsJobsWithHttpInfo(String knowledgeBaseId, CreateUploadSourceUrlJobRequest body) Create content upload from URL jobCreates a presigned URL for uploading a chat corpus which will be used for mining by intent minerCreates a presigned URL for uploading a chat corpus which will be used for mining by intent minerpostLanguageunderstandingMinerUploads(String minerId, Object body) Creates a presigned URL for uploading a chat corpus which will be used for mining by intent minerpostLanguageunderstandingMinerUploadsWithHttpInfo(String minerId, Object body) Creates a presigned URL for uploading a chat corpus which will be used for mining by intent minerGenerates pre-signed URL to upload cover art for learning modulesGenerates pre-signed URL to upload cover art for learning modulesGenerates pre-signed URL to upload cover art for learning modulesGenerates pre-signed URL to upload cover art for learning modulesCreates presigned url for uploading a public asset imageCreates presigned url for uploading a public asset imageCreates presigned url for uploading a public asset imageCreates presigned url for uploading a public asset imageCreates presigned url for uploading a recording filepostUploadsRecordings(ApiRequest<UploadUrlRequest> request) Creates presigned url for uploading a recording fileCreates presigned url for uploading a recording fileCreates presigned url for uploading a recording filepostUploadsWorkforcemanagementHistoricaldataCsv(PostUploadsWorkforcemanagementHistoricaldataCsvRequest request) Creates presigned url for uploading WFM historical data file.Creates presigned url for uploading WFM historical data file.Creates presigned url for uploading WFM historical data file.Creates presigned url for uploading WFM historical data file.
-
Constructor Details
-
UploadsApi
public UploadsApi() -
UploadsApi
-
-
Method Details
-
getKnowledgeKnowledgebaseUploadsUrlsJob
public GetUploadSourceUrlJobStatusResponse getKnowledgeKnowledgebaseUploadsUrlsJob(String knowledgeBaseId, String jobId) throws IOException, ApiException Get content upload from URL job status- Parameters:
knowledgeBaseId- Knowledge base ID (required)jobId- Upload job ID (required)- Returns:
- GetUploadSourceUrlJobStatusResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getKnowledgeKnowledgebaseUploadsUrlsJobWithHttpInfo
public ApiResponse<GetUploadSourceUrlJobStatusResponse> getKnowledgeKnowledgebaseUploadsUrlsJobWithHttpInfo(String knowledgeBaseId, String jobId) throws IOException Get content upload from URL job status- Parameters:
knowledgeBaseId- Knowledge base ID (required)jobId- Upload job ID (required)- Returns:
- GetUploadSourceUrlJobStatusResponse
- Throws:
IOException- if the request fails to be processed
-
getKnowledgeKnowledgebaseUploadsUrlsJob
public GetUploadSourceUrlJobStatusResponse getKnowledgeKnowledgebaseUploadsUrlsJob(GetKnowledgeKnowledgebaseUploadsUrlsJobRequest request) throws IOException, ApiException Get content upload from URL job status- Parameters:
request- The request object- Returns:
- GetUploadSourceUrlJobStatusResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getKnowledgeKnowledgebaseUploadsUrlsJob
public ApiResponse<GetUploadSourceUrlJobStatusResponse> getKnowledgeKnowledgebaseUploadsUrlsJob(ApiRequest<Void> request) throws IOException Get content upload from URL job status- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postGamificationContestsUploadsPrizeimages
public UploadUrlResponse postGamificationContestsUploadsPrizeimages(GamificationContestPrizeImageUploadUrlRequest body) throws IOException, ApiException Generates pre-signed URL to upload a prize image for gamification contests- Parameters:
body- query (required)- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postGamificationContestsUploadsPrizeimagesWithHttpInfo
public ApiResponse<UploadUrlResponse> postGamificationContestsUploadsPrizeimagesWithHttpInfo(GamificationContestPrizeImageUploadUrlRequest body) throws IOException Generates pre-signed URL to upload a prize image for gamification contests- Parameters:
body- query (required)- Returns:
- UploadUrlResponse
- Throws:
IOException- if the request fails to be processed
-
postGamificationContestsUploadsPrizeimages
public UploadUrlResponse postGamificationContestsUploadsPrizeimages(PostGamificationContestsUploadsPrizeimagesRequest request) throws IOException, ApiException Generates pre-signed URL to upload a prize image for gamification contests- Parameters:
request- The request object- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postGamificationContestsUploadsPrizeimages
public ApiResponse<UploadUrlResponse> postGamificationContestsUploadsPrizeimages(ApiRequest<GamificationContestPrizeImageUploadUrlRequest> request) throws IOException Generates pre-signed URL to upload a prize image for gamification contests- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postGuidesUploads
Generate presigned URL for uploading a file content to generate guide- Parameters:
body- query (required)- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postGuidesUploadsWithHttpInfo
public ApiResponse<UploadUrlResponse> postGuidesUploadsWithHttpInfo(UploadUrlRequest body) throws IOException Generate presigned URL for uploading a file content to generate guide- Parameters:
body- query (required)- Returns:
- UploadUrlResponse
- Throws:
IOException- if the request fails to be processed
-
postGuidesUploads
public UploadUrlResponse postGuidesUploads(PostGuidesUploadsRequest request) throws IOException, ApiException Generate presigned URL for uploading a file content to generate guide- Parameters:
request- The request object- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postGuidesUploads
public ApiResponse<UploadUrlResponse> postGuidesUploads(ApiRequest<UploadUrlRequest> request) throws IOException Generate presigned URL for uploading a file content to generate guide- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postIntegrationsActionDraftFunctionUpload
public FunctionUploadResponse postIntegrationsActionDraftFunctionUpload(String actionId, FunctionUploadRequest body) throws IOException, ApiException Create upload presigned URL for draft function package file.- Parameters:
actionId- actionId (required)body- Input used to request URL upload. (required)- Returns:
- FunctionUploadResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postIntegrationsActionDraftFunctionUploadWithHttpInfo
public ApiResponse<FunctionUploadResponse> postIntegrationsActionDraftFunctionUploadWithHttpInfo(String actionId, FunctionUploadRequest body) throws IOException Create upload presigned URL for draft function package file.- Parameters:
actionId- actionId (required)body- Input used to request URL upload. (required)- Returns:
- FunctionUploadResponse
- Throws:
IOException- if the request fails to be processed
-
postIntegrationsActionDraftFunctionUpload
public FunctionUploadResponse postIntegrationsActionDraftFunctionUpload(PostIntegrationsActionDraftFunctionUploadRequest request) throws IOException, ApiException Create upload presigned URL for draft function package file.- Parameters:
request- The request object- Returns:
- FunctionUploadResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postIntegrationsActionDraftFunctionUpload
public ApiResponse<FunctionUploadResponse> postIntegrationsActionDraftFunctionUpload(ApiRequest<FunctionUploadRequest> request) throws IOException Create upload presigned URL for draft function package file.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postKnowledgeDocumentuploads
public UploadUrlResponse postKnowledgeDocumentuploads(UploadUrlRequest body) throws IOException, ApiException Creates a presigned URL for uploading a knowledge import file with a set of documents- Parameters:
body- query (required)- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postKnowledgeDocumentuploadsWithHttpInfo
public ApiResponse<UploadUrlResponse> postKnowledgeDocumentuploadsWithHttpInfo(UploadUrlRequest body) throws IOException Creates a presigned URL for uploading a knowledge import file with a set of documents- Parameters:
body- query (required)- Returns:
- UploadUrlResponse
- Throws:
IOException- if the request fails to be processed
-
postKnowledgeDocumentuploads
public UploadUrlResponse postKnowledgeDocumentuploads(PostKnowledgeDocumentuploadsRequest request) throws IOException, ApiException Creates a presigned URL for uploading a knowledge import file with a set of documents- Parameters:
request- The request object- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postKnowledgeDocumentuploads
public ApiResponse<UploadUrlResponse> postKnowledgeDocumentuploads(ApiRequest<UploadUrlRequest> request) throws IOException Creates a presigned URL for uploading a knowledge import file with a set of documents- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postKnowledgeKnowledgebaseUploadsUrlsJobs
public CreateUploadSourceUrlJobResponse postKnowledgeKnowledgebaseUploadsUrlsJobs(String knowledgeBaseId, CreateUploadSourceUrlJobRequest body) throws IOException, ApiException Create content upload from URL job- Parameters:
knowledgeBaseId- Knowledge base ID (required)body- uploadRequest (required)- Returns:
- CreateUploadSourceUrlJobResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postKnowledgeKnowledgebaseUploadsUrlsJobsWithHttpInfo
public ApiResponse<CreateUploadSourceUrlJobResponse> postKnowledgeKnowledgebaseUploadsUrlsJobsWithHttpInfo(String knowledgeBaseId, CreateUploadSourceUrlJobRequest body) throws IOException Create content upload from URL job- Parameters:
knowledgeBaseId- Knowledge base ID (required)body- uploadRequest (required)- Returns:
- CreateUploadSourceUrlJobResponse
- Throws:
IOException- if the request fails to be processed
-
postKnowledgeKnowledgebaseUploadsUrlsJobs
public CreateUploadSourceUrlJobResponse postKnowledgeKnowledgebaseUploadsUrlsJobs(PostKnowledgeKnowledgebaseUploadsUrlsJobsRequest request) throws IOException, ApiException Create content upload from URL job- Parameters:
request- The request object- Returns:
- CreateUploadSourceUrlJobResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postKnowledgeKnowledgebaseUploadsUrlsJobs
public ApiResponse<CreateUploadSourceUrlJobResponse> postKnowledgeKnowledgebaseUploadsUrlsJobs(ApiRequest<CreateUploadSourceUrlJobRequest> request) throws IOException Create content upload from URL job- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postLanguageunderstandingMinerUploads
public UploadUrlResponse postLanguageunderstandingMinerUploads(String minerId, Object body) throws IOException, ApiException Creates a presigned URL for uploading a chat corpus which will be used for mining by intent miner- Parameters:
minerId- Miner ID (required)body- query (required)- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postLanguageunderstandingMinerUploadsWithHttpInfo
public ApiResponse<UploadUrlResponse> postLanguageunderstandingMinerUploadsWithHttpInfo(String minerId, Object body) throws IOException Creates a presigned URL for uploading a chat corpus which will be used for mining by intent miner- Parameters:
minerId- Miner ID (required)body- query (required)- Returns:
- UploadUrlResponse
- Throws:
IOException- if the request fails to be processed
-
postLanguageunderstandingMinerUploads
public UploadUrlResponse postLanguageunderstandingMinerUploads(PostLanguageunderstandingMinerUploadsRequest request) throws IOException, ApiException Creates a presigned URL for uploading a chat corpus which will be used for mining by intent miner- Parameters:
request- The request object- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postLanguageunderstandingMinerUploads
public ApiResponse<UploadUrlResponse> postLanguageunderstandingMinerUploads(ApiRequest<Object> request) throws IOException Creates a presigned URL for uploading a chat corpus which will be used for mining by intent miner- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postUploadsLearningCoverart
public UploadUrlResponse postUploadsLearningCoverart(LearningCoverArtUploadUrlRequest body) throws IOException, ApiException Generates pre-signed URL to upload cover art for learning modules- Parameters:
body- query (required)- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postUploadsLearningCoverartWithHttpInfo
public ApiResponse<UploadUrlResponse> postUploadsLearningCoverartWithHttpInfo(LearningCoverArtUploadUrlRequest body) throws IOException Generates pre-signed URL to upload cover art for learning modules- Parameters:
body- query (required)- Returns:
- UploadUrlResponse
- Throws:
IOException- if the request fails to be processed
-
postUploadsLearningCoverart
public UploadUrlResponse postUploadsLearningCoverart(PostUploadsLearningCoverartRequest request) throws IOException, ApiException Generates pre-signed URL to upload cover art for learning modules- Parameters:
request- The request object- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postUploadsLearningCoverart
public ApiResponse<UploadUrlResponse> postUploadsLearningCoverart(ApiRequest<LearningCoverArtUploadUrlRequest> request) throws IOException Generates pre-signed URL to upload cover art for learning modules- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postUploadsPublicassetsImages
public UploadUrlResponse postUploadsPublicassetsImages(UploadUrlRequest body) throws IOException, ApiException Creates presigned url for uploading a public asset image- Parameters:
body- query (required)- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postUploadsPublicassetsImagesWithHttpInfo
public ApiResponse<UploadUrlResponse> postUploadsPublicassetsImagesWithHttpInfo(UploadUrlRequest body) throws IOException Creates presigned url for uploading a public asset image- Parameters:
body- query (required)- Returns:
- UploadUrlResponse
- Throws:
IOException- if the request fails to be processed
-
postUploadsPublicassetsImages
public UploadUrlResponse postUploadsPublicassetsImages(PostUploadsPublicassetsImagesRequest request) throws IOException, ApiException Creates presigned url for uploading a public asset image- Parameters:
request- The request object- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postUploadsPublicassetsImages
public ApiResponse<UploadUrlResponse> postUploadsPublicassetsImages(ApiRequest<UploadUrlRequest> request) throws IOException Creates presigned url for uploading a public asset image- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postUploadsRecordings
public UploadUrlResponse postUploadsRecordings(UploadUrlRequest body) throws IOException, ApiException Creates presigned url for uploading a recording file- Parameters:
body- query (required)- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postUploadsRecordingsWithHttpInfo
public ApiResponse<UploadUrlResponse> postUploadsRecordingsWithHttpInfo(UploadUrlRequest body) throws IOException Creates presigned url for uploading a recording file- Parameters:
body- query (required)- Returns:
- UploadUrlResponse
- Throws:
IOException- if the request fails to be processed
-
postUploadsRecordings
public UploadUrlResponse postUploadsRecordings(PostUploadsRecordingsRequest request) throws IOException, ApiException Creates presigned url for uploading a recording file- Parameters:
request- The request object- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postUploadsRecordings
public ApiResponse<UploadUrlResponse> postUploadsRecordings(ApiRequest<UploadUrlRequest> request) throws IOException Creates presigned url for uploading a recording file- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postUploadsWorkforcemanagementHistoricaldataCsv
public UploadUrlResponse postUploadsWorkforcemanagementHistoricaldataCsv(UploadUrlRequest body) throws IOException, ApiException Creates presigned url for uploading WFM historical data file. Requires data in csv format.- Parameters:
body- query (required)- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postUploadsWorkforcemanagementHistoricaldataCsvWithHttpInfo
public ApiResponse<UploadUrlResponse> postUploadsWorkforcemanagementHistoricaldataCsvWithHttpInfo(UploadUrlRequest body) throws IOException Creates presigned url for uploading WFM historical data file. Requires data in csv format.- Parameters:
body- query (required)- Returns:
- UploadUrlResponse
- Throws:
IOException- if the request fails to be processed
-
postUploadsWorkforcemanagementHistoricaldataCsv
public UploadUrlResponse postUploadsWorkforcemanagementHistoricaldataCsv(PostUploadsWorkforcemanagementHistoricaldataCsvRequest request) throws IOException, ApiException Creates presigned url for uploading WFM historical data file. Requires data in csv format.- Parameters:
request- The request object- Returns:
- UploadUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postUploadsWorkforcemanagementHistoricaldataCsv
public ApiResponse<UploadUrlResponse> postUploadsWorkforcemanagementHistoricaldataCsv(ApiRequest<UploadUrlRequest> request) throws IOException Creates presigned url for uploading WFM historical data file. Requires data in csv format.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-