Class UploadsApi

java.lang.Object
com.mypurecloud.sdk.v2.api.UploadsApi

public class UploadsApi extends Object
  • Constructor Details

    • UploadsApi

      public UploadsApi()
    • UploadsApi

      public UploadsApi(ApiClient apiClient)
  • Method Details

    • getKnowledgeKnowledgebaseUploadsUrlsJob

      public GetUploadSourceUrlJobStatusResponse getKnowledgeKnowledgebaseUploadsUrlsJob(String knowledgeBaseId, String jobId) throws IOException, ApiException
      Get content upload from URL job status getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      jobId - Upload job ID (required)
      Returns:
      GetUploadSourceUrlJobStatusResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - 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 getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      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 getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      GetUploadSourceUrlJobStatusResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUploadsUrlsJob

      public ApiResponse<GetUploadSourceUrlJobStatusResponse> getKnowledgeKnowledgebaseUploadsUrlsJob(ApiRequest<Void> request) throws IOException
      Get content upload from URL job status getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      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. postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      actionId - actionId (required)
      body - Input used to request URL upload. (required)
      Returns:
      FunctionUploadResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - 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. postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      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. postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      FunctionUploadResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - 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. postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      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 server
      IOException - 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 server
      IOException - 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 postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - uploadRequest (required)
      Returns:
      CreateUploadSourceUrlJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseUploadsUrlsJobsWithHttpInfo

      public ApiResponse<CreateUploadSourceUrlJobResponse> postKnowledgeKnowledgebaseUploadsUrlsJobsWithHttpInfo(String knowledgeBaseId, CreateUploadSourceUrlJobRequest body) throws IOException
      Create content upload from URL job postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      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 postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      CreateUploadSourceUrlJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseUploadsUrlsJobs

      public ApiResponse<CreateUploadSourceUrlJobResponse> postKnowledgeKnowledgebaseUploadsUrlsJobs(ApiRequest<CreateUploadSourceUrlJobRequest> request) throws IOException
      Create content upload from URL job postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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