cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Retrieve uploaded files names API

fsiviero
7-Bedrock

Retrieve uploaded files names API

Hello.

I'm currently doing a small display of a Thing's information and I was wondering if there is an API endpoint to retrieve all the uploaded files names associated with a specific thing. I've seen how to upload and download files but I just wanted to check for repositories and display the names.

Is there any way to do this?

Thank you in advance for your time.

ACCEPTED SOLUTION

Accepted Solutions

You should look at FileRepository Thing services where you added the files, there you have plenty of services to retrieve files on the repository.

View solution in original post

2 REPLIES 2

You should look at FileRepository Thing services where you added the files, there you have plenty of services to retrieve files on the repository.

I used the serviceDefinitions endpoint to see what services I can use. I'll read more into this but as I see it you can't say "This file belongs to X thing".

Thank you for your answer anyway, I completely forgot I could fetch all the services for any thing like that.

Announcements


Top Tags