JsonApiClient

Hierarchy

  • JsonApiClient

Index

Constructors

Properties

Methods

Constructors

constructor

+ new JsonApiClient(httpClient: HttpClient): JsonApiClient

Parameters:

Name

Type

httpClient

HttpClient

Returns: JsonApiClient

Properties

httpClient

httpClient: HttpClient

Methods

get

get<D, M>(uri: string): GetBuilderRawResponse‹D, M››

Type parameters:

D: AnyData

M: object

Parameters:

Name

Type

uri

string

Returns: GetBuilderRawResponse‹D, M››

getList

getList<D, M>(uri: string): GetListBuilderRawListResponse‹D, M›, object›

Type parameters:

D: AnyData

M: ListMetaData

Parameters:

Name

Type

uri

string

Returns: GetListBuilderRawListResponse‹D, M›, object›

patch

patch<D, M>(uri: string): UpdateBuilderRawResponse‹D, M››

Type parameters:

D: AnyData

M: object

Parameters:

Name

Type

uri

string

Returns: UpdateBuilderRawResponse‹D, M››

post

post<D, M>(uri: string): PostBuilderRawResponse‹D, M››

Type parameters:

D: AnyData

M: object

Parameters:

Name

Type

uri

string

Returns: PostBuilderRawResponse‹D, M››

put

put<D, M>(uri: string): UpdateBuilderRawResponse‹D, M››

Type parameters:

D: AnyData

M: object

Parameters:

Name

Type

uri

string

Returns: UpdateBuilderRawResponse‹D, M››

remove

remove<D, M>(uri: string): RemoveBuilderRawResponse‹D, M››

Type parameters:

D: AnyData

M: object

Parameters:

Name

Type

uri

string

Returns: RemoveBuilderRawResponse‹D, M››

Last updated