Hello,
"I was using version 234.0.0.0 - in 236.0.0.0, the pageNumber field is now present."
Indeed. The pageNumber query parameter has just been added to the GET /api/v2/speechandtextanalytics/topics contract and was released over the week-end. The last version of the Java SDK (also released over the week-end) now supports it as well.
"However, the listing object still does not implement PagedResource."
Please open a ticket with Customer Care to request support (addition) of pageNumber or previousUri in the response to GET /api/v2/speechandtextanalytics/topics
The TopicsEntityListing is currently not considered as a PagedResource by our SDK builder as the response provided by GET /api/v2/speechandtextanalytics/topics (i.e. TopicsEntityListing) does not have a pageNumber or previousUri property.
Regards,
------------------------------
Jerome Saint-Marc
Senior Development Support Engineer
------------------------------
Original Message:
Sent: 11-03-2025 10:22
From: Stéphane Labrune
Subject: Problems with Topics in SDK Java
I've detected an issue with the Java SDK regarding the topics.
When I try to retrieve the topics, I use the object GetSpeechandtextanalyticsTopicsRequest.
However, this object does not have a setPageNumber method, unlike most other request objects.
Yet, this parameter does exist in the API: /api/v2/speechandtextanalytics/topics.
Upon closer inspection of the SDK, the issue also appears in the TopicsEntityListing object:
this object does not implement PagedResource.
Could you please confirm these issues? And if so, could you report them to the development team?
Thank you in advance.
Edit :
I was using version 234.0.0.0 - in 236.0.0.0, the pageNumber field is now present.
However, the listing object still does not implement PagedResource.
#PlatformSDK
------------------------------
Stéphane Labrune
NA
------------------------------