IGPAPI
    Preparing search index...

    Interface RequestContext

    interface RequestContext {
        analyticsSurface?: string;
        endpointKind?:
            | "analytics"
            | "graphql-doc"
            | "graphql-minimal"
            | "rest"
            | "rmd"
            | "other";
        features?: RequestFeatures;
        identity: RequestIdentity;
        scope?: RequestScope;
        surface: RequestSurface;
        waterfallId?: string;
    }
    Index

    Properties

    analyticsSurface?: string

    App surface a request reports in x-fb-request-analytics-tags (surface); defaults to "undefined" on the REST path.

    endpointKind?:
        | "analytics"
        | "graphql-doc"
        | "graphql-minimal"
        | "rest"
        | "rmd"
        | "other"

    The endpoint family, when the request builder knows it better than the edge. Never media-upload: that kind is the host's (isMediaUploadRequest), so a request cannot declare itself an upload, nor an upload anything else.

    features?: RequestFeatures
    identity: RequestIdentity
    scope?: RequestScope

    App lifecycle scope issuing the request; drives API host selection, never headers.

    waterfallId?: string