Jump to content
HWBOT Community Forums

Recommended Posts

Posted

I just noticed that submissions to the HWBOT via the API are now breaking because the API seems to have changed.

 

In the past, the server responds with JSON. Now it responds with XML.

 

Why did this change? And why wasn't there a notification to all the benchmark maintainers that depend on the API.

 

-----

 

Unrelated note, the version whitelisting seems to be broken. I'm no longer able to specify multiple versions to whitelist. It's either no filtering, or one version only.

  • Administrators
Posted

Hi, I anwered this partially at support thread. You might have noticed massman left and richbastard now is general manager and we upgrade revision, it might help if you contact him with pm although I created a ticket internally

Posted

Thanks. I am aware of Massman's departure and the new revision. But I thought the revision was mainly points-related and not have anything to do with the submission APIs.

 

While I *can* switch y-cruncher's HWBOT submitter to handle the new XML response, it will take time. And I figured that this could be breaking more than just y-cruncher.

Posted
I found a way to mark json as primary media type, so json is returned instead of xml if you don't specify accept headers. I'm pushing the change to prod tomorrow morning.

 

Thanks! I was going to say that I currently don't set the accept header. (I actually have no idea what that even is.)

 

I'll figure out how to do it later for a future release. But it should start working again once the server-side change rolls out.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...