Patchwork REST API version setting?

Siddhesh Poyarekar siddhesh@gotplt.org
Thu May 7 05:35:48 GMT 2020


On 06/05/20 22:20, Carlos O'Donell wrote:
> The api URL works:
> https://patchwork.sourceware.org/api
> 
> But there doesn't appear to be support for a version number?
> 
> Is this something you've seen when configuring?
> 
> I bet what they want is for the configuration to follow some best practice for redirecting
> the api url to an api version URL to allow for multiple versions in the future?
> 

I couldn't spot any configuration for it, but I did glean from the
patchwork sources that the allowed versions are 1.0, 1.1 and 1.2.  So
this should work:

https://patchwork.sourceware.org/api/1.2

Siddhesh


More information about the Libc-alpha mailing list