Analyse content
Analyze the content provided with the request.
- application/json
Request Body required
html object
The html fragment or html page to analyze.
fragment string requiredpage string required- url url required
- urlClient string required
Possible values: [
CHROME
,PLAIN_HTTP
,CHROME, PLAIN_HTTP
] - language string required
Possible values:
>= 2 characters
and<= 2 characters
- text string required
- exclude url[] required
- scope string required
- matches int32 required
- links string required
Responses
- 200
- 401
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
entities object
A map of entity URI to the respective entity.
property name*
objectannotations object
A map of annotation id to the respective annotation.
property name*
objectimages object[]
A list of images.
label string requiredurl url required- languages string[] required
topics object[]
A list of topics.
label string requireddescription string requireduri url requiredconfidence double requiredimages url[] requiredsameAs url[] required- content string required
{
"entities": {},
"annotations": {},
"images": [
{
"label": "string",
"url": "string"
}
],
"languages": [
"string"
],
"topics": [
{
"label": "string",
"description": "string",
"uri": "string",
"confidence": 0,
"images": [
"string"
],
"sameAs": [
"string"
]
}
],
"content": "string"
}
Authentication Failure
Server Error
Loading...