HWBOT
  1. HWBOT
  2. HWBOT-893

HWBOT API: JSON/XML for submissions

    Details

    • Type: Story Story
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: hwbot v5, hwbot v5.3.0
    • Labels:
      None

      Activity

      Hide
      Dennis Devriendt added a comment -
      old Pieter-Jan comment (some things are changed already):
      As requested by the community in this thread: http://hwbot.org/forum/showthread.php?t=26851.

      Can we update sizing based on this information?

      "You can have several APIs:

      Benchmark results api
      User data api
      Team data api
      Competition data api

      In terms of the benchmark api, the following tags I would like available and to filter:

      User
      Benchmark
      2D/3D
      Team
      Country
      Hardware name
      Hardware Type (CPU/GPU)
      Number of cores/GPUs

      Output data should be all the benchmark results that qualify. You can have a flag for the level of detail required in each output - so output=min for minimum, output=reg for regular, output=full for full, default as minimin. So the full output of each benchmark result should have the following data:

      Name
      Team
      Country
      Hardware (CPU, GPU, motherboard, mem, details, counts)
      Score
      Position
      Points (HW, Global, WR)
      Direct Link to result
      Direct Link to pictures

      I'm sure I'll think of more, but along those lines."
      Show
      Dennis Devriendt added a comment - old Pieter-Jan comment (some things are changed already): As requested by the community in this thread: http://hwbot.org/forum/showthread.php?t=26851 . Can we update sizing based on this information? "You can have several APIs: Benchmark results api User data api Team data api Competition data api In terms of the benchmark api, the following tags I would like available and to filter: User Benchmark 2D/3D Team Country Hardware name Hardware Type (CPU/GPU) Number of cores/GPUs Output data should be all the benchmark results that qualify. You can have a flag for the level of detail required in each output - so output=min for minimum, output=reg for regular, output=full for full, default as minimin. So the full output of each benchmark result should have the following data: Name Team Country Hardware (CPU, GPU, motherboard, mem, details, counts) Score Position Points (HW, Global, WR) Direct Link to result Direct Link to pictures I'm sure I'll think of more, but along those lines."
      Hide
      Frederik Colardyn added a comment -
      Documenting the API will be more work than implementing itself. Please document all fields that make sense from SearchSubmissionsForm, and use this as a @modelattribute of your api method.
      Show
      Frederik Colardyn added a comment - Documenting the API will be more work than implementing itself. Please document all fields that make sense from SearchSubmissionsForm, and use this as a @modelattribute of your api method.
      Hide
      Build Server added a comment -
      Integrated in HWBOT v4 #2688 (See [http://dev.hwbot.org/job/HWBOT%20v4/2688/])
          HWBOT-893

      HWBOT API: JSON/XML for submissions

      dennis :
      Files :
      * /hwbot/trunk/src/main/java/org/hwbot/util/api/XmlRankingElement.java
      * /hwbot/trunk/src/main/java/org/hwbot/model/dto/GenericApiResponse.java
      * /hwbot/trunk/src/main/java/org/hwbot/util/api
      * /hwbot/trunk/src/main/java/org/hwbot/util/api/XmlHardwareElement.java
      * /hwbot/trunk/src/main/java/org/hwbot/model/dto/ApiSubmissionInfo.java
      * /hwbot/trunk/src/main/java/org/hwbot/facade/ResultFacadeImpl.java
      * /hwbot/trunk/src/main/java/org/hwbot/facade/ResultFacade.java
      * /hwbot/trunk/src/main/java/org/hwbot/web/actions/ApiController.java
      * /hwbot/trunk/src/main/java/org/hwbot/util/api/XmlNameElementWithIdAttribute.java
      Show
      Build Server added a comment - Integrated in HWBOT v4 #2688 (See [ http://dev.hwbot.org/job/HWBOT%20v4/2688/ ])      HWBOT-893 HWBOT API: JSON/XML for submissions dennis : Files : * /hwbot/trunk/src/main/java/org/hwbot/util/api/XmlRankingElement.java * /hwbot/trunk/src/main/java/org/hwbot/model/dto/GenericApiResponse.java * /hwbot/trunk/src/main/java/org/hwbot/util/api * /hwbot/trunk/src/main/java/org/hwbot/util/api/XmlHardwareElement.java * /hwbot/trunk/src/main/java/org/hwbot/model/dto/ApiSubmissionInfo.java * /hwbot/trunk/src/main/java/org/hwbot/facade/ResultFacadeImpl.java * /hwbot/trunk/src/main/java/org/hwbot/facade/ResultFacade.java * /hwbot/trunk/src/main/java/org/hwbot/web/actions/ApiController.java * /hwbot/trunk/src/main/java/org/hwbot/util/api/XmlNameElementWithIdAttribute.java
      Hide
      Build Server added a comment -
      Integrated in HWBOT v4 #2689 (See [http://dev.hwbot.org/job/HWBOT%20v4/2689/])
          HWBOT-893

      HWBOT API: JSON/XML for submissions

      dennis :
      Files :
      * /hwbot/trunk/src/main/java/org/hwbot/model/dto/GenericApiResponse.java
      * /hwbot/trunk/src/main/java/org/hwbot/util/api/XmlHardwareElement.java
      * /hwbot/trunk/src/main/java/org/hwbot/model/dto/ApiSubmissionInfo.java
      Show
      Build Server added a comment - Integrated in HWBOT v4 #2689 (See [ http://dev.hwbot.org/job/HWBOT%20v4/2689/ ])      HWBOT-893 HWBOT API: JSON/XML for submissions dennis : Files : * /hwbot/trunk/src/main/java/org/hwbot/model/dto/GenericApiResponse.java * /hwbot/trunk/src/main/java/org/hwbot/util/api/XmlHardwareElement.java * /hwbot/trunk/src/main/java/org/hwbot/model/dto/ApiSubmissionInfo.java
      Hide
      Build Server added a comment -
      Integrated in HWBOT v4 #2712 (See [http://dev.hwbot.org/job/HWBOT%20v4/2712/])
          HWBOT-893

      HWBOT API: JSON/XML for submissions

      dennis :
      Files :
      * /hwbot/trunk/src/main/java/org/hwbot/util/api/XmlHardwareElement.java
      * /hwbot/trunk/src/main/java/org/hwbot/facade/CompetitionFacadeImpl.java
      * /hwbot/trunk/src/main/java/org/hwbot/model/dto/ApiSubmissionInfo.java
      * /hwbot/trunk/src/main/java/org/hwbot/facade/ResultFacadeImpl.java
      * /hwbot/trunk/src/main/java/org/hwbot/web/actions/ApiController.java
      * /hwbot/trunk/src/main/java/org/hwbot/facade/SearchSubmissionsForm.java
      Show
      Build Server added a comment - Integrated in HWBOT v4 #2712 (See [ http://dev.hwbot.org/job/HWBOT%20v4/2712/ ])      HWBOT-893 HWBOT API: JSON/XML for submissions dennis : Files : * /hwbot/trunk/src/main/java/org/hwbot/util/api/XmlHardwareElement.java * /hwbot/trunk/src/main/java/org/hwbot/facade/CompetitionFacadeImpl.java * /hwbot/trunk/src/main/java/org/hwbot/model/dto/ApiSubmissionInfo.java * /hwbot/trunk/src/main/java/org/hwbot/facade/ResultFacadeImpl.java * /hwbot/trunk/src/main/java/org/hwbot/web/actions/ApiController.java * /hwbot/trunk/src/main/java/org/hwbot/facade/SearchSubmissionsForm.java

        People

        • Assignee:
          Dennis Devriendt
          Reporter:
          Frederik Colardyn
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: