Download File

This request returns a file from a configurator.

Endpoints

  •   GET /configurators/{configuratorID}/files/{subDir}/{fileName}

Remark

The path to a file should start with "configurator" or "renderer". These main directories are used for the CAD system and the renderer respectively.

Example request


 GET https://api.paramate.trinckle.com/configurators/2ab584fe-7e76-470f-8571-cb07cd8a58d2/files/configurator/models/frame.stl
 -H Authorization: Bearer eyJhbGciOiJIUzI1Ni ... 3H8gC1k2DIKNEeJpb72yvmdY

 

Example response


 HTTP/1.1 200 OK
 [raw file data]
 

Header

Authorization

Bearer {token} (User authorization needed)

Url

configuratorID

The ID of the configurator

subDir

The path to the directory of the file

fileName

The name of the file

Response

The file data

See also

  • admin_configurators_files_put