Jellyfin Forum
Retrieve file path using the API - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Retrieve file path using the API (/t-retrieve-file-path-using-the-api)



Retrieve file path using the API - Facundo Batista - 2023-12-07

Hello!

I'm accessing the Jellyfin API as documented [here](https://api.jellyfin.org/), and I already have an Item described with a lot of information (using /Items).

But I'm missing there the original file path. In other words, the path in disk that is source for that Item.

How can I retrieve it?

Thanks!


RE: Retrieve file path using the API - mcarlton00 - 2023-12-08

If you're doing everything as url parameters, you need to include '&fields=path' to your request. For example:

http://{your_server}:8096/Users/{user_id}/Items?Recursive=true&ParentId={library_id}&fields=Path


RE: Retrieve file path using the API - Facundo Batista - 2023-12-08

Wonderful,thanks!