API Reference

See swagger Swagger documentation for more technical info. Note that unfortunatelly, the Swagger version of the NLP response is not correct. Use the information in this reference documentation instead.

Functions

Endpoint

Type

Request

200 Result

Description

NLP Controller

Semantic analysis of articles

/v2/nlp/analyze

POST

NlpRequest

Analysis (same as G3 response)

Semantic analysis of an article returning tags, entities, sentiment, etc.

/v2/nlp/analyze/feedback

POST

AnalyzeFeedback

Feedback on a particular analysis.

Knowledgebase Controller

Endpoints returning real-world information about tags and entities returned by the NLP controllers.

/v2/knowledgebase/details

POST

GkbItemsInfoRequest

Map[string, Details]

Information about tags and entities.

/v2/knowledgebase/infoboxes

POST

GkbItemsInfoRequest

Map[string, LangValueInfoBox]

Information about tags and entities optimized for UI display.

/v2/knowledgebase/redirects

POST

GkbItemsRedirectsRequest

List[Redirects]

Replacements for deprecated knowledge base entities.

/v2/knowledgebase/search

POST

GkbItemsSearchRequest

List[SearchResults]

Searching knowledge base for entities.

/v2/knowledgebase/stdforms

POST

GkbItemsStdFormRequest

Map[string, LangValueString]

Standard forms of tags and entities in a particular language.

Matcher Controller

Endpoints recommending relevant articles and photos for articles.

/v2/photos

GET

Supported photo banks.

/v2/photos/{dataset}/recommend

POST

PhotosRequest

PhotosRecommendation

Recommend photos for an article.

/v2/photos/{dataset}/recommend/feedback

POST

RecommendFeedback

Feedback on a particular recommendation.