Currently I am trying to work with the GraphQL Admin API to upload a custom 3D Model to a test development store. Documentation Here
I am having trouble understanding the correct formatted curl request where you upload the asset. There is examples for uploading a Video as well as an image, however there is no example in that section for uploading a 3D Model. Upload the asset documentation
So far in regards to the tutorial I have:
- Created a development store enabled with "developer preview"
- Generated the upload URL and parameters using the "generateStagedUploads" mutation example below:
With the included variable describing my 3D Model I am staging, example below:
- This returned me a response like below:
The part where I am stuck on is how to format the above response into a curl request to upload my asset. In the documentation there is examples of how to do this for a video or image which make total sense based on their respective responses from the first step. However I am wondering how to make that in the case for a 3D Model?
The example on the docs for a video is below: