Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PackageApi

PackageApi - object-oriented interface

export

Hierarchy

  • BaseAPI
    • PackageApi

Index

Constructors

  • Parameters

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

    Returns PackageApi

Properties

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

Methods

  • summary

    Delete a package

    throws

    {RequiredError}

    memberof

    PackageApi

    Parameters

    Returns Promise<AxiosResponse<void>>

  • summary

    Gets a package

    throws

    {RequiredError}

    memberof

    PackageApi

    Parameters

    Returns Promise<AxiosResponse<Package>>

  • summary

    Gets all files of a package

    throws

    {RequiredError}

    memberof

    PackageApi

    Parameters

    Returns Promise<AxiosResponse<PackageFile[]>>

  • summary

    Gets all packages of an owner

    throws

    {RequiredError}

    memberof

    PackageApi

    Parameters

    Returns Promise<AxiosResponse<Package[]>>

Generated using TypeDoc