curl --request POST \
--url https://api.example.com/public/news/entity/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"publicSessionToken": "<string>",
"searchText": null,
"languageID": 1,
"entityTypeID": null,
"constrainToHasGenerationEvent": null,
"page": 1,
"pageSize": 150
}
'{
"success": true,
"data": "<unknown>"
}public Search news entities by entity type and ID. This includes specifically any or all of: news keywords, news topics, news persons, news companies, news entities, news categories.
curl --request POST \
--url https://api.example.com/public/news/entity/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"publicSessionToken": "<string>",
"searchText": null,
"languageID": 1,
"entityTypeID": null,
"constrainToHasGenerationEvent": null,
"page": 1,
"pageSize": 150
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.
This is limited to only the news related entity types. Which are: 35 NEWSKEYWORD 36 NEWSTOPIC 37 NEWSCATEGORY 38 NEWSENTITY 39 NEWSPERSON 40 NEWSCOMPANY