Interface ApiResponse<T>

Type Parameters

  • T

Hierarchy

  • ApiResponse

Properties

data?: T

Reponse data

Error object in the event of an error

headers: AxiosResponseHeaders | Partial<Record<string, string> & {
    set-cookie?: string[];
}>

API response headers

Remarks

Can be useful for things like cache control, ratelimiting, or general debuging

pagination?: PaginationResponse

Pagination info

Generated using TypeDoc v0.23.20