Can not use v6 RPC API

  • I have described the bug in complete detail in the Description section.
  • I have specified steps in the Reproduction section.
  • I have included any logs related to the bug in the Logs section.
  • I have included the versions which are affected in the Version(s) section.

Description

According to the documentation, v6 API is exposed. But if I request to 'https://aur.archlinux.org/rpc?v=6&type=search&arg="cookie milk"', I got an error message like this "Invalid version specified". It seems that v6 API was available with PHP implementation. But it seems to be unusable from this commit.

Thanks!

Reproduction

curl "https://aur.archlinux.org/rpc?v=6&type=search&arg=\"git\""

Logs

{"error":"Invalid version specified.","resultcount":0,"results":[],"type":"error","version":6}

Edited by Hirokazu Hata