ArticleRequest

Article request encapsulation for the media API.

The API is intended for analysis of typical newspapers articles, not books. The API will reject any request larger than 500 KB. However, even analysis of smaller documents might time-out if they contain many entities.

Fields

Property

Required

Type

Description

id

True

string

Unique ID of the article

title

False

string

The title of the article in plain-text

perex

False

string

The perex (or abstract) of the article in plain-text

body

False

string

The main body of the article in HTML format

domicile

False

string

A domicile indicating the origin location of the article

url

False

string

URL of the article

imageUrl

False

string

URL of the main image for the article

date

False

string

Publication date and time for the article in ISO format

domain

False

string

The source domain from which the article originates. Possible values are customer specific, e.g. sport or business

categories

False

List[string]

A list of categories into which the article belongs. Possible values are customer specific, e.g. football, finance or travel

manualTags

False

List[Tag]

Tags manually selected for the article

recommendation

False

Recommendation

Recommendation info for the article