Skip to main content
Patrick-antegma
Level 5
Aug 2, 2021 7:12 AM UTC
Solved

How do I get the file extension or mimetype of a document via API?

Hi,

‚

I'm searching for a way to get the mimetype of a document uploaded to a task or project via the REST API.

‚

When I'm using the endpoint "/docu/search", we're getting only the name without the file extension.

‚

https://developer.workfront.com/documents.html#get-/docu/search

‚

Is there a way to get the file extension or mimetype of a document via API?

Thanks

Patrick

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Doug_Den_Hoed_AtAppStore
Doug_Den_Hoed_AtAppStoreAccepted solution
Community Advisor
Aug 2, 2021 1:41 PM UTC

Hi Patrick,

You’ll find the file extension property one level down, on the Document Version object.

Regards,

Doug

Learn more at www.atappstore.com, email doug.denhoed@atappstore.com, or tag me here @Doug_Den_Hoed_AtAppStore.

2 replies

Doug_Den_Hoed_AtAppStore
Community Advisor
Doug_Den_Hoed_AtAppStoreCommunity AdvisorAccepted solution
Community Advisor
Aug 2, 2021 1:41 PM UTC

Hi Patrick,

You’ll find the file extension property one level down, on the Document Version object.

Regards,

Doug

Translate
Learn more at www.atappstore.com, email doug.denhoed@atappstore.com, or tag me here @Doug_Den_Hoed_AtAppStore.
Patrick-antegma
Level 5
Aug 3, 2021 2:07 PM UTC

Hi Doug,

Thanks for the information!

‚ Regards,

Patrick

Translate
Patrick Heinzelmann | 11x Adobe certified | I blog on https://www.antegma.com/en/blog/