We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MostPopularAgent
We noticed in:
most-read.json?_edition=EUR&dcr=true
that the CAPI queries made by the MostPopularAgent for all the editions are redirected by CAPI. For example,
https://content.guardianapis.com?show-most-viewed=true&show-elements=all&show-atoms=media&edition=UK&show-rights=syndicatable&show-references=pa-football-competition,pa-football-team,witness-assignment,esa-cricket-match&show-section=true&show-packages=true&show-fields=byline,headline,trail-text,liveBloggingNow,thumbnail,hasStoryPackage,wordcount,shortUrl,commentable,commentCloseDate,starRating,productionOffice&show-tags=all
gets redirected to:
https://content.guardianapis.com/uk?show-most-viewed=true&show-elements=all&show-atoms=media&show-rights=syndicatable&show-section=true&show-packages=true&show-fields=byline,headline,trail-text,liveBloggingNow,thumbnail,hasStoryPackage,wordcount,shortUrl,commentable,commentCloseDate,starRating,productionOffice&show-tags=all&show-references=pa-football-competition,pa-football-team,witness-assignment,esa-cricket-match
This ticket is to replace the redirected queries with the ones that CAPI expects.
MostPopularAgent calls these queries in its refresh method.
refresh
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We noticed in:
most-read.json?_edition=EUR&dcr=true
endpoint dotcom-rendering#9553that the CAPI queries made by the
MostPopularAgent
for all the editions are redirected by CAPI. For example,https://content.guardianapis.com?show-most-viewed=true&show-elements=all&show-atoms=media&edition=UK&show-rights=syndicatable&show-references=pa-football-competition,pa-football-team,witness-assignment,esa-cricket-match&show-section=true&show-packages=true&show-fields=byline,headline,trail-text,liveBloggingNow,thumbnail,hasStoryPackage,wordcount,shortUrl,commentable,commentCloseDate,starRating,productionOffice&show-tags=all
gets redirected to:
https://content.guardianapis.com/uk?show-most-viewed=true&show-elements=all&show-atoms=media&show-rights=syndicatable&show-section=true&show-packages=true&show-fields=byline,headline,trail-text,liveBloggingNow,thumbnail,hasStoryPackage,wordcount,shortUrl,commentable,commentCloseDate,starRating,productionOffice&show-tags=all&show-references=pa-football-competition,pa-football-team,witness-assignment,esa-cricket-match
This ticket is to replace the redirected queries with the ones that CAPI expects.
MostPopularAgent
calls these queries in itsrefresh
method.The text was updated successfully, but these errors were encountered: