Retrieve Expressions
Expressions provides all expressions of a product based on the productId, clientId and feature provided. Only English(en) language is supported currently.
GET /expressions
curl -X 'GET' \
'http://[stg.]api.bazaarvoice.com/sentiment/v1/expressions? productId=29366&feature=comfort&limit=3' \
--header‘Authorization: passKey’
-H 'accept: application/json'
'http://[stg.]api.bazaarvoice.com/sentiment/v1/expressions? productId=29366&feature=comfort&limit=3' \
--header‘Authorization: passKey’
Header | Description |
---|---|
Authorization | Passkey (API key) provided to client for authentication |
Query Parameters
Request Parameter | Description | Required |
---|---|---|
productId | Unique identifier of the product for which you want to retrieve features | Yes |
feature | Feature of a product for which expression is to be retrieved. | Yes |
limit | Number of expressions. Default value: 10 | No |
language | Language in which you want to retrieve the features. Supported Language – English (en) only | Yes |
Sample Response
{
"nativeFeature": "comfort",
"expressions": [
"comforted",
"relieved",
"tranquility"
]
}
Response Parameters
Response Field Name | Data Type | Description |
---|---|---|
nativeFeature | String | Gives the nativeFeature of a Product |
expression | Array | Gives an array of expressions for the feature of a product. |
Updated 4 months ago