curl --request POST \
--url https://api.example.com/public/news/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"publicSessionToken": "<string>",
"searchText": "<string>",
"languageID": 1,
"newsDomainID": null,
"daysAgo": 30,
"constrainToHasGenerationEvent": null,
"page": 1,
"pageSize": 150
}
'{
"success": true,
"data": "<unknown>"
}public Search a list of news articles.
curl --request POST \
--url https://api.example.com/public/news/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"publicSessionToken": "<string>",
"searchText": "<string>",
"languageID": 1,
"newsDomainID": null,
"daysAgo": 30,
"constrainToHasGenerationEvent": null,
"page": 1,
"pageSize": 150
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.