Skip to content

Upload Custom Part Resource

Request

Upload a file (drawing, datasheet, etc.) to a custom part specification. The file content should be sent as raw binary in the request body. Uploads are limited to 5 GiB. Uploading a file with the same sanitized filename as an existing resource replaces the existing resource.

Security
BearerAuth
Path
idstringrequired

ID of the custom part specification to upload a file to.

Query
filenamestringrequired

Name of the file being uploaded. If a resource with the sanitized filename already exists on this custom part specification, it is replaced.

Bodyapplication/octet-streamrequired
Array [
integer, (int32), >= 0
]
PUT
/custom-parts/{id}/resources
curl -i -X PUT \
  'https://api.luminovo.com/custom-parts/{id}/resources?filename=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/octet-stream' \
  -d '[
    0
  ]'

Responses

File uploaded successfully. Existing resources with the same sanitized filename are replaced.