Skip to content

PPR API - Add Paging of Search Results. #29739

Closed
Closed

Description

@doug-lovett

The Assets UI displays the most recent 1000 search results within the last 14 days. High volume accounts perform more than 1000 searches within this window and cannot access all their results. For example, account 5797 has performed 3084 searches within the last 14 days, and the UI limit means that the client can only see searches for the last 5 days.

Clients may create an ops ticket to request search reports that are not available with the UI. Example OPs ticket https://sbc-registries.atlassian.net/browse/ITOPS-191586 is a request for 42 reports.

Adding results paging as an API and UI change will resolve this problem. Clients can then view all results for searches created within the last 14 days.

Note: the UI calls the PPR API for search history of both MHR and PPR.

Developer Notes:
Start page number is 1. Default if no pageNumber request parameter is 1.
The page size is 1000. Specifying the next page when there are no more results will return an empty list.
The first item in the list if results exist contains the total history count for the account as property searchHistoryTotal.

Activity

  1. changed the title [-]Assets UI - Add Paging of Search Results.[/-] [+]PPR API - Add Paging of Search Results.[/+] on Jul 28, 2025
  2. self-assigned this
    on Jul 28, 2025
  3. chdivyareddy commented on Jul 30, 2025

    @chdivyareddy
    Collaborator

    Hey @doug-lovett , Can you please help me in verifying this scenario, I'm not sure how this can be verified. Do we have an account in DEV/TEST where the search history table contains more than 1000 results? Thanks!

  4. doug-lovett commented on Jul 30, 2025

    @doug-lovett
    CollaboratorAuthor

    @chdivyareddy sorry there are no accounts with > 1000 search results within the last 14 days in DEV and TEST. You can verify:

    • the results without pageNumber and with pageNumber=1 are identical
    • A request with pageNumber=2 or more will return an empty list []
  5. chdivyareddy commented on Jul 30, 2025

    @chdivyareddy
    Collaborator

    Thanks @doug-lovett !

    Verified in DEV!

    image.png

    image.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions