For the complete documentation index, see llms.txt. This page is also available as Markdown.

Contextual Entities

Operations related to Contextual Entities, the named entities identified within content for contextual analysis.

Get a contextual targeting entity

get
/communities/{community_id}/contextual/entities/{entity_id}
Path parameters
community_idstringRequired

Entities are linked to a channel that are linked to a datamart. You can look for all the entities of any datamart within the community.

entity_idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/communities/{community_id}/contextual/entities/{entity_id}
GET /v1/communities/{community_id}/contextual/entities/{entity_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "last_30_days_page_views": 0,
    "wikidata_id": "text",
    "name": "text",
    "type": "text",
    "url_count": 0,
    "id": "text"
  }
}

List existing contextual targeting entities

get
/communities/{community_id}/contextual/entities
Path parameters
community_idstringRequired

Entities are linked to a channel that are linked to a datamart. You can look for all the entities of any datamart within the community.

Query parameters
keywordsstringOptional

Word contained in the entitiy name

first_resultinteger · int32Optional

Offset from which the search must be performed

max_resultsinteger · int32Optional

Number of maximum items that shall be return by this search

Responses
200

Success !

application/json
countintegerRequired
first_resultintegerRequired
max_resultsintegerRequired
statusstring · enumRequiredPossible values:
totalintegerRequired
get/communities/{community_id}/contextual/entities
GET /v1/communities/{community_id}/contextual/entities HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "count": 1,
  "first_result": 1,
  "data": [
    {
      "last_30_days_page_views": 0,
      "wikidata_id": "text",
      "name": "text",
      "type": "text",
      "url_count": 0,
      "id": "text"
    }
  ],
  "max_results": 1,
  "status": "ok",
  "total": 1
}

Last updated

Was this helpful?