Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MiscellaneousApi

MiscellaneousApi - object-oriented interface

export

Hierarchy

  • BaseAPI
    • MiscellaneousApi

Index

Constructors

  • Parameters

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

    Returns MiscellaneousApi

Properties

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

Methods

  • getNodeInfo(options?: AxiosRequestConfig): Promise<AxiosResponse<NodeInfo>>
  • summary

    Returns the nodeinfo of the Gitea application

    throws

    {RequiredError}

    memberof

    MiscellaneousApi

    Parameters

    • Optional options: AxiosRequestConfig

    Returns Promise<AxiosResponse<NodeInfo>>

  • getSigningKey(options?: AxiosRequestConfig): Promise<AxiosResponse<string>>
  • summary

    Get default signing-key.gpg

    throws

    {RequiredError}

    memberof

    MiscellaneousApi

    Parameters

    • Optional options: AxiosRequestConfig

    Returns Promise<AxiosResponse<string>>

  • getVersion(options?: AxiosRequestConfig): Promise<AxiosResponse<ServerVersion>>
  • summary

    Returns the version of the Gitea application

    throws

    {RequiredError}

    memberof

    MiscellaneousApi

    Parameters

    • Optional options: AxiosRequestConfig

    Returns Promise<AxiosResponse<ServerVersion>>

  • summary

    Render a markdown document as HTML

    throws

    {RequiredError}

    memberof

    MiscellaneousApi

    Parameters

    Returns Promise<AxiosResponse<string>>

  • summary

    Render raw markdown as HTML

    throws

    {RequiredError}

    memberof

    MiscellaneousApi

    Parameters

    Returns Promise<AxiosResponse<string>>

Generated using TypeDoc