params |
Object
|
The parameters to call the service
Properties
| Name |
Type |
Attributes |
Default |
Description |
headers |
Object
|
<optional>
|
|
The header parameters.
Properties
| Name |
Type |
Attributes |
Default |
Description |
accept-language |
string
|
<optional>
|
en
|
The desired language of the response: ar (Arabic), en (English), es (Spanish), or ja (Japanese). |
content-type |
string
|
<optional>
|
text/plain
|
The content type of the request: text/plain (the default), text/html, or application/json. |
content-language |
string
|
<optional>
|
en
|
The language of the input text for the request: ar (Arabic), en (English), es (Spanish), or ja (Japanese) |
accept |
string
|
<optional>
|
application/json
|
The desired content type of the response: application/json (the default) or text/csv |
|
text |
string
|
<optional>
|
|
The text to analyze. |
content_items |
Object
|
<optional>
|
|
A JSON input (if 'text' not provided). |
raw_scores |
boolean
|
<optional>
|
false
|
include raw results. |
consumption_preferences |
boolean
|
<optional>
|
true
|
If true, information about consumption preferences is returned with the results. |
|