Expand my Community achievements bar.

The next phase for Workfront Community ideas is coming soon. Learn all about it in our blog!
SOLVED

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

Avatar

Level 2

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Patrick,

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

Regards,

Doug

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi Patrick,

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

Regards,

Doug