Interface EndpointInterface
Callable
__call( options: EndpointOptions ) : RequestOptions
__call<R>( route: keyof Endpoints | R , options?: R extends keyof Endpoints ? Endpoints[R]["parameters"] & RequestParameters : RequestParameters ) : R extends keyof Endpoints ? Endpoints[R]["request"] : RequestOptions
Defined in node_modules/@octokit/types/src/EndpointInterface.ts:9
Parameters
Defined in node_modules/@octokit/types/src/EndpointInterface.ts:15
Type parameters
Parameters
route: keyof Endpoints | R
Optional options: R extends keyof Endpoints ? Endpoints[R]["parameters"] & RequestParameters : RequestParameters
Returns R extends keyof Endpoints ? Endpoints[R]["request"] : RequestOptions
Properties
DEFAULTS
Defined in node_modules/@octokit/types/src/EndpointInterface.ts:33
defaults
defaults: function
Defined in node_modules/@octokit/types/src/EndpointInterface.ts:38
merge
merge: function
Defined in node_modules/@octokit/types/src/EndpointInterface.ts:40
parse
parse: function
Defined in node_modules/@octokit/types/src/EndpointInterface.ts:73
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Transforms a GitHub REST API endpoint into generic request options