Download File

This request returns a file from a configurator.

Endpoints

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

Url

configuratorID

The ID of the configurator

subDir

The path to the directory of the file

fileName

The name of the file

Header

Authorization

Bearer {token} (User authorization needed)

Response

The file data

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

 

Output


 HTTP/1.1 200 OK
 [raw file data]
 

See also

  • admin_configurators_files_put