Constructors

Methods

Constructors

Methods

  • Parameters

    • slug: string

      The slug to delete.

    • data: unknown

      Body data.

    • Optionalconfig: {
          query?: Record<string, string>;
      } & AxiosRequestConfig<any>

      Config.

    Returns Promise<AxiosResponse<any, any>>

    Returns a promise with the response.

  • Parameters

    • slug: string

      The slug to get.

    • Optionalconfig: {
          query?: Record<string, string>;
      } & AxiosRequestConfig<any>

      Config.

    Returns Promise<AxiosResponse<any, any>>

    Returns a promise with the response.

  • Parameters

    • slug: string
    • Optionalquery: Record<string, string>

    Returns string

    Returns the full url.

  • Parameters

    • slug: string

      The slug to post.

    • data: unknown

      Body data.

    • Optionalconfig: {
          query?: Record<string, string>;
      } & AxiosRequestConfig<any>

      Config.

    Returns Promise<AxiosResponse<any, any>>

    Returns a promise with the response.

  • Parameters

    • slug: string

      The slug to put.

    • data: unknown

      Body data.

    • Optionalconfig: {
          query?: Record<string, string>;
      } & AxiosRequestConfig<any>

      Config.

    Returns Promise<AxiosResponse<any, any>>

    Returns a promise with the response.