/api/v1/snaps/purchases/orders returning too much stuff
Bug #1795833 reported by
John Lenton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Store Server |
Fix Released
|
High
|
Matias Bordese |
Bug Description
When the search endpoint returns snaps that are marked as priced, snapd hits the orders endpoint /api/v1/
This is the request snapd does:
GET /api/v1/
Host: api.snapcraft.io
User-Agent: snapd/2.3... (series 16; classic) ubuntu/16.04 (amd64) linux/4....
Accept: application/json
Authorization: Macaroon root=\"...\", discharge=\"...\"
X-Device-
X-Ubuntu-
X-Ubuntu-Classic: true
X-Ubuntu-Series: 16
X-Ubuntu-
Accept-Encoding: gzip
I'll attach the response I get back, four seconds (!) later.
Changed in snapstore: | |
status: | Triaged → In Progress |
assignee: | nobody → Matias Bordese (matiasb) |
Changed in snapstore: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
John's the worst case scenario for this API, having substantially more ClickPackageSub scriptions than anyone else: https:/ /pastebin. canonical. com/p/6BmzpwMpp B/