URL
https://laser-pricing.smidyo.com/v1/analyze/
Method
POST
Body
JSON
Authorization |
Your access token, in this format "Bearer <token>" |
---|
fileUrl |
Required, if cc_file is not provided |
A URL to the vector file to be analyzed. |
---|---|---|
cc_file |
Required, if fileUrl is not provided |
Only for use with ConvertCalculator. Provide the variable from the File Upload element to this parameter. |
success |
Either true or false , depending on whether the analyzing was successful or not. If it is not successful, it is not counted towards your subscription quota. |
---|---|
fileId |
A handle for the uploaded file, to be used later for /estimate. |
fileName |
The file’s original filename. |
originalFile |
A temporary URL to the original file. |
width |
The drawing’s width in millimeters. |
height |
The drawing’s height in millimeters. |
previewSvg |
A temporary URL to a preview image. |
colors |
An array of the colors (stroke & fill) in the drawing, used to select operations for the /estimate endpoint. |
cc_colorTable |
Only returned if cc_file is used as a parameter. Contains a ConvertCalculator variable that can be used in a selection element to show the available colors in the drawing. |