General info

URL

https://laser-pricing.smidyo.com/v1/analyze/

Method

POST

Body

JSON

Headers

Authorization Your access token, in this format "Bearer <token>"

Parameters

fileUrl Required, if cc_fileis not provided A URL to the vector file to be analyzed.
cc_file Required, if fileUrlis not provided Only for use with ConvertCalculator. Provide the variable from the File Upload element to this parameter.

Returns

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_fileis used as a parameter. Contains a ConvertCalculator variable that can be used in a selection element to show the available colors in the drawing.