Asset API not retrieving file

JackNeatABTest
Shopify Partner
11 1 3

I'm having a problem retrieving a specific file through the asset API. The code is very simple

 

return $this->client->call('GET', "/admin/themes/$themeId/assets.json?asset[key]=config/settings_data.json");

 

 This used to work, but for the last few days has been returning a list of all assets. I verified that the access scopes are correct, and I made other calls to the asset API (put and delete) and those were successful. 

0 Likes
JackNeatABTest
Shopify Partner
11 1 3

Hi, just following up on this to see if anyone else is having a similar issue? I'm still not able to make this work at all and wondering if it's a bug in the API. If I can provide more information, please let me know. 

0 Likes