Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Endpoint

Callable

  • Parameters

    • Route: string
    • Optional EndpointOptions: Octokit.EndpointOptions

    Returns RequestOptions

  • Parameters

    Returns RequestOptions

Index

Properties

Methods

Properties

DEFAULTS

DEFAULTS: EndpointOptions

Current default options

Methods

defaults

  • Merges existing defaults with passed options and returns new endpoint() method with new defaults

    Parameters

    Returns Endpoint

merge

  • Get the defaulted endpoint options, but without parsing them into request options:

    Parameters

    • Route: string
    • Optional EndpointOptions: Octokit.EndpointOptions

    Returns RequestOptions

  • Parameters

    Returns RequestOptions

parse

  • Stateless method to turn endpoint options into request options. Calling endpoint(options) is the same as calling endpoint.parse(endpoint.merge(options)).

    Parameters

    Returns RequestOptions

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Static method

Generated using TypeDoc