Interface OctokitResponse<T, S>

interface OctokitResponse<T, S> {
    data: T;
    headers: ResponseHeaders;
    status: S;
    url: string;
}

Type Parameters

  • T
  • S extends number = number

Properties

Properties

data: T

Response data as documented in the REST API reference documentation at https://docs.github.com/rest/reference

status: S

http response code

url: string

URL of response after all redirects