Class FilesApi

FilesApi - object-oriented interface

Export

Hierarchy

  • BaseAPI
    • FilesApi

Constructors

  • Parameters

    • Optional configuration: Configuration
    • basePath: string = BASE_PATH
    • axios: AxiosInstance = globalAxios

    Returns FilesApi

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • Creates a File.

    Summary

    Create a File

    Throws

    Memberof

    FilesApi

    Parameters

    • requestParameters: FilesApiCreateFileRequest

      Request parameters.

    • Optional options: RawAxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<any, any>>

  • Deletes a File. This cannot be undone.

    Summary

    Delete a File

    Throws

    Memberof

    FilesApi

    Parameters

    • requestParameters: FilesApiDeleteFileRequest

      Request parameters.

    • Optional options: RawAxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<object, any>>

  • Gets the contents of a File.

    Summary

    Get the Contents of a File

    Throws

    Memberof

    FilesApi

    Parameters

    Returns Promise<AxiosResponse<File, any>>

  • Retrieves the details of an existing File.

    Summary

    Get a File

    Throws

    Memberof

    FilesApi

    Parameters

    • requestParameters: FilesApiGetFileRequest

      Request parameters.

    • Optional options: RawAxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<any, any>>

  • Returns a list of Files. The Files are sorted with the most recently created appearing first.

    Summary

    List all Files

    Throws

    Memberof

    FilesApi

    Parameters

    • requestParameters: FilesApiListFilesRequest

      Request parameters.

    • Optional options: RawAxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<ListFiles200Response, any>>

Generated using TypeDoc