Freigeben über


GraphRequest interface

Eingaben für das GraphRequest-Objekt Weitere Informationen: https://github.com/microsoftgraph/msgraph-sdk-javascript

Eigenschaften

_headers
_responseType
config
urlComponents

Methoden

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)

Details zur Eigenschaft

_headers

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

Eigenschaftswert

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

_responseType

_responseType: string;

Eigenschaftswert

string

config

config: Options;

Eigenschaftswert

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

urlComponents

urlComponents: URLComponents;

Eigenschaftswert

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

Details zur Methode

buildFullUrl()

buildFullUrl(): string;

Gibt zurück

string

constructor(config, path)

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

Parameter

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

string

Gibt zurück

count(count)

count(count: boolean): IGraphRequest;

Parameter

count

boolean

Gibt zurück

create(content, callback)

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

Parameter

content

any

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

Gibt zurück

Promise<any>

del(callback)

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

Parameter

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

Gibt zurück

Promise<any>

delete(callback)

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

Parameter

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

Gibt zurück

Promise<any>

expand(properties)

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

Parameter

properties

string | string[]

Gibt zurück

filter(filterStr)

filter(filterStr: string): IGraphRequest;

Parameter

filterStr

string

Gibt zurück

get(callback)

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

Parameter

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

Gibt zurück

Promise<any>

getStream(callback)

getStream(callback: GraphRequestCallback): void;

Parameter

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

Gibt zurück

void

header(headerKey, headerValue)

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

Parameter

headerKey

string

headerValue

string

Gibt zurück

this

headers(headers)

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

Parameter

headers

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

Gibt zurück

this

orderby(properties)

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

Parameter

properties

string | string[]

Gibt zurück

parsePath(rawPath)

parsePath(rawPath: string): void;

Parameter

rawPath

string

Gibt zurück

void

patch(content, callback)

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

Parameter

content

any

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

Gibt zurück

Promise<any>

post(content, callback)

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

Parameter

content

any

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

Gibt zurück

Promise<any>

put(content, callback)

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

Parameter

content

any

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

Gibt zurück

Promise<any>

putStream(stream, callback)

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

Parameter

stream

any

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

Gibt zurück

void

query(queryDictionaryOrString)

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

Parameter

queryDictionaryOrString

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

Gibt zurück

responseType(responseType)

responseType(responseType: string): IGraphRequest;

Parameter

responseType

string

Gibt zurück

select(properties)

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

Parameter

properties

string | string[]

Gibt zurück

skip(n)

skip(n: number): IGraphRequest;

Parameter

n

number

Gibt zurück

skipToken(token)

skipToken(token: string): IGraphRequest;

Parameter

token

string

Gibt zurück

top(n)

top(n: number): IGraphRequest;

Parameter

n

number

Gibt zurück

update(content, callback)

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

Parameter

content

any

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

Gibt zurück

Promise<any>

version(v)

version(v: string): IGraphRequest;

Parameter

v

string

Gibt zurück