Compartir a través de


GraphRequest interface

Escrituras para el objeto GraphRequest Para obtener más información: https://github.com/microsoftgraph/msgraph-sdk-javascript

Propiedades

_headers
_responseType
config
urlComponents

Métodos

buildFullUrl()
constructor(config, path)
count(count)
create(content, callback)
del(callback)
delete(callback)
expand(properties)
filter(filterStr)
get(callback)
getStream(callback)
header(headerKey, headerValue)
headers(headers)
orderby(properties)
parsePath(rawPath)
patch(content, callback)
post(content, callback)
put(content, callback)
putStream(stream, callback)
query(queryDictionaryOrString)
responseType(responseType)
select(properties)
skip(n)
skipToken(token)
top(n)
update(content, callback)
version(v)

Detalles de las propiedades

_headers

_headers: {
        [key: string]: string | number;
    };

Valor de propiedad

{ [key: string]: string | number; }

_responseType

_responseType: string;

Valor de propiedad

string

config

config: Options;

Valor de propiedad

@microsoft/microsoft-graph-client!Options:interface

urlComponents

urlComponents: URLComponents;

Valor de propiedad

@microsoft/microsoft-graph-client!URLComponents:interface

Detalles del método

buildFullUrl()

buildFullUrl(): string;

Devoluciones

string

constructor(config, path)

constructor(config: Options, path: string): IGraphRequest;

Parámetros

config
@microsoft/microsoft-graph-client!Options:interface
path

string

Devoluciones

count(count)

count(count: boolean): IGraphRequest;

Parámetros

count

boolean

Devoluciones

create(content, callback)

create(content: any, callback?: GraphRequestCallback): Promise<any>;

Parámetros

content

any

callback
@microsoft/microsoft-graph-client!GraphRequestCallback:type

Devoluciones

Promise<any>

del(callback)

del(callback?: GraphRequestCallback): Promise<any>;

Parámetros

callback
@microsoft/microsoft-graph-client!GraphRequestCallback:type

Devoluciones

Promise<any>

delete(callback)

delete(callback?: GraphRequestCallback): Promise<any>;

Parámetros

callback
@microsoft/microsoft-graph-client!GraphRequestCallback:type

Devoluciones

Promise<any>

expand(properties)

expand(properties: string | string[]): IGraphRequest;

Parámetros

properties

string | string[]

Devoluciones

filter(filterStr)

filter(filterStr: string): IGraphRequest;

Parámetros

filterStr

string

Devoluciones

get(callback)

get(callback?: GraphRequestCallback): Promise<any>;

Parámetros

callback
@microsoft/microsoft-graph-client!GraphRequestCallback:type

Devoluciones

Promise<any>

getStream(callback)

getStream(callback: GraphRequestCallback): void;

Parámetros

callback
@microsoft/microsoft-graph-client!GraphRequestCallback:type

Devoluciones

void

header(headerKey, headerValue)

header(headerKey: string, headerValue: string): this;

Parámetros

headerKey

string

headerValue

string

Devoluciones

this

headers(headers)

headers(headers: {
        [key: string]: string | number;
    }): this;

Parámetros

headers

{ [key: string]: string | number; }

Devoluciones

this

orderby(properties)

orderby(properties: string | string[]): IGraphRequest;

Parámetros

properties

string | string[]

Devoluciones

parsePath(rawPath)

parsePath(rawPath: string): void;

Parámetros

rawPath

string

Devoluciones

void

patch(content, callback)

patch(content: any, callback?: GraphRequestCallback): Promise<any>;

Parámetros

content

any

callback
@microsoft/microsoft-graph-client!GraphRequestCallback:type

Devoluciones

Promise<any>

post(content, callback)

post(content: any, callback?: GraphRequestCallback): Promise<any>;

Parámetros

content

any

callback
@microsoft/microsoft-graph-client!GraphRequestCallback:type

Devoluciones

Promise<any>

put(content, callback)

put(content: any, callback?: GraphRequestCallback): Promise<any>;

Parámetros

content

any

callback
@microsoft/microsoft-graph-client!GraphRequestCallback:type

Devoluciones

Promise<any>

putStream(stream, callback)

putStream(stream: any, callback: GraphRequestCallback): void;

Parámetros

stream

any

callback
@microsoft/microsoft-graph-client!GraphRequestCallback:type

Devoluciones

void

query(queryDictionaryOrString)

query(queryDictionaryOrString: string | {
        [key: string]: string | number;
    }): IGraphRequest;

Parámetros

queryDictionaryOrString

string | { [key: string]: string | number; }

Devoluciones

responseType(responseType)

responseType(responseType: string): IGraphRequest;

Parámetros

responseType

string

Devoluciones

select(properties)

select(properties: string | string[]): IGraphRequest;

Parámetros

properties

string | string[]

Devoluciones

skip(n)

skip(n: number): IGraphRequest;

Parámetros

n

number

Devoluciones

skipToken(token)

skipToken(token: string): IGraphRequest;

Parámetros

token

string

Devoluciones

top(n)

top(n: number): IGraphRequest;

Parámetros

n

number

Devoluciones

update(content, callback)

update(content: any, callback?: GraphRequestCallback): Promise<any>;

Parámetros

content

any

callback
@microsoft/microsoft-graph-client!GraphRequestCallback:type

Devoluciones

Promise<any>

version(v)

version(v: string): IGraphRequest;

Parámetros

v

string

Devoluciones