In Cassandra I can see that there is a title_cache entry for Helen_Alford on enwiki
aqsloader@cqlsh:image_suggestions> select * from title_cache where wiki='enwiki' and title='Helen_Alford'; wiki | title | page_id | page_rev --------+--------------+----------+------------ enwiki | Helen_Alford | 69520037 | 1084422451 (1 rows)
Calling the title_cache endpoint for the page, however, returns nothing
curl https://image-suggestion.discovery.wmnet:30443/private/image_suggestions/title_cache/enwiki/Helen_Alford {"rows": []}
It's the same if I query by page_id
curl https://image-suggestion.discovery.wmnet:30443/private/image_suggestions/title_cache/enwiki/69520037 {"rows": []} `
Note also that I think the documentation at https://www.mediawiki.org/wiki/Platform_Engineering_Team/Data_Value_Stream/Data_Gateway#Title_(cache) is incorrect - my understanding was that the title_cache endpoint was to allow a client to retrieve a page id for a title, not the other way around (and that seems to be the way the cassandra table is set up according to T293808). I'd be bold and change the docs myself, but I want to be sure