Skip to content

Get Custom Part Resources

Request

Retrieves URLs for resources/files attached to the custom part specification. URL to retrieve the actual file is only valid temporarily. You need to call this endpoint again to get a new valid URL after some time.

Security
BearerAuth
Path
idstringrequired

ID of the custom part specification whose resources should be retrieved.

Headers
Acceptstring(CustomPartResourceAcceptHeader)required

Set this to application/api.luminovo.custom-part-resource-v1+json. The legacy value application/api.luminovo.resource-v1+json is also accepted for backward compatibility.

Value:"application/api.luminovo.custom-part-resource-v1+json"
GET
/custom-parts/{id}/resources
curl -i -X GET \
  'https://api.luminovo.com/custom-parts/{id}/resources' \
  -H 'Accept: application/api.luminovo.custom-part-resource-v1+json' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

File URL response.

Bodyapplication/json
urlsArray of stringsrequired
Response
{ "urls": [ "string" ] }