none
RESTful API, Get Jobs List, Pagination RRS feed

  • Question

  • We are writing a web based service in Java that interfaces between our own software and Microsoft HPC. We are using the RESTful API for Microsoft HPC 2016 Update 3. We would like to enable our clients to view the job list in a paginated view. Unfortunately the RESTful Get Jobs List API does not appear to allow you to get the total job count (so we can know how many pages there are), nor allow you to skip records. Are there any suggestions on how to work around this?
    Friday, December 20, 2019 5:15 PM

All replies

  • Hi Phoenix,

    Unfortunately HPC Pack REST API doesn't support pagination for now. You have to apply a "scroll to load" style UI for displaying list of jobs/tasks/nodes, using the HPC Pack REST API. 

    However, we value your feedback and are going to investigate the problem. We are going to support it if possible.

    Thursday, December 26, 2019 3:03 AM
  • However, we value your feedback and are going to investigate the problem. We are going to support it if possible.

    Thank you for the reply! Support would be much appreciated!

    Monday, December 30, 2019 1:00 PM