Partager via


GraphRequest interface

Saisies pour l’objet GraphRequest Pour plus d’informations : https://github.com/microsoftgraph/msgraph-sdk-javascript

Propriétés

_headers
_responseType
config
urlComponents

Méthodes

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)

Détails de la propriété

_headers

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

Valeur de propriété

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

_responseType

_responseType: string;

Valeur de propriété

string

config

config: Options;

Valeur de propriété

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

urlComponents

urlComponents: URLComponents;

Valeur de propriété

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

Détails de la méthode

buildFullUrl()

buildFullUrl(): string;

Retours

string

constructor(config, path)

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

Paramètres

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

string

Retours

count(count)

count(count: boolean): IGraphRequest;

Paramètres

count

boolean

Retours

create(content, callback)

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

Paramètres

content

any

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

Retours

Promise<any>

del(callback)

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

Paramètres

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

Retours

Promise<any>

delete(callback)

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

Paramètres

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

Retours

Promise<any>

expand(properties)

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

Paramètres

properties

string | string[]

Retours

filter(filterStr)

filter(filterStr: string): IGraphRequest;

Paramètres

filterStr

string

Retours

get(callback)

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

Paramètres

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

Retours

Promise<any>

getStream(callback)

getStream(callback: GraphRequestCallback): void;

Paramètres

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

Retours

void

header(headerKey, headerValue)

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

Paramètres

headerKey

string

headerValue

string

Retours

this

headers(headers)

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

Paramètres

headers

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

Retours

this

orderby(properties)

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

Paramètres

properties

string | string[]

Retours

parsePath(rawPath)

parsePath(rawPath: string): void;

Paramètres

rawPath

string

Retours

void

patch(content, callback)

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

Paramètres

content

any

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

Retours

Promise<any>

post(content, callback)

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

Paramètres

content

any

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

Retours

Promise<any>

put(content, callback)

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

Paramètres

content

any

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

Retours

Promise<any>

putStream(stream, callback)

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

Paramètres

stream

any

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

Retours

void

query(queryDictionaryOrString)

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

Paramètres

queryDictionaryOrString

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

Retours

responseType(responseType)

responseType(responseType: string): IGraphRequest;

Paramètres

responseType

string

Retours

select(properties)

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

Paramètres

properties

string | string[]

Retours

skip(n)

skip(n: number): IGraphRequest;

Paramètres

n

number

Retours

skipToken(token)

skipToken(token: string): IGraphRequest;

Paramètres

token

string

Retours

top(n)

top(n: number): IGraphRequest;

Paramètres

n

number

Retours

update(content, callback)

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

Paramètres

content

any

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

Retours

Promise<any>

version(v)

version(v: string): IGraphRequest;

Paramètres

v

string

Retours