About this endpoint
What it does
Analyzes submitted text using the requested syntax-analysis service and returns a JSON object with a data object. For this schema, the supported request service is google, and the response may include a google object inside data.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| text | String | Yes | The text to analyze. |
| Object | No | Google-specific options. The schema defines key and google_language inside this object. | |
| google.key | String | No | Google API key. |
| google.google_language | String | No | Google language code. |
| encoding | String | Yes | Text encoding. |
| language | String | No | Language code for the text. |
| requested_service | ENUM | Yes | The requested service. Allowed value: google. |
Response
Returns a JSON object with a data object field. When requested_service is google, data may contain a google object.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | Yes | Response wrapper object. |
| data.google | Object | No | Present when requested_service is google. This object can contain additional properties. |