Skip to main content

Class: AttributesApi

Types.AttributesApi

Hierarchy

Constructors

constructor

new AttributesApi(configuration?)

Parameters

NameTypeDefault value
configurationConfigurationDefaultConfig

Inherited from

BaseAPI.constructor

Methods

deleteAttributesBucketName

deleteAttributesBucketName(requestParameters, initOverrides?): Promise<APIResponseBase>

Delete attributes from a single bucket

Parameters

NameType
requestParametersDeleteAttributesBucketNameRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<APIResponseBase>


deleteAttributesBucketNameRaw

deleteAttributesBucketNameRaw(requestParameters, initOverrides?): Promise<ApiResponse<APIResponseBase>>

Delete attributes from a single bucket

Parameters

NameType
requestParametersDeleteAttributesBucketNameRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<APIResponseBase>>


getAttributes

getAttributes(requestParameters?, initOverrides?): Promise<GetAttributes200Response>

Retrieve attributes from multiple buckets

Parameters

NameType
requestParametersGetAttributesRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<GetAttributes200Response>


getAttributesBucketName

getAttributesBucketName(requestParameters, initOverrides?): Promise<GetAttributesBucketName200Response>

Retrieve attributes from a single bucket

Parameters

NameType
requestParametersGetAttributesBucketNameRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<GetAttributesBucketName200Response>


getAttributesBucketNameRaw

getAttributesBucketNameRaw(requestParameters, initOverrides?): Promise<ApiResponse<GetAttributesBucketName200Response>>

Retrieve attributes from a single bucket

Parameters

NameType
requestParametersGetAttributesBucketNameRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<GetAttributesBucketName200Response>>


getAttributesRaw

getAttributesRaw(requestParameters, initOverrides?): Promise<ApiResponse<GetAttributes200Response>>

Retrieve attributes from multiple buckets

Parameters

NameType
requestParametersGetAttributesRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<GetAttributes200Response>>


patchAttributes

patchAttributes(requestParameters, initOverrides?): Promise<APIResponseBase>

Create new attributes or modify existing attributes for a person in one or more attribute buckets. Any existing attribute that isn\'t referenced by key in the request is left untouched. Create or modify attributes in multiple buckets

Parameters

NameType
requestParametersPatchAttributesRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<APIResponseBase>


patchAttributesBucketName

patchAttributesBucketName(requestParameters, initOverrides?): Promise<APIResponseBase>

Create new attributes or modify existing attributes for a person in a single bucket. Any existing attribute that isn\'t referenced by key in the request is left untouched. Create or modify attributes in a single bucket

Parameters

NameType
requestParametersPatchAttributesBucketNameRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<APIResponseBase>


patchAttributesBucketNameRaw

patchAttributesBucketNameRaw(requestParameters, initOverrides?): Promise<ApiResponse<APIResponseBase>>

Create new attributes or modify existing attributes for a person in a single bucket. Any existing attribute that isn\'t referenced by key in the request is left untouched. Create or modify attributes in a single bucket

Parameters

NameType
requestParametersPatchAttributesBucketNameRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<APIResponseBase>>


patchAttributesRaw

patchAttributesRaw(requestParameters, initOverrides?): Promise<ApiResponse<APIResponseBase>>

Create new attributes or modify existing attributes for a person in one or more attribute buckets. Any existing attribute that isn\'t referenced by key in the request is left untouched. Create or modify attributes in multiple buckets

Parameters

NameType
requestParametersPatchAttributesRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<APIResponseBase>>


putAttributes

putAttributes(requestParameters, initOverrides?): Promise<APIResponseBase>

Create new attributes or modify existing attributes for a person in one or more attribute buckets. Replaces the set of existing attributes with those present in the request. In other words, it deletes any existing attributes that aren\'t referenced by key in the request. Create or modify attributes in multiple buckets

Parameters

NameType
requestParametersPutAttributesRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<APIResponseBase>


putAttributesBucketName

putAttributesBucketName(requestParameters, initOverrides?): Promise<APIResponseBase>

Create new attributes or modify existing attributes for a person in a single bucket. Replaces the set of existing attributes with those present in the request. In other words, it deletes any existing attributes that aren\'t referenced by key in the request. Create or modify attributes in a single bucket

Parameters

NameType
requestParametersPutAttributesBucketNameRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<APIResponseBase>


putAttributesBucketNameRaw

putAttributesBucketNameRaw(requestParameters, initOverrides?): Promise<ApiResponse<APIResponseBase>>

Create new attributes or modify existing attributes for a person in a single bucket. Replaces the set of existing attributes with those present in the request. In other words, it deletes any existing attributes that aren\'t referenced by key in the request. Create or modify attributes in a single bucket

Parameters

NameType
requestParametersPutAttributesBucketNameRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<APIResponseBase>>


putAttributesRaw

putAttributesRaw(requestParameters, initOverrides?): Promise<ApiResponse<APIResponseBase>>

Create new attributes or modify existing attributes for a person in one or more attribute buckets. Replaces the set of existing attributes with those present in the request. In other words, it deletes any existing attributes that aren\'t referenced by key in the request. Create or modify attributes in multiple buckets

Parameters

NameType
requestParametersPutAttributesRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<APIResponseBase>>


withMiddleware

withMiddleware<T>(this, ...middlewares): T

Type parameters

NameType
Textends BaseAPI<T>

Parameters

NameType
thisT
...middlewaresMiddleware[]

Returns

T

Inherited from

BaseAPI.withMiddleware


withPostMiddleware

withPostMiddleware<T>(this, ...postMiddlewares): T

Type parameters

NameType
Textends BaseAPI<T>

Parameters

NameType
thisT
...postMiddlewares(undefined | (context: ResponseContext) => Promise<void | Response>)[]

Returns

T

Inherited from

BaseAPI.withPostMiddleware


withPreMiddleware

withPreMiddleware<T>(this, ...preMiddlewares): T

Type parameters

NameType
Textends BaseAPI<T>

Parameters

NameType
thisT
...preMiddlewares(undefined | (context: RequestContext) => Promise<void | FetchParams>)[]

Returns

T

Inherited from

BaseAPI.withPreMiddleware