@octokit/types
    Preparing search index...

    Interface OctokitResponse<T, S>

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

    Type Parameters

    • T
    • S extends number = number
    Index

    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