I haven't gotten this plugin to work and I don't know what question to ask yet.
That aside, I was just looking at the code and noticed that you've got /admin/assets.json hard-coded but no comments and I'm trying to understand what it's purpose is.
From a RESTful perspective I would expect that I PUT /templates/something.liquid to replace that file and DELETE /templates/something.liquid to destroy it. Yet it seems that you're using query parameters to specify a file?
Can you enlighten me as to what's going on? Possibly point me to the right docs on shopify?
I haven't gotten this plugin to work and I don't know what question to ask yet.
That aside, I was just looking at the code and noticed that you've got
/admin/assets.json
hard-coded but no comments and I'm trying to understand what it's purpose is.From a RESTful perspective I would expect that I PUT
/templates/something.liquid
to replace that file and DELETE/templates/something.liquid
to destroy it. Yet it seems that you're using query parameters to specify a file?Can you enlighten me as to what's going on? Possibly point me to the right docs on shopify?