Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CategoriesApi

Index

Constructors

constructor

  • new CategoriesApi(basePath?: undefined | string): CategoriesApi

Properties

Protected _basePath

_basePath: string = defaultBasePath

Protected _defaultHeaders

_defaultHeaders: any

Protected _useQuerystring

_useQuerystring: boolean = false

Protected interceptors

interceptors: Interceptor[] = []

Accessors

basePath

  • get basePath(): string
  • set basePath(basePath: string): void

defaultHeaders

  • get defaultHeaders(): any
  • set defaultHeaders(defaultHeaders: any): void

useQuerystring

  • set useQuerystring(value: boolean): void

Methods

addInterceptor

cIdShowJsonGet

  • cIdShowJsonGet(id: number, options?: { headers: {} }): Promise<{ body: InlineResponse2003; response: IncomingMessage }>
  • summary

    Show category

    Parameters

    • id: number
    • Default value options: { headers: {} } = {headers: {}}
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: InlineResponse2003; response: IncomingMessage }>

cSlugIdJsonGet

  • cSlugIdJsonGet(slug: string, id: number, options?: { headers: {} }): Promise<{ body: InlineResponse2005; response: IncomingMessage }>
  • summary

    List topics

    Parameters

    • slug: string
    • id: number
    • Default value options: { headers: {} } = {headers: {}}
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: InlineResponse2005; response: IncomingMessage }>

categoriesIdJsonPut

  • categoriesIdJsonPut(id: number, inlineObject2?: InlineObject2, options?: { headers: {} }): Promise<{ body: InlineResponse2004; response: IncomingMessage }>

categoriesJsonGet

  • categoriesJsonGet(options?: { headers: {} }): Promise<{ body: InlineResponse2002; response: IncomingMessage }>
  • summary

    Retrieves a list of categories

    Parameters

    • Default value options: { headers: {} } = {headers: {}}
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: InlineResponse2002; response: IncomingMessage }>

categoriesJsonPost

setApiKey

setDefaultAuthentication

Object literals

Protected authentications

authentications: object

default

default: Authentication = <Authentication>new VoidAuth()

Generated using TypeDoc