Poq.SDK.Node

Home > @poq/sdk > AccountClient > getMyAccountContentBlocks

AccountClient.getMyAccountContentBlocks() method

Method helps to retrieve personal content blocks.

Signature:

getMyAccountContentBlocks(appId: number, platform: string): Promise<PoqResponse<ContentBlockResponse[]>>;

Parameters

Parameter Type Description
appId number The unique integer app identifier.
platform string Platform identifier, gives working platform info such as Ios/Android or, etc.

Returns:

Promise<PoqResponse<ContentBlockResponse[]>>

List of personal content block.

Remarks

Method is used to provide content for MyAccount View. This method works with appId of integer type. Such identifier exists to provide backward compatibility.